Package org.yamcs.xtce
Class BooleanDataEncoding
java.lang.Object
org.yamcs.xtce.DataEncoding
org.yamcs.xtce.BooleanDataEncoding
- All Implemented Interfaces:
Serializable
For boolean data.
DIFFERS_FROM_XTCE: XTCE does not have a BooleanDataEncoding, only a BooleanParameterType. This creates an inconsistency when algorithms output uncalibrated boolean values.
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.yamcs.xtce.DataEncoding
fromBinaryTransformAlgorithm, sizeInBits, toBinaryTransformAlgorithm
-
Constructor Summary
-
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, getDependentParameters, getFromBinaryTransformAlgorithm, getSizeInBits, getToBinaryTransformAlgorithm, setFromBinaryTransformAlgorithm, setSizeInBits, setToBinaryTransformAlgorithm
-
Constructor Details
-
BooleanDataEncoding
-
-
Method Details
-
toBuilder
- Specified by:
toBuilder
in classDataEncoding
-
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
-
copy
Description copied from class:DataEncoding
Create a shallow copy of the data encoding- Specified by:
copy
in classDataEncoding
- Returns:
-
toString
-