interface for most TINE complex data types More...
Public Member Functions | |
byte[] | toByteArray () |
Active method to convert the relevant data fields of this compound data type into the underlying byte stream (data being sent). More... | |
void | toStruct () |
Active method to convert the underlying byte stream to the relevant data fields of this compound data type. More... | |
byte[] | getByteArray () |
Passive method that simple returns the reference to the underlying bytestream Used by TDataType(), TTaggedStruct, and THistoryRecord. More... | |
void | setByteArray (byte[] byteArray) |
Sets the underlying bytestream to that give Used only by the HISTORY data type for manipulating compound data types. More... | |
int | getSizeInBytes () |
Used by TDataType, TTaggedStruct and other routines. More... | |
short | getFormat () |
Used by TDataType, TTaggedStruct and other routines. More... | |
String | getTag () |
Used by TDataType, TTaggedStruct and other routines. More... | |
double | getDoubleValue () |
Used only by the THistoryRecord class in retrieving the primary double floating point value for this compound data object (if available). More... | |
int | getIntegerValue () |
Used only by the THistoryRecord class in retrieving the primary 32-bit integer value for this compound data object (if available). More... | |
String | getCsvString () |
Used by TDataType.toCsvString() to get a valid parse-able string to of the objects data contents to supply to csv files. | |
void | setFieldSeparator (String value) |
sets the field separator token used the the toString() method More... | |
interface for most TINE complex data types
byte [] de.desy.tine.types.TCompoundDataObject.getByteArray | ( | ) |
Passive method that simple returns the reference to the underlying bytestream Used by TDataType(), TTaggedStruct, and THistoryRecord.
Implemented in de.desy.tine.types.IMAGE, de.desy.tine.types.TDS, de.desy.tine.types.LNGINT, and de.desy.tine.types.DBLINT.
Referenced by de.desy.tine.dataUtils.TDataType.getData().
double de.desy.tine.types.TCompoundDataObject.getDoubleValue | ( | ) |
Used only by the THistoryRecord class in retrieving the primary double floating point value for this compound data object (if available).
If the compound data object has no double value, then a '0' is returned.
Implemented in de.desy.tine.types.IMAGE, de.desy.tine.types.LNGINT, de.desy.tine.types.TDS, and de.desy.tine.types.DBLINT.
short de.desy.tine.types.TCompoundDataObject.getFormat | ( | ) |
Used by TDataType, TTaggedStruct and other routines.
Implemented in de.desy.tine.types.IMAGE, de.desy.tine.types.TDS, de.desy.tine.types.LNGINT, and de.desy.tine.types.DBLINT.
Referenced by de.desy.tine.structUtils.TTaggedStructure.addField().
int de.desy.tine.types.TCompoundDataObject.getIntegerValue | ( | ) |
Used only by the THistoryRecord class in retrieving the primary 32-bit integer value for this compound data object (if available).
If the compound data object has no integer value, then a '0' is returned.
Implemented in de.desy.tine.types.IMAGE, de.desy.tine.types.LNGINT, de.desy.tine.types.TDS, and de.desy.tine.types.DBLINT.
int de.desy.tine.types.TCompoundDataObject.getSizeInBytes | ( | ) |
Used by TDataType, TTaggedStruct and other routines.
Implemented in de.desy.tine.types.IMAGE, de.desy.tine.types.TDS, de.desy.tine.types.LNGINT, and de.desy.tine.types.DBLINT.
Referenced by de.desy.tine.structUtils.TTaggedStructure.addField(), de.desy.tine.dataUtils.TDataType.getData(), and de.desy.tine.dataUtils.TDataType.putData().
String de.desy.tine.types.TCompoundDataObject.getTag | ( | ) |
Used by TDataType, TTaggedStruct and other routines.
Implemented in de.desy.tine.types.IMAGE, de.desy.tine.types.TDS, de.desy.tine.types.LNGINT, and de.desy.tine.types.DBLINT.
void de.desy.tine.types.TCompoundDataObject.setByteArray | ( | byte[] | byteArray | ) |
Sets the underlying bytestream to that give Used only by the HISTORY data type for manipulating compound data types.
byteArray | a new reference to an underlying bytestream |
Implemented in de.desy.tine.types.IMAGE, de.desy.tine.types.TDS, de.desy.tine.types.LNGINT, and de.desy.tine.types.DBLINT.
void de.desy.tine.types.TCompoundDataObject.setFieldSeparator | ( | String | value | ) |
sets the field separator token used the the toString() method
value |
Implemented in de.desy.tine.types.IMAGE, de.desy.tine.types.DBLINT, de.desy.tine.types.LNGINT, and de.desy.tine.types.TDS.
byte [] de.desy.tine.types.TCompoundDataObject.toByteArray | ( | ) |
Active method to convert the relevant data fields of this compound data type into the underlying byte stream (data being sent).
This primarily involves byte swapping from big-endian to little-endian. Used systematically by TDataType() and other routines.
Implemented in de.desy.tine.types.IMAGE, de.desy.tine.types.DBLINT, de.desy.tine.types.LNGINT, and de.desy.tine.types.TDS.
Referenced by de.desy.tine.dataUtils.TDataType.getData().
void de.desy.tine.types.TCompoundDataObject.toStruct | ( | ) |
Active method to convert the underlying byte stream to the relevant data fields of this compound data type.
(data being received). This primarily involved swapping from little-endian to big-endian. Used systematically by TDataType() and other routines.
Implemented in de.desy.tine.types.IMAGE, de.desy.tine.types.DBLINT, de.desy.tine.types.TDS, and de.desy.tine.types.LNGINT.
Referenced by de.desy.tine.dataUtils.TDataType.getData().