public class BinaryDataType extends BaseDataType
encoding, initialValuename, PATH_SEPARATOR, qualifiedName, xtceAliasSet| Modifier | Constructor and Description |
|---|---|
protected |
BinaryDataType(BinaryDataType t) |
protected |
BinaryDataType(String name) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getInitialValue()
Get the initial value if any
|
IntegerRange |
getSizeRangeInBytes() |
String |
getTypeAsString()
String which represents the type.
|
Yamcs.Value.Type |
getValueType()
Return the expected Value type of an engineering value conforming to this XTCE data type
|
static byte[] |
hexStringToArray(String s)
Converts a hex string into a byte array.
|
byte[] |
parseString(String stringValue)
parse the hexadecimal stringValue into byte[]
|
void |
setInitialValue(byte[] initialValue) |
void |
setInitialValue(String hexString)
sets the initial value which is interpreted as a hex string
|
void |
setSizeRangeInBytes(IntegerRange sizeRangeInBytes) |
String |
toString() |
addAllUnits, addUnit, getEncoding, getUnitSet, parseStringForRawValue, setEncodingaddAlias, addAliases, addAncillaryData, getAlias, getAliasSet, getAncillaryData, getAncillaryDataSet, getLongDescription, getName, getName, getOpsName, getQualifiedName, getShortDescription, getSubsystemName, getSubsystemName, setAliasSet, setLongDescription, setName, setQualifiedName, setShortDescriptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLongDescription, getName, getShortDescription, setLongDescription, setShortDescriptionprotected BinaryDataType(String name)
protected BinaryDataType(BinaryDataType t)
public byte[] getInitialValue()
DataTypepublic void setInitialValue(byte[] initialValue)
public IntegerRange getSizeRangeInBytes()
public void setSizeRangeInBytes(IntegerRange sizeRangeInBytes)
public byte[] parseString(String stringValue)
parseString in interface DataTypeparseString in class BaseDataTypepublic static byte[] hexStringToArray(String s)
s - public void setInitialValue(String hexString)
setInitialValue in interface DataTypesetInitialValue in class BaseDataTypepublic Yamcs.Value.Type getValueType()
DataTypeCopyright © 2019 Space Applications Services. All rights reserved.