Package org.yamcs.xtce
Class IntegerDataEncoding
java.lang.Object
org.yamcs.xtce.DataEncoding
org.yamcs.xtce.IntegerDataEncoding
- All Implemented Interfaces:
Serializable
For all major encodings of integer data
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
-
Field Summary
Fields inherited from class org.yamcs.xtce.DataEncoding
contextCalibratorList, defaultCalibrator, fromBinaryTransformAlgorithm, sizeInBits, toBinaryTransformAlgorithm
-
Constructor Summary
ConstructorsConstructorDescription -
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)void
setEncoding
(IntegerDataEncoding.Encoding encoding) toString()
Methods inherited from class org.yamcs.xtce.DataEncoding
getByteOrder, getContextCalibratorList, getDefaultCalibrator, getDependentParameters, getFromBinaryTransformAlgorithm, getSizeInBits, getToBinaryTransformAlgorithm, setContextCalibratorList, setDefaultCalibrator, setFromBinaryTransformAlgorithm, setSizeInBits, setToBinaryTransformAlgorithm
-
Constructor Details
-
IntegerDataEncoding
-
IntegerDataEncoding
-
-
Method Details
-
toBuilder
- Specified by:
toBuilder
in classDataEncoding
-
getEncoding
-
getStringEncoding
-
setEncoding
-
parseString
Description copied from class:DataEncoding
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)- Specified by:
parseString
in classDataEncoding
-
toString
-
copy
Description copied from class:DataEncoding
Create a shallow copy of the data encoding- Specified by:
copy
in classDataEncoding
- Returns:
-