UM C API  6.16.1
Add an element to an array field referenced by an iterator

Functions

LBMSDMExpDLL int lbmsdm_iter_add_boolean_elem (lbmsdm_iter_t *Iterator, uint8_t Value)
 Add an array field element in a message referenced by an iterator. More...
 
LBMSDMExpDLL int lbmsdm_iter_add_int8_elem (lbmsdm_iter_t *Iterator, int8_t Value)
 
LBMSDMExpDLL int lbmsdm_iter_add_uint8_elem (lbmsdm_iter_t *Iterator, uint8_t Value)
 
LBMSDMExpDLL int lbmsdm_iter_add_int16_elem (lbmsdm_iter_t *Iterator, int16_t Value)
 
LBMSDMExpDLL int lbmsdm_iter_add_uint16_elem (lbmsdm_iter_t *Iterator, uint16_t Value)
 
LBMSDMExpDLL int lbmsdm_iter_add_int32_elem (lbmsdm_iter_t *Iterator, int32_t Value)
 
LBMSDMExpDLL int lbmsdm_iter_add_uint32_elem (lbmsdm_iter_t *Iterator, uint32_t Value)
 
LBMSDMExpDLL int lbmsdm_iter_add_int64_elem (lbmsdm_iter_t *Iterator, int64_t Value)
 
LBMSDMExpDLL int lbmsdm_iter_add_uint64_elem (lbmsdm_iter_t *Iterator, uint64_t Value)
 
LBMSDMExpDLL int lbmsdm_iter_add_float_elem (lbmsdm_iter_t *Iterator, float Value)
 
LBMSDMExpDLL int lbmsdm_iter_add_double_elem (lbmsdm_iter_t *Iterator, double Value)
 
LBMSDMExpDLL int lbmsdm_iter_add_decimal_elem (lbmsdm_iter_t *Iterator, const lbmsdm_decimal_t *Value)
 
LBMSDMExpDLL int lbmsdm_iter_add_timestamp_elem (lbmsdm_iter_t *Iterator, const struct timeval *Value)
 
LBMSDMExpDLL int lbmsdm_iter_add_message_elem (lbmsdm_iter_t *Iterator, const lbmsdm_msg_t *Value)
 
LBMSDMExpDLL int lbmsdm_iter_add_string_elem (lbmsdm_iter_t *Iterator, const char *Value)
 
LBMSDMExpDLL int lbmsdm_iter_add_unicode_elem (lbmsdm_iter_t *Iterator, const wchar_t *Value, size_t Length)
 Add a unicode array field element in a message referenced by an iterator. More...
 
LBMSDMExpDLL int lbmsdm_iter_add_blob_elem (lbmsdm_iter_t *Iterator, const void *Value, size_t Length)
 Add a BLOB array field element in a message referenced by an iterator. More...
 

Detailed Description

The functions in this group allow an element to be added to an array field referenced by an iterator.

Function Documentation

LBMSDMExpDLL int lbmsdm_iter_add_blob_elem ( lbmsdm_iter_t Iterator,
const void *  Value,
size_t  Length 
)

Add a BLOB array field element in a message referenced by an iterator.

Parameters
IteratorThe iterator referencing the field.
ValueElement value.
LengthLength of the BLOB data, in bytes.
Returns
LBMSDM_SUCCESS if successful, LBMSDM_FAILURE otherwise.
LBMSDMExpDLL int lbmsdm_iter_add_boolean_elem ( lbmsdm_iter_t Iterator,
uint8_t  Value 
)

Add an array field element in a message referenced by an iterator.

Parameters
IteratorThe iterator referencing the field.
ValueElement value.
Returns
LBMSDM_SUCCESS if successful, LBMSDM_FAILURE otherwise.
LBMSDMExpDLL int lbmsdm_iter_add_decimal_elem ( lbmsdm_iter_t Iterator,
const lbmsdm_decimal_t Value 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

LBMSDMExpDLL int lbmsdm_iter_add_double_elem ( lbmsdm_iter_t Iterator,
double  Value 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

LBMSDMExpDLL int lbmsdm_iter_add_float_elem ( lbmsdm_iter_t Iterator,
float  Value 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

LBMSDMExpDLL int lbmsdm_iter_add_int16_elem ( lbmsdm_iter_t Iterator,
int16_t  Value 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

LBMSDMExpDLL int lbmsdm_iter_add_int32_elem ( lbmsdm_iter_t Iterator,
int32_t  Value 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

LBMSDMExpDLL int lbmsdm_iter_add_int64_elem ( lbmsdm_iter_t Iterator,
int64_t  Value 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

LBMSDMExpDLL int lbmsdm_iter_add_int8_elem ( lbmsdm_iter_t Iterator,
int8_t  Value 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

LBMSDMExpDLL int lbmsdm_iter_add_message_elem ( lbmsdm_iter_t Iterator,
const lbmsdm_msg_t Value 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

LBMSDMExpDLL int lbmsdm_iter_add_string_elem ( lbmsdm_iter_t Iterator,
const char *  Value 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

LBMSDMExpDLL int lbmsdm_iter_add_timestamp_elem ( lbmsdm_iter_t Iterator,
const struct timeval *  Value 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

LBMSDMExpDLL int lbmsdm_iter_add_uint16_elem ( lbmsdm_iter_t Iterator,
uint16_t  Value 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

LBMSDMExpDLL int lbmsdm_iter_add_uint32_elem ( lbmsdm_iter_t Iterator,
uint32_t  Value 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

LBMSDMExpDLL int lbmsdm_iter_add_uint64_elem ( lbmsdm_iter_t Iterator,
uint64_t  Value 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

LBMSDMExpDLL int lbmsdm_iter_add_uint8_elem ( lbmsdm_iter_t Iterator,
uint8_t  Value 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

LBMSDMExpDLL int lbmsdm_iter_add_unicode_elem ( lbmsdm_iter_t Iterator,
const wchar_t *  Value,
size_t  Length 
)

Add a unicode array field element in a message referenced by an iterator.

Parameters
IteratorThe iterator referencing the field.
ValueElement value.
LengthLength of the unicode string, in wchar_ts.
Returns
LBMSDM_SUCCESS if successful, LBMSDM_FAILURE otherwise.