java.lang.Object
org.yamcs.xtce.DataEncoding
org.yamcs.xtce.FloatDataEncoding
- All Implemented Interfaces:
Serializable
For common encodings of floating point data.
Unlike XTCE we support encoding floats as strings - this is done by providing a separate StringDataEncoding
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum -
Field Summary
Fields inherited from class org.yamcs.xtce.DataEncoding
contextCalibratorList, defaultCalibrator, fromBinaryTransformAlgorithm, sizeInBits, toBinaryTransformAlgorithm -
Constructor Summary
ConstructorsConstructorDescriptioncopy constructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()Create a shallow copy of the data encodingparseString(String stringValue) parses the string into a java object of the correct type Has to match the DataEncodingDecoder (so probably it should be moved there somehow: TODO)toString()Methods inherited from class org.yamcs.xtce.DataEncoding
getByteOrder, getContextCalibratorList, getDefaultCalibrator, getDependentParameters, getFromBinaryTransformAlgorithm, getSizeInBits, getToBinaryTransformAlgorithm, setContextCalibratorList, setDefaultCalibrator, setFromBinaryTransformAlgorithm, setSizeInBits, setToBinaryTransformAlgorithm
-
Constructor Details
-
FloatDataEncoding
-
FloatDataEncoding
copy constructor- Parameters:
fde-
-
-
Method Details
-
toBuilder
- Specified by:
toBuilderin classDataEncoding
-
getEncoding
-
getStringDataEncoding
-
toString
-
parseString
Description copied from class:DataEncodingparses the string into a java object of the correct type Has to match the DataEncodingDecoder (so probably it should be moved there somehow: TODO)- Specified by:
parseStringin classDataEncoding
-
copy
Description copied from class:DataEncodingCreate a shallow copy of the data encoding- Specified by:
copyin classDataEncoding- Returns:
-