Package | Description |
---|---|
dap4.cdm | |
dap4.cdmshared | |
dap4.core.data | |
dap4.core.dmr | |
dap4.core.util | |
dap4.dap4 | |
dap4.dap4shared | |
dap4.servlet |
Modifier and Type | Field and Description |
---|---|
protected DapType |
CDMArrayStructure.basetype |
protected DapType |
CDMArrayAtomic.basetype |
Modifier and Type | Method and Description |
---|---|
DapType |
CDMArray.getBaseType() |
DapType |
CDMArrayStructure.getBaseType() |
DapType |
CDMArraySequence.getBaseType() |
DapType |
CDMArrayAtomic.getBaseType() |
Modifier and Type | Method and Description |
---|---|
static DapType |
CDMUtil.cdmtype2daptype(DataType datatype,
boolean unsigned) |
Modifier and Type | Method and Description |
---|---|
static Object |
CDMUtil.convertVector(DapType dsttype,
DapType srctype,
Object src)
Convert an array of one type of values to another type
|
static DataType |
CDMUtil.daptype2cdmtype(DapType daptype) |
static DataType |
CDMUtil.enumtypefor(DapType dt) |
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.
|
Modifier and Type | Method and Description |
---|---|
protected String |
Dap4Print.valueString(Object value,
DapType basetype) |
Modifier and Type | Field and Description |
---|---|
protected DapType |
D4DataAtomic.basetype |
Modifier and Type | Method and Description |
---|---|
DapType |
D4DataAtomic.getType() |
Modifier and Type | Method and Description |
---|---|
protected static int |
DataCompiler.computeTypeSize(DapType daptype)
Compute the size in databuffer of the serialized form
|
static Object |
Dap4Util.convertVector(DapType dsttype,
DapType srctype,
Object src)
Convert an array of one type of values to another type
|
protected Object |
D4DataAtomic.extractObject(DapType basetype,
ByteBuffer dataset,
long index)
Extract, as an object, value from a (presumably)
atomic typed array of values; dataset position
is presumed correct.
|
protected void |
D4DataAtomic.extractObjectVector(DapType basetype,
ByteBuffer dataset,
long start,
long count,
Object vector,
long offset)
Vector version of extractObject().
|
Modifier and Type | Field and Description |
---|---|
protected DapType |
CDMDataAtomic.basetype |
Modifier and Type | Method and Description |
---|---|
DapType |
CDMDataAtomic.getType() |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
SerialWriter.encodeArray(DapType vtype,
Object values)
Encode an array of primitive values.
|
ByteBuffer |
SerialWriter.encodeObject(DapType vtype,
Object value)
Encode an array of primitive values.
|
static ByteBuffer |
SerialWriter.encodeObject(DapType vtype,
Object value,
ByteOrder order)
Encode an array of primitive values.
|
protected Object |
CDMDSP.fixvalue(Object o,
DapType datatype) |
Object |
RandomValue.nextFloat(DapType basetype) |
Object |
RandomValue.nextInteger(DapType basetype) |
Object |
RandomValue.nextValue(DapType basetype) |
Object |
FixedValue.nextValue(DapType basetype) |
abstract Object |
Value.nextValue(DapType basetype) |
void |
SerialWriter.writeArray(DapType daptype,
Object values)
Write out an array of values
|
void |
SerialWriter.writeObject(DapType daptype,
Object value)
Write out a single object
|
Copyright © 1999–2017 UCAR/Unidata. All rights reserved.