22 #ifndef MamaMsgFieldH__ 23 #define MamaMsgFieldH__ 30 #include "wombat/port.h" 32 #if defined(__cplusplus) 113 const char** result);
270 const char** result);
527 const char*** result,
828 #if defined(__cplusplus) int8_t mama_bool_t
Definition: types.h:42
MAMAExpDLL mama_status mamaMsgField_getU8(const mamaMsgField msgField, mama_u8_t *result)
Get a U8, unsigned 8 bit integer, field.
MAMAExpDLL mama_status mamaMsgField_getChar(const mamaMsgField msgField, char *result)
Get a character field.
int16_t mama_i16_t
Definition: types.h:36
MAMAExpDLL mama_status mamaMsgField_updateI16(mamaMsgField field, mama_i16_t value)
Update the specified field with a new I16 value.
MAMAExpDLL mama_status mamaMsgField_getVectorF32(const mamaMsgField msgField, const mama_f32_t **result, mama_size_t *size)
Get a vector of 32 bit floating point numbers.
MAMAExpDLL mama_status mamaMsgField_getVectorI8(const mamaMsgField msgField, const mama_i8_t **result, mama_size_t *size)
Get a vector of signed 8 bit integers.
MAMAExpDLL mama_status mamaMsgField_getVectorI64(const mamaMsgField msgField, const mama_i64_t **result, mama_size_t *size)
Get a vector of signed 64 bit integers.
MAMAExpDLL mama_status mamaMsgField_getVectorU32(const mamaMsgField msgField, const mama_u32_t **result, mama_size_t *size)
Get a vector of unsigned 32 bit integers.
MAMAExpDLL mama_status mamaMsgField_updateF32(mamaMsgField field, mama_f32_t value)
Update the specified field with a new F32 value.
MAMAExpDLL mama_status mamaMsgField_getVectorString(const mamaMsgField msgField, const char ***result, mama_size_t *size)
Get a vector of strings (char*).
uint8_t mama_u8_t
Definition: types.h:35
MAMAExpDLL mama_status mamaMsgField_getU32(const mamaMsgField msgField, mama_u32_t *result)
Get a U32, unsigned 32 bit integer, field.
MAMAExpDLL mama_status mamaMsgField_getName(const mamaMsgField msgField, const char **result)
Get the field name for this field.
mama_u64_t * mamaDateTime
Flexible date/time format.
Definition: types.h:79
MAMAExpDLL mama_status mamaMsgField_updatePrice(mamaMsgField field, const mamaPrice value)
Update the specified field with a new MamaDateTime value.
MAMAExpDLL mama_status mamaMsgField_getVectorBool(const mamaMsgField msgField, const mama_bool_t **result, mama_size_t *size)
Get a vector of booleans.
MAMAExpDLL mama_status mamaMsgField_updateU64(mamaMsgField field, mama_u64_t value)
Update the specified field with a new U64 value.
MAMAExpDLL mama_status mamaMsgField_updateDateTime(mamaMsgField field, const mamaDateTime value)
Update the specified field with a new MamaDateTime value.
uint64_t mama_u64_t
Definition: types.h:41
MAMAExpDLL mama_status mamaMsgField_updateI32(mamaMsgField field, mama_i32_t value)
Update the specified field with a new I32 value.
MAMAExpDLL mama_status mamaMsgField_updateI8(mamaMsgField field, mama_i8_t value)
Update the specified field with a new I8 value.
MAMAExpDLL mama_status mamaMsgField_destroy(mamaMsgField msgField)
Destroy a message and free any resources associated with it.
struct mamaFieldDescriptorImpl_ * mamaFieldDescriptor
Definition: types.h:110
MAMAExpDLL mama_status mamaMsgField_getVectorMsg(const mamaMsgField msgField, const mamaMsg **result, mama_size_t *size)
Get a vector of submessages.
MAMAExpDLL mama_status mamaMsgField_getVectorU64(const mamaMsgField msgField, const mama_u64_t **result, mama_size_t *size)
Get a vector of unsigned 64 bit integers.
MAMAExpDLL mama_status mamaMsgField_getVectorI16(const mamaMsgField msgField, const mama_i16_t **result, mama_size_t *size)
Get a vector of signed 16 bit integers.
MAMAExpDLL mama_status mamaMsgField_getF64(const mamaMsgField msgField, mama_f64_t *result)
Get a F64, floating point 64 bit integer, field.
MAMAExpDLL mama_status mamaMsgField_getMsg(const mamaMsgField msgField, mamaMsg *result)
Get a MAMA submessage field.
MAMAExpDLL mama_status mamaMsgField_create(mamaMsgField *msgField)
Create a field.
MAMAExpDLL mama_status mamaMsgField_getF32(const mamaMsgField msgField, mama_f32_t *result)
Get a F32, floating point 32 bit integer, field.
MAMAExpDLL mama_status mamaMsgField_updateBool(mamaMsgField field, mama_bool_t value)
Update the specified field with a new bool value.
void * mamaPrice
Flexible price format (contains display hints as well as value)
Definition: types.h:89
MAMAExpDLL mama_status mamaMsgField_getI32(const mamaMsgField msgField, mama_i32_t *result)
Get a I32, signed 32 bit integer, field.
MAMAExpDLL mama_status mamaMsgField_updateI64(mamaMsgField field, mama_i64_t value)
Update the specified field with a new I64 value.
uint16_t mama_u16_t
Definition: types.h:37
MAMAExpDLL mama_status mamaMsgField_getBool(const mamaMsgField msgField, mama_bool_t *result)
Get a boolean field.
MAMAExpDLL mama_status mamaMsgField_getPrice(const mamaMsgField msgField, mamaPrice result)
Get a MAMA price field.
uint16_t mama_fid_t
Definition: types.h:46
MAMAExpDLL mama_status mamaMsgField_getDateTime(const mamaMsgField msgField, mamaDateTime result)
Get a MAMA date/time field.
MAMAExpDLL mama_status mamaMsgField_getDescriptor(const mamaMsgField msgField, mamaFieldDescriptor *result)
Get the field descriptor for this field.
MAMAExpDLL mama_status mamaMsgField_getOpaque(const mamaMsgField msgField, const void **result, mama_size_t *size)
Get an opaque field.
MAMAExpDLL mama_status mamaMsgField_getAsString(const mamaMsgField field, char *buf, mama_size_t length)
Convert the value of the specified field to a string.
MAMAExpDLL mama_status mamaMsgField_updateChar(mamaMsgField field, char value)
Update the specified field with a new char value.
MAMAExpDLL mama_status mamaMsgField_getVectorU16(const mamaMsgField msgField, const mama_u16_t **result, mama_size_t *size)
Get a vector of unsigned 16 bit integers.
MAMAExpDLL mama_status mamaMsgField_getVectorF64(const mamaMsgField msgField, const mama_f64_t **result, mama_size_t *size)
Get a vector of 64 bit floating point numbers.
MAMAExpDLL mama_status mamaMsgField_getVectorI32(const mamaMsgField msgField, const mama_i32_t **result, mama_size_t *size)
Get a vector of signed 32 bit integers.
MAMAExpDLL mama_status mamaMsgField_getI16(const mamaMsgField msgField, mama_i16_t *result)
Get a I16, signed 16 bit integer, field.
MAMAExpDLL mama_status mamaMsgField_updateU32(mamaMsgField field, mama_u32_t value)
Update the specified field with a new U32 value.
MAMAExpDLL mama_status mamaMsgField_getString(const mamaMsgField msgField, const char **result)
Get a const char * field.
MAMAExpDLL mama_status mamaMsgField_getTypeName(const mamaMsgField msgField, const char **result)
Get the type name for this field.
double mama_f64_t
Definition: types.h:44
size_t size
Definition: queue.h:46
int64_t mama_i64_t
Definition: types.h:40
struct mamaMsgImpl_ * mamaMsg
Opaque definitions for all major MAMA data types.
Definition: types.h:95
struct mamaMsgFieldImpl_ * mamaMsgField
Definition: types.h:96
MAMAExpDLL mama_status mamaMsgField_getFid(const mamaMsgField msgField, mama_fid_t *result)
Get the field ID for this field.
MAMAExpDLL mama_status mamaMsgField_getType(const mamaMsgField msgField, mamaFieldType *result)
Get the field type for this field.
enum mamaFieldType_ mamaFieldType
The mamaFieldDescriptor class represents a field in a mamaMsg.
mama_status
Definition: status.h:37
MAMAExpDLL mama_status mamaMsgField_getI8(const mamaMsgField msgField, mama_i8_t *result)
Get a I8, signed 8 bit integer, field.
MAMAExpDLL mama_status mamaMsgField_updateU16(mamaMsgField field, mama_u16_t value)
Update the specified field with a new U16 value.
uint32_t mama_u32_t
Definition: types.h:39
size_t mama_size_t
Definition: types.h:47
MAMAExpDLL mama_status mamaMsgField_getU64(const mamaMsgField msgField, mama_u64_t *result)
Get a U64, unsigned 64 bit integer, field.
int8_t mama_i8_t
Definition: types.h:34
MAMAExpDLL mama_status mamaMsgField_getVectorChar(const mamaMsgField msgField, const char **result, mama_size_t *size)
Get a vector of characters.
MAMAExpDLL mama_status mamaMsgField_updateF64(mamaMsgField field, mama_f64_t value)
Update the specified field with a new F64 value.
MAMAExpDLL mama_status mamaMsgField_getVectorU8(const mamaMsgField msgField, const mama_u8_t **result, mama_size_t *size)
Get a vector of unsigned 8 bit integers.
int32_t mama_i32_t
Definition: types.h:38
MAMAExpDLL mama_status mamaMsgField_updateU8(mamaMsgField field, mama_u8_t value)
Update the specified field with a new U8 value.
MAMAExpDLL mama_status mamaMsgField_getU16(const mamaMsgField msgField, mama_u16_t *result)
Get a U16, unsigned 16 bit integer, field.
float mama_f32_t
Definition: types.h:43
MAMAExpDLL mama_status mamaMsgField_getI64(const mamaMsgField msgField, mama_i64_t *result)
Get a I64, signed 64 bit integer, field.