22 #ifndef MamaFieldDescriptorH__
23 #define MamaFieldDescriptorH__
33 #include "wombat/port.h"
35 #if defined(__cplusplus)
241 #if defined(__cplusplus)
32 bit float
Definition: fielddesc.h:81
Boolean.
Definition: fielddesc.h:51
Definition: fielddesc.h:95
MAMAExpDLL const char * mamaFieldDescriptor_getTypeName(const mamaFieldDescriptor descriptor)
return a human readable representation of the type name.
Definition: fielddesc.h:107
Signed 16 bit integer.
Definition: fielddesc.h:63
const char mamaFtState void * closure
Definition: ft.h:54
MAMAExpDLL mamaFieldType mamaFieldDescriptor_getType(const mamaFieldDescriptor descriptor)
Return the data type.
Definition: fielddesc.h:97
Definition: fielddesc.h:94
Array type support.
Definition: fielddesc.h:93
Signed 64 bit integer.
Definition: fielddesc.h:75
MAMAExpDLL mama_status mamaFieldDescriptor_destroy(mamaFieldDescriptor descriptor)
Destroy a mamaFieldDescriptor.
Definition: fielddesc.h:104
String.
Definition: fielddesc.h:48
struct mamaFieldDescriptorImpl_ * mamaFieldDescriptor
Definition: types.h:110
Definition: fielddesc.h:98
Unsigned 64 bit integer.
Definition: fielddesc.h:78
MAMAExpDLL mama_status mamaFieldDescriptor_getClosure(mamaFieldDescriptor descriptor, void **closure)
Return the user supplied data with this field descriptor.
Definition: fielddesc.h:105
Definition: fielddesc.h:101
MAMAExpDLL mama_status mamaFieldDescriptor_setClosure(mamaFieldDescriptor descriptor, void *closure)
Associate some user supplied data with this field descriptor.
Sub message.
Definition: fielddesc.h:42
Collection.
Definition: fielddesc.h:110
uint16_t mama_fid_t
Definition: types.h:46
64 bit float
Definition: fielddesc.h:84
Definition: fielddesc.h:100
Definition: fielddesc.h:96
Opaque binary.
Definition: fielddesc.h:45
MAMA price.
Definition: fielddesc.h:90
MAMAExpDLL const char * mamaFieldTypeToString(mamaFieldType type)
Return the field type as a string.
MAMAExpDLL const char * mamaFieldDescriptor_getName(const mamaFieldDescriptor descriptor)
Return the human readable name of the field.
Signed 8 bit integer.
Definition: fielddesc.h:57
enum mamaFieldType_ mamaFieldType
The mamaFieldDescriptor class represents a field in a mamaMsg.
mama_status
Definition: status.h:37
Unsigned 16 bit integer.
Definition: fielddesc.h:66
Definition: fielddesc.h:102
MAMAExpDLL mama_status mamaFieldDescriptor_create(mamaFieldDescriptor *descriptor, mama_fid_t fid, mamaFieldType type, const char *name)
Create a mamaFieldDescriptor.
Signed 32 bit integer.
Definition: fielddesc.h:69
Definition: fielddesc.h:103
64 bit MAMA time
Definition: fielddesc.h:87
Unsigned 32 bit integer.
Definition: fielddesc.h:72
Character.
Definition: fielddesc.h:54
Unsigned byte.
Definition: fielddesc.h:60
MAMAExpDLL mamaFieldType stringToMamaFieldType(const char *str)
Return the string as a field type.
Unknown.
Definition: fielddesc.h:113
mamaFieldType_
The mamaFieldDescriptor class represents a field in a mamaMsg.
Definition: fielddesc.h:39
Definition: fielddesc.h:106
MAMAExpDLL mama_fid_t mamaFieldDescriptor_getFid(const mamaFieldDescriptor descriptor)
Return the field identifier.
Definition: fielddesc.h:99