|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEvioStructure
This interface is implemented by classes representing the basic evio structures: banks, segments, and tagsegments. Note there is not "getNum" methods, because not all structures have num fields in their header, only BANKs do.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |