| Package | Description |
|---|---|
| dap4.core.data | |
| dap4.core.dmr | |
| dap4.core.util |
| Modifier and Type | Method and Description |
|---|---|
DapType |
DataAtomic.getType()
Get the type of this atomic variable
|
| Modifier and Type | Class and Description |
|---|---|
class |
DapEnum |
| Modifier and Type | Field and Description |
|---|---|
protected DapType |
DapVariable.basetype |
protected DapType |
DapAttribute.basetype |
protected DapType |
DapEnum.basetype |
static DapType |
DapType.CHAR
Define instances of DapType for every AtomicType.
|
static DapType |
DapEnum.DEFAULTBASETYPE |
static DapType |
DapType.ENUM |
static DapType |
DapType.FLOAT32 |
static DapType |
DapType.FLOAT64 |
static DapType |
DapType.INT16 |
static DapType |
DapType.INT32 |
static DapType |
DapType.INT64 |
static DapType |
DapType.INT8 |
static DapType |
DapType.OPAQUE |
static DapType |
DapType.SEQ |
static DapType |
DapType.STRING |
static DapType |
DapType.STRUCT |
static DapType |
DapType.UINT16 |
static DapType |
DapType.UINT32 |
static DapType |
DapType.UINT64 |
static DapType |
DapType.UINT8 |
static DapType |
DapType.URL |
| Modifier and Type | Method and Description |
|---|---|
DapType |
DapVariable.getBaseType() |
DapType |
DapAttribute.getBaseType() |
DapType |
DapEnum.getBaseType() |
DapType |
DapVariable.getTrueBaseType() |
static DapType |
DapType.lookup(AtomicType atomic) |
static DapType |
DapType.reify(String typename) |
| Modifier and Type | Method and Description |
|---|---|
static Map<AtomicType,DapType> |
DapType.getTypeMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
DapVariable.setBaseType(DapType basetype) |
void |
DapAttribute.setBaseType(DapType basetype) |
void |
DapEnum.setBaseType(DapType basetype) |
| Modifier and Type | Method and Description |
|---|---|
static DapType |
Convert.upcastType(DapType basetype)
Given a DapAttribute basetype
convert it to avoid losing information.
|
| Modifier and Type | Method and Description |
|---|---|
static Object |
Convert.convert(DapType dsttype,
DapType srctype,
Object value)
Convert Object to a value consistent with the given type.
|
static double |
Convert.doubleValue(DapType srctype,
Object value)
Special case of convertValue restricted to numeric conversions
Convert numeric value to a double value
|
static Object |
Convert.fromString(String value,
DapType dsttype)
Convert string to a value consistent with the base type.
|
static int |
Convert.getJavaSize(DapType daptype) |
static long |
Convert.longValue(DapType srctype,
Object value)
Special case of convertValue restricted to integer conversions
Convert numeric value to a value consistent with the given type.
|
static String |
Convert.toString(Object value,
DapType srctype)
Convert a value to a string constant
|
static Object |
Convert.upcast(Object o,
DapType srctype)
Given an value from a DapAttribute,
convert it to avoid losing information.
|
static DapType |
Convert.upcastType(DapType basetype)
Given a DapAttribute basetype
convert it to avoid losing information.
|
Copyright © 1999-2015 UCAR/Unidata. All Rights Reserved.