Package org.yamcs.xtce
Class IntegerDataEncoding
java.lang.Object
org.yamcs.xtce.DataEncoding
org.yamcs.xtce.IntegerDataEncoding
- All Implemented Interfaces:
Serializable
,NumericDataEncoding
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
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
setContextCalibratorList
(List<ContextCalibrator> contextCalibratorList) void
setDefaultCalibrator
(Calibrator calibrator) void
setEncoding
(IntegerDataEncoding.Encoding encoding) toString()
Methods inherited from class org.yamcs.xtce.DataEncoding
getByteOrder, getFromBinaryTransformAlgorithm, getSizeInBits, getToBinaryTransformAlgorithm, setFromBinaryTransformAlgorithm, setSizeInBits, setToBinaryTransformAlgorithm
-
Constructor Details
-
IntegerDataEncoding
-
IntegerDataEncoding
-
-
Method Details
-
toBuilder
- Specified by:
toBuilder
in classDataEncoding
-
getEncoding
-
getStringEncoding
-
getDefaultCalibrator
- Specified by:
getDefaultCalibrator
in interfaceNumericDataEncoding
-
setEncoding
-
setDefaultCalibrator
- Specified by:
setDefaultCalibrator
in interfaceNumericDataEncoding
-
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
-
getContextCalibratorList
- Specified by:
getContextCalibratorList
in interfaceNumericDataEncoding
-
setContextCalibratorList
- Specified by:
setContextCalibratorList
in interfaceNumericDataEncoding
-
getDependentParameters
- Overrides:
getDependentParameters
in classDataEncoding
-
toString
-
copy
Description copied from class:DataEncoding
Create a shallow copy of the data encoding- Specified by:
copy
in classDataEncoding
- Returns:
-