Name | |
---|---|
MamaFieldDescriptor(int fid, short type, String name, Object data) | |
int | getFid() |
short | getType() |
String | getName() |
String | toString() |
void | setClosure(Object closure) |
Object | getClosure() |
void | setTrackModState(boolean on) |
boolean | getTrackModState() |
String | getTypeName(short type) |
Name | |
---|---|
final short | MSG |
final short | DATETIME |
final short | OPAQUE |
final short | STRING |
final short | BOOL |
final short | CHAR |
final short | I8 |
final short | U8 |
final short | I16 |
final short | U16 |
final short | I32 |
final short | U32 |
final short | I64 |
final short | U64 |
final short | F32 |
final short | F64 |
final short | TIME |
final short | PRICE |
final short | I8ARRAY |
final short | U8ARRAY |
final short | I16ARRAY |
final short | U16ARRAY |
final short | I32ARRAY |
final short | U32ARRAY |
final short | I64ARRAY |
final short | U64ARRAY |
final short | F32ARRAY |
final short | F64ARRAY |
final short | VECTOR_STRING |
final short | VECTOR_MSG |
final short | VECTOR_TIME |
final short | VECTOR_PRICE |
final short | QUANTITY |
final short | VECTOR |
final short | COLLECTION |
final short | UNKNOWN |
class com::wombat::mama::MamaFieldDescriptor;
See:
The [MamaFieldDescriptor](classcom_1_1wombat_1_1mama_1_1MamaFieldDescriptor.html)
class represents a field in a [MamaMsg](classcom_1_1wombat_1_1mama_1_1MamaMsg.html)
inline MamaFieldDescriptor(
int fid,
short type,
String name,
Object data
)
Parameters:
Create a [MamaFieldDescriptor](classcom_1_1wombat_1_1mama_1_1MamaFieldDescriptor.html)
inline int getFid()
Return: The fid.
Return the field identifier.
inline short getType()
Return: The type.
Return the data type.
inline String getName()
Return: The name.
Return the human readable name of the field.
inline String toString()
Return: A human readable string for the field.
Returns a string suitable for output to a terminal containing the type, id, and name.
inline void setClosure(
Object closure
)
Parameters:
Set user specified data to associate with the field descriptor.
inline Object getClosure()
Return: The user specified data associated with the field descriptor.
Return the user specified data associated with the field descriptor. The closure data has a default value of null
inline void setTrackModState(
boolean on
)
inline boolean getTrackModState()
static inline String getTypeName(
short type
)
static final short MSG = 1;
static final short DATETIME = 3;
static final short OPAQUE = 7;
static final short STRING = 8;
static final short BOOL = 9;
static final short CHAR = 10;
static final short I8 = 14;
static final short U8 = 15;
static final short I16 = 16;
static final short U16 = 17;
static final short I32 = 18;
static final short U32 = 19;
static final short I64 = 20;
static final short U64 = 21;
static final short F32 = 24;
static final short F64 = 25;
static final short TIME = 26;
static final short PRICE = 27;
static final short I8ARRAY = 34;
static final short U8ARRAY = 35;
static final short I16ARRAY = 36;
static final short U16ARRAY = 37;
static final short I32ARRAY = 38;
static final short U32ARRAY = 39;
static final short I64ARRAY = 40;
static final short U64ARRAY = 41;
static final short F32ARRAY = 44;
static final short F64ARRAY = 45;
static final short VECTOR_STRING = 46;
static final short VECTOR_MSG = 47;
static final short VECTOR_TIME = 48;
static final short VECTOR_PRICE = 49;
static final short QUANTITY = 50;
static final short VECTOR = 98;
static final short COLLECTION = 99;
static final short UNKNOWN = 100;
Updated on 2023-03-31 at 15:29:43 +0100