public class DapStructure extends DapType
CHAR, FLOAT32, FLOAT64, INT16, INT32, INT64, INT8, OPAQUE, pseudoroot, SEQUENCE, STRING, STRUCTURE, typesort, UINT16, UINT32, UINT64, UINT8, URLannotations, attributes, dataset, escapedname, fqn, index, parent, shortname, sort, xmlattributes| Constructor and Description |
|---|
DapStructure(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addField(DapVariable newfield) |
DapVariable |
findByName(String shortname) |
DapVariable |
getField(int i) |
List<DapVariable> |
getFields() |
int |
indexByField(DapVariable target) |
int |
indexByName(String shortname) |
boolean |
isLeaf() |
getAtomicType, getSize, getTypeName, getTypeSort, isAtomic, isCharType, isCompound, isCompoundType, isEnumType, isFixedSize, isFloatType, isIntegerType, isLegalAttrType, isNumericType, isOpaqueType, isSeqType, isStringType, isStructType, isUnsigned, lookup, setTypeSort, vector, vectorgetaddAttribute, 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, toStringpublic DapStructure(String name)
public DapVariable findByName(String shortname)
public int indexByName(String shortname)
public int indexByField(DapVariable target)
public DapVariable getField(int i)
public List<DapVariable> getFields()
public boolean isLeaf()
public void addField(DapVariable newfield) throws DapException
DapException