public class DapType extends DapNode implements DapDecl
Modifier and Type | Field and Description |
---|---|
static DapType |
CHAR
Define instances of DapType for every TypeSort.
|
static DapType |
FLOAT32 |
static DapType |
FLOAT64 |
static DapType |
INT16 |
static DapType |
INT32 |
static DapType |
INT64 |
static DapType |
INT8 |
static DapType |
OPAQUE |
protected static DapDataset |
pseudoroot |
static DapType |
SEQUENCE |
static DapType |
STRING |
static DapType |
STRUCTURE |
protected TypeSort |
typesort |
static DapType |
UINT16 |
static DapType |
UINT32 |
static DapType |
UINT64 |
static DapType |
UINT8 |
static DapType |
URL |
annotations, attributes, dataset, escapedname, fqn, index, parent, shortname, sort, xmlattributes
Modifier | Constructor and Description |
---|---|
|
DapType(java.lang.String name,
TypeSort typesort) |
protected |
DapType(TypeSort typesort) |
Modifier and Type | Method and Description |
---|---|
TypeSort |
getAtomicType()
Return the lowest possible TypeSort.
|
int |
getSize() |
java.lang.String |
getTypeName() |
TypeSort |
getTypeSort() |
boolean |
isAtomic() |
boolean |
isCharType() |
boolean |
isCompound() |
boolean |
isCompoundType() |
boolean |
isEnumType() |
boolean |
isFixedSize() |
boolean |
isFloatType() |
boolean |
isIntegerType() |
boolean |
isLegalAttrType() |
boolean |
isNumericType() |
boolean |
isOpaqueType() |
boolean |
isSeqType() |
boolean |
isStringType() |
boolean |
isStructType() |
boolean |
isUnsigned() |
static DapType |
lookup(TypeSort atomic) |
protected void |
setTypeSort(TypeSort typesort) |
java.lang.Object |
vector(int n) |
java.lang.Object |
vectorget(java.lang.Object vector,
int n) |
addAttribute, addXMLAttribute, annotate, annotation, computefqn, findAttribute, getAttributes, getContainer, getContainerPath, getDataset, getEscapedShortName, getFQN, getGroup, getGroupPath, getIndex, getParent, getPath, getShortName, getSort, getXMLAttributes, isTopLevel, overrideParent, removeAttribute, removeXMLAttribute, setAttribute, setAttributes, setDataset, setIndex, setParent, setShortName, setSort, toString
public static final DapType CHAR
public static final DapType INT8
public static final DapType UINT8
public static final DapType INT16
public static final DapType UINT16
public static final DapType INT32
public static final DapType UINT32
public static final DapType INT64
public static final DapType UINT64
public static final DapType FLOAT32
public static final DapType FLOAT64
public static final DapType STRING
public static final DapType URL
public static final DapType OPAQUE
public static final DapType STRUCTURE
public static final DapType SEQUENCE
protected static final DapDataset pseudoroot
protected TypeSort typesort
protected DapType(TypeSort typesort)
public DapType(java.lang.String name, TypeSort typesort)
public TypeSort getAtomicType()
public TypeSort getTypeSort()
public java.lang.String getTypeName()
protected void setTypeSort(TypeSort typesort)
public boolean isUnsigned()
public boolean isAtomic()
public boolean isIntegerType()
public boolean isFloatType()
public boolean isNumericType()
public boolean isStringType()
public boolean isEnumType()
public boolean isCharType()
public boolean isOpaqueType()
public boolean isFixedSize()
public boolean isStructType()
public boolean isSeqType()
public boolean isCompoundType()
public boolean isLegalAttrType()
public boolean isCompound()
public int getSize()
public java.lang.Object vector(int n)
public java.lang.Object vectorget(java.lang.Object vector, int n)