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.
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.
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.

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 
)

Parameters:
Iterator The iterator referencing the field.
Value Element value.
Length Length 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 
)

Parameters:
Iterator The iterator referencing the field.
Value Element 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 
)

Parameters:
Iterator The iterator referencing the field.
Value Element value.
Length Length of the unicode string, in wchar_ts.
Returns:
LBMSDM_SUCCESS if successful, LBMSDM_FAILURE otherwise.


Generated on Thu Mar 6 13:11:16 2014 for LBM API by  doxygen 1.5.2