Package dap4.core.dmr

Class DapVariable

  • All Implemented Interfaces:
    DapDecl

    public class DapVariable
    extends DapNode
    implements DapDecl
    This class represents any variable or field.
    • Constructor Detail

      • DapVariable

        public DapVariable()
      • DapVariable

        public DapVariable​(String name)
      • DapVariable

        public DapVariable​(String name,
                           DapType basetype)
    • Method Detail

      • getBaseType

        public DapType getBaseType()
      • getRank

        public int getRank()
      • getCount

        public long getCount()
      • getDimension

        public DapDimension getDimension​(int i)
      • getChecksumAttribute

        public DapAttribute getChecksumAttribute()
      • setAttributeChecksum

        public void setAttributeChecksum​(DapAttribute csum)
      • getFieldIndex

        public int getFieldIndex()
      • setFieldIndex

        public void setFieldIndex​(int index)
      • getTrueBaseType

        public DapType getTrueBaseType()
      • isLeaf

        public boolean isLeaf()
      • isAtomic

        public boolean isAtomic()
      • isEnum

        public boolean isEnum()
      • isSequence

        public boolean isSequence()
      • isStructure

        public boolean isStructure()
      • isCompound

        public boolean isCompound()