Package uk.ac.bristol.star.cdf.record
Class VariableDescriptorRecord
java.lang.Object
uk.ac.bristol.star.cdf.record.Record
uk.ac.bristol.star.cdf.record.VariableDescriptorRecord
- Direct Known Subclasses:
VariableDescriptorRecord.RVariant,VariableDescriptorRecord.ZVariant
Abstract superclass for CDF Variable Descriptor Records.
Two concrete subclasses exist for rVDRs and zVDRs.
- Since:
- 19 Jun 2013
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classField data for CDF record of type rVariable Descriptor Record.static classField data for CDF record of type zVariable Descriptor Record. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intfinal longfinal intfinal boolean[]final intfinal intfinal Stringfinal intfinal intfinal intfinal intfinal intfinal intfinal longfinal longfinal longfinal int[]final int -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the file offset at which this record's PadValue can be found.intReturns the number of bytes in the pad value.Methods inherited from class uk.ac.bristol.star.cdf.record.Record
checkEndRecord, getBuf, getContentOffset, getRecordSize, getRecordType, getRecordTypeAbbreviation, hasBit, readIntArray, readOffsetArray, toLines, warnFormat
-
Field Details
-
vdrNext
-
dataType
-
maxRec
-
vxrHead
-
vxrTail
-
flags
-
sRecords
-
rfuB
-
rfuC
-
rfuF
-
numElems
-
num
-
cprOrSprOffset
-
blockingFactor
-
name
-
zNumDims
-
zDimSizes
-
dimVarys
-
-
Method Details
-
getPadValueOffset
public long getPadValueOffset()Returns the file offset at which this record's PadValue can be found. If there is no pad value, -1 is returned.- Returns:
- pad file offset, or -1
-
getPadValueSize
public int getPadValueSize()Returns the number of bytes in the pad value. If there is no pad value, 0 is returned.- Returns:
- pad value size in bytes
-