public interface IEvioStructure
Modifier and Type | Method and Description |
---|---|
byte[] |
getByteData()
Gets the raw data as an byte array, if the type as indicated by the
header is appropriate.
|
CompositeData[] |
getCompositeData()
Gets the raw data as an array of CompositeData objects, if the type as indicated
by the header is appropriate.
|
java.lang.String |
getDescription()
Get the description from the name provider (dictionary), if there is one.
|
double[] |
getDoubleData()
Gets the raw data as a double array, if the type as indicated by the
header is appropriate.
|
float[] |
getFloatData()
Gets the raw data as a float array, if the type as indicated by the
header is appropriate.
|
BaseStructureHeader |
getHeader()
Returns the header for this structure
|
int[] |
getIntData()
Gets the raw data as an integer array, if the type as indicated by the
header is appropriate.
|
long[] |
getLongData()
Gets the raw data as a long array, if the type as indicated by the
header is appropriate.
|
short[] |
getShortData()
Gets the raw data as a short array, if the type as indicated by the
header is appropriate.
|
java.lang.String[] |
getStringData()
Gets the raw data as an array of String objects, if the type as indicated by the
header is appropriate.
|
StructureType |
getStructureType()
Return the StructureType for this structure.
|
BaseStructureHeader getHeader()
BaseStructureHeader
for this structure.StructureType getStructureType()
StructureType
int[] getIntData()
null
if this makes no sense for the given type.double[] getDoubleData()
null
if this makes no sense for the given type.byte[] getByteData()
null
if this makes no sense for the given type.java.lang.String[] getStringData()
null
if this makes no sense for the given type.
(The only DataType it makes sense for is CHARSTAR8.)long[] getLongData()
null
if this makes no sense for the given type.float[] getFloatData()
null
if this makes no sense for the given type.short[] getShortData()
null
if this makes no sense for the given type.CompositeData[] getCompositeData() throws EvioException
null
if this makes no sense for the given type.EvioException
- if the data is internally inconsistentjava.lang.String getDescription()