public class BinaryDataType extends BaseDataType
encodingname, PATH_SEPARATOR, qualifiedName, xtceAliasSet| Modifier | Constructor and Description |
|---|---|
protected |
BinaryDataType(BinaryDataType t) |
protected |
BinaryDataType(String name) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getInitialValue() |
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.
|
Object |
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, setShortDescriptionprotected BinaryDataType(String name)
protected BinaryDataType(BinaryDataType t)
public byte[] getInitialValue()
public void setInitialValue(byte[] initialValue)
public IntegerRange getSizeRangeInBytes()
public void setSizeRangeInBytes(IntegerRange sizeRangeInBytes)
public Object parseString(String stringValue)
parseString in class BaseDataTypepublic static byte[] hexStringToArray(String s)
s - public void setInitialValue(String hexString)
public Yamcs.Value.Type getValueType()
DataTypeCopyright © 2018 Space Applications Services. All rights reserved.