| Modifier and Type | Method and Description |
|---|---|
static PrimitiveType |
PrimitiveType.get(String name)
Lookup PrimitiveType by String name and return Enum.
|
static PrimitiveType |
PrimitiveType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveType[] |
PrimitiveType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
PrimitiveValue.byteArrayValue(PrimitiveType type)
Return byte array value for this PrimitiveValue given a particular type
|
static PrimitiveValue |
PrimitiveValue.parse(String value,
PrimitiveType primitiveType)
Parse constant value string and set representation based on type
|
static PrimitiveValue |
PrimitiveValue.parse(String value,
PrimitiveType primitiveType,
int length,
String characterEncoding)
Parse constant value string and set representation based on type, length, and characterEncoding
|
| Modifier and Type | Method and Description |
|---|---|
static String |
Cpp98Util.cpp98TypeName(PrimitiveType primitiveType)
Map the name of a
PrimitiveType to a C++98 primitive type name. |
static String |
Cpp98Util.formatByteOrderEncoding(ByteOrder byteOrder,
PrimitiveType primitiveType)
Return the Cpp98 formatted byte order encoding string to use for a given byte order and primitiveType
|
| Modifier and Type | Method and Description |
|---|---|
static String |
CSharpUtil.cSharpTypeName(PrimitiveType primitiveType)
Map the name of a
PrimitiveType to a C# primitive type name. |
| Modifier and Type | Method and Description |
|---|---|
static String |
JavaUtil.javaTypeName(PrimitiveType primitiveType)
Map the name of a
PrimitiveType to a Java primitive type name. |
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
HeaderStructure.blockLengthType() |
static PrimitiveType |
IrUtil.mapPrimitiveType(PrimitiveTypeCodec type) |
PrimitiveType |
Encoding.primitiveType()
The
PrimitiveType of this encoding. |
PrimitiveType |
HeaderStructure.schemaIdType() |
PrimitiveType |
HeaderStructure.schemaVersionType() |
PrimitiveType |
HeaderStructure.templateIdType() |
| Modifier and Type | Method and Description |
|---|---|
static PrimitiveValue |
IrUtil.get(DirectBuffer buffer,
PrimitiveType type,
int length) |
static PrimitiveTypeCodec |
IrUtil.mapPrimitiveType(PrimitiveType type) |
Encoding.Builder |
Encoding.Builder.primitiveType(PrimitiveType primitiveType) |
static int |
IrUtil.put(DirectBuffer buffer,
PrimitiveValue value,
PrimitiveType type) |
| Constructor and Description |
|---|
Encoding(PrimitiveType primitiveType,
Encoding.Presence presence,
ByteOrder byteOrder,
PrimitiveValue minValue,
PrimitiveValue maxValue,
PrimitiveValue nullValue,
PrimitiveValue constValue,
String characterEncoding,
String epoch,
String timeUnit,
String semanticType) |
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
SetType.encodingType()
The encoding type of the bitset to be used on the wire.
|
PrimitiveType |
EnumType.encodingType()
The
PrimitiveType used to encode the enum. |
PrimitiveType |
EncodedDataType.primitiveType()
Return the primitiveType attribute of the type
|
| Constructor and Description |
|---|
Choice(Node node,
PrimitiveType encodingType)
Construct a Choice given the XML node and the encodingType
|
EncodedDataType(String name,
Presence presence,
String description,
String semanticType,
PrimitiveType primitiveType,
int length,
boolean varLen)
Construct a new EncodedDataType with direct values.
|
ValidValue(Node node,
PrimitiveType encodingType)
Construct a ValidValue given the XML node and the encodingType.
|
Copyright © 2013 Real Logic Ltd. All Rights Reserved.