#include <MamaMsgField.h>
Name | |
---|---|
~MamaMsgField() | |
MamaMsgField(void ) | |
MamaMsgField(mamaMsgField field) | |
MamaMsgField(const MamaMsgField & field) | |
MamaMsgField & | operator=(const MamaMsgField & field) |
void | clear() |
void | set(mamaMsgField field) |
const MamaFieldDescriptor * | getDescriptor() const |
mama_fid_t | getFid() const |
const char * | getName() const |
mamaFieldType | getType() const |
const char * | getTypeName() const |
mama_bool_t | getBool() const |
char | getChar() const |
mama_i8_t | getI8() const |
mama_u8_t | getU8() const |
mama_i16_t | getI16() const |
mama_u16_t | getU16() const |
mama_i32_t | getI32() const |
mama_u32_t | getU32() const |
mama_i64_t | getI64() const |
mama_u64_t | getU64() const |
mama_f32_t | getF32() const |
mama_f64_t | getF64() const |
const char * | getString() const |
const void * | getOpaque(mama_size_t & size) const |
void | getDateTime(MamaDateTime & result) const |
void | getPrice(MamaPrice & result) const |
void | getMsg(MamaMsg & result) const |
void | getVectorBool(const mama_bool_t *& result, mama_size_t & resultLen) const |
void | getVectorChar(const char *& result, mama_size_t & resultLen) const |
void | getVectorI8(const mama_i8_t *& result, mama_size_t & resultLen) const |
void | getVectorU8(const mama_u8_t *& result, mama_size_t & resultLen) const |
void | getVectorI16(const mama_i16_t *& result, mama_size_t & resultLen) const |
void | getVectorU16(const mama_u16_t *& result, mama_size_t & resultLen) const |
void | getVectorI32(const mama_i32_t *& result, mama_size_t & resultLen) const |
void | getVectorU32(const mama_u32_t *& result, mama_size_t & resultLen) const |
void | getVectorI64(const mama_i64_t *& result, mama_size_t & resultLen) const |
void | getVectorU64(const mama_u64_t *& result, mama_size_t & resultLen) const |
void | getVectorF32(const mama_f32_t *& result, mama_size_t & resultLen) const |
void | getVectorF64(const mama_f64_t *& result, mama_size_t & resultLen) const |
void | getVectorString(const char **& result, mama_size_t & resultLen) const |
void | getVectorMsg(const MamaMsg **& result, mama_size_t & resultLen) const |
void | getVectorMsgDetached(const MamaMsg **& result, mama_size_t & resultLen) const |
void | getAsString(char * result, mama_size_t maxResultLen) const |
void | updateBool(mama_bool_t value) |
void | updateChar(char value) |
void | updateI8(mama_i8_t value) |
void | updateU8(mama_u8_t value) |
void | updateI16(mama_i16_t value) |
void | updateU16(mama_u16_t value) |
void | updateI32(mama_i32_t value) |
void | updateU32(mama_u32_t value) |
void | updateI64(mama_i64_t value) |
void | updateU64(mama_u64_t value) |
void | updateF32(mama_f32_t value) |
void | updateF64(mama_f64_t value) |
void | updateDateTime(const mamaDateTime value) |
void | updateDateTime(const MamaDateTime value) |
void | updatePrice(const mamaPrice value) |
void | updatePrice(const MamaPrice value) |
bool | operator==(const MamaMsgField & ) const |
bool | operator!=(const MamaMsgField & ) const |
class Wombat::MamaMsgField;
MamaMsg field representation.
~MamaMsgField()
MamaMsgField(
void
)
MamaMsgField(
mamaMsgField field
)
MamaMsgField(
const MamaMsgField & field
)
MamaMsgField & operator=(
const MamaMsgField & field
)
void clear()
Clear the field.
void set(
mamaMsgField field
)
Set this field to a different MAMA C API field.
const MamaFieldDescriptor * getDescriptor() const
mama_fid_t getFid() const
Return: The fid.
Return the field identifier.
const char * getName() const
Return: The name.
Return the field name.
mamaFieldType getType() const
Return: The type.
Return the field type.
const char * getTypeName() const
Return: The type name.
Return the field type name. The type name is a human readable representation of the type.
mama_bool_t getBool() const
Return: The boolean value.
Get as a boolean field.
char getChar() const
Return: The character value.
Get as a character field.
mama_i8_t getI8() const
Return: The integer value.
Get as a I8 field.
mama_u8_t getU8() const
Return: The integer value.
Get as a U8 field.
mama_i16_t getI16() const
Return: The integer value.
Get as a I16 field.
mama_u16_t getU16() const
Return: The integer value.
Get as a U16 field.
mama_i32_t getI32() const
Return: The integer value.
Get as a I32 field.
mama_u32_t getU32() const
Return: The integer value.
Get as a U32 field.
mama_i64_t getI64() const
Return: The field value as a long.
Get as a I64 field.
mama_u64_t getU64() const
Return: The field value as a long.
Get as a U64 field.
mama_f32_t getF32() const
Return: The field value as a 32 bit floating point number.
Get as a f32 field.
mama_f64_t getF64() const
Return: The field value as a 64 bit floating point number.
Get as a f64 field.
const char * getString() const
Return: the string value.
Get as a const char* field.
const void * getOpaque(
mama_size_t & size
) const
Return: The opaque value.
Get as a const void* field
void getDateTime(
MamaDateTime & result
) const
Parameters:
Get as a MamaDateTime field
void getPrice(
MamaPrice & result
) const
Parameters:
Get as a MamaPrice field
void getMsg(
MamaMsg & result
) const
Parameters:
Get as a MamaMsg field
void getVectorBool(
const mama_bool_t *& result,
mama_size_t & resultLen
) const
Parameters:
Get a vector of boolean.
void getVectorChar(
const char *& result,
mama_size_t & resultLen
) const
Parameters:
Get a vector of characters.
void getVectorI8(
const mama_i8_t *& result,
mama_size_t & resultLen
) const
Parameters:
Get a vector of signed 8-bit integers.
void getVectorU8(
const mama_u8_t *& result,
mama_size_t & resultLen
) const
Parameters:
Get a vector of unsigned 8-bit integers.
void getVectorI16(
const mama_i16_t *& result,
mama_size_t & resultLen
) const
Parameters:
Get a vector of signed 16-bit integers.
void getVectorU16(
const mama_u16_t *& result,
mama_size_t & resultLen
) const
Parameters:
Get a vector of unsigned 16-bit integers.
void getVectorI32(
const mama_i32_t *& result,
mama_size_t & resultLen
) const
Parameters:
Get a vector of signed 32-bit integers.
void getVectorU32(
const mama_u32_t *& result,
mama_size_t & resultLen
) const
Parameters:
Get a vector of unsigned 32-bit integers.
void getVectorI64(
const mama_i64_t *& result,
mama_size_t & resultLen
) const
Parameters:
Get a vector of signed 64-bit integers.
void getVectorU64(
const mama_u64_t *& result,
mama_size_t & resultLen
) const
Parameters:
Get a vector of unsigned 64-bit integers.
void getVectorF32(
const mama_f32_t *& result,
mama_size_t & resultLen
) const
Parameters:
Get a vector of 32-bit floats.
void getVectorF64(
const mama_f64_t *& result,
mama_size_t & resultLen
) const
Parameters:
Get a vector of 64-bit floats.
void getVectorString(
const char **& result,
mama_size_t & resultLen
) const
Parameters:
Get a vector of strings.
void getVectorMsg(
const MamaMsg **& result,
mama_size_t & resultLen
) const
Parameters:
Get a vector of submessages field. Note: The vector is only valid for the lifetime of the field object which, when iterating over fields in a message is only as long as the individual callback itself. Use getVectorMsgDetached if it is necessary to keep the vector of messages longer than the lifetime of the field.
void getVectorMsgDetached(
const MamaMsg **& result,
mama_size_t & resultLen
) const
Parameters:
Get a vector of submessages field. Deallocating the memory allocated for array and it members will become the responsibility of the caller.
void getAsString(
char * result,
mama_size_t maxResultLen
) const
Parameters:
Return a string representation the field with the given fid.
void updateBool(
mama_bool_t value
)
Parameters:
Exceptions:
Update the specified field with a new bool value.
void updateChar(
char value
)
Parameters:
Exceptions:
Update the specified field with a new char value.
void updateI8(
mama_i8_t value
)
Parameters:
Exceptions:
Update the specified field with a new i8 value.
void updateU8(
mama_u8_t value
)
Parameters:
Exceptions:
Update the specified field with a new u8 value.
void updateI16(
mama_i16_t value
)
Parameters:
Exceptions:
Update the specified field with a new i16 value.
void updateU16(
mama_u16_t value
)
Parameters:
Exceptions:
Update the specified field with a new u16 value.
void updateI32(
mama_i32_t value
)
Parameters:
Exceptions:
Update the specified field with a new i32 value.
void updateU32(
mama_u32_t value
)
Parameters:
Exceptions:
Update the specified field with a new u32 value.
void updateI64(
mama_i64_t value
)
Parameters:
Exceptions:
Update the specified field with a new i64 value.
void updateU64(
mama_u64_t value
)
Parameters:
Exceptions:
Update the specified field with a new u64 value.
void updateF32(
mama_f32_t value
)
Parameters:
Exceptions:
Update the specified field with a new f32 value.
void updateF64(
mama_f64_t value
)
Parameters:
Exceptions:
Update the specified field with a new f64 value.
void updateDateTime(
const mamaDateTime value
)
Parameters:
Exceptions:
Update the specified field with a new date/time value.
void updateDateTime(
const MamaDateTime value
)
Parameters:
Exceptions:
Update the specified field with a new date/time value.
void updatePrice(
const mamaPrice value
)
Parameters:
Exceptions:
Update the specified field with a new price value.
void updatePrice(
const MamaPrice value
)
Parameters:
Exceptions:
Update the specified field with a new price value.
bool operator==(
const MamaMsgField &
) const
bool operator!=(
const MamaMsgField &
) const
Updated on 2023-03-31 at 15:29:25 +0100