UM C API  6.16.1
Set an array field element value for a field referenced by an iterator

Functions

LBMSDMExpDLL int lbmsdm_iter_set_boolean_elem (lbmsdm_iter_t *Iterator, size_t Element, uint8_t Value)
 Set the value of an array field element in the field referenced by an iterator. More...
 
LBMSDMExpDLL int lbmsdm_iter_set_int8_elem (lbmsdm_iter_t *Iterator, size_t Element, int8_t Value)
 
LBMSDMExpDLL int lbmsdm_iter_set_uint8_elem (lbmsdm_iter_t *Iterator, size_t Element, uint8_t Value)
 
LBMSDMExpDLL int lbmsdm_iter_set_int16_elem (lbmsdm_iter_t *Iterator, size_t Element, int16_t Value)
 
LBMSDMExpDLL int lbmsdm_iter_set_uint16_elem (lbmsdm_iter_t *Iterator, size_t Element, uint16_t Value)
 
LBMSDMExpDLL int lbmsdm_iter_set_int32_elem (lbmsdm_iter_t *Iterator, size_t Element, int32_t Value)
 
LBMSDMExpDLL int lbmsdm_iter_set_uint32_elem (lbmsdm_iter_t *Iterator, size_t Element, uint32_t Value)
 
LBMSDMExpDLL int lbmsdm_iter_set_int64_elem (lbmsdm_iter_t *Iterator, size_t Element, int64_t Value)
 
LBMSDMExpDLL int lbmsdm_iter_set_uint64_elem (lbmsdm_iter_t *Iterator, size_t Element, uint64_t Value)
 
LBMSDMExpDLL int lbmsdm_iter_set_float_elem (lbmsdm_iter_t *Iterator, size_t Element, float Value)
 
LBMSDMExpDLL int lbmsdm_iter_set_double_elem (lbmsdm_iter_t *Iterator, size_t Element, double Value)
 
LBMSDMExpDLL int lbmsdm_iter_set_decimal_elem (lbmsdm_iter_t *Iterator, size_t Element, const lbmsdm_decimal_t *Value)
 
LBMSDMExpDLL int lbmsdm_iter_set_timestamp_elem (lbmsdm_iter_t *Iterator, size_t Element, const struct timeval *Value)
 
LBMSDMExpDLL int lbmsdm_iter_set_message_elem (lbmsdm_iter_t *Iterator, size_t Element, const lbmsdm_msg_t *Value)
 
LBMSDMExpDLL int lbmsdm_iter_set_string_elem (lbmsdm_iter_t *Iterator, size_t Element, const char *Value)
 
LBMSDMExpDLL int lbmsdm_iter_set_unicode_elem (lbmsdm_iter_t *Iterator, size_t Element, const wchar_t *Value, size_t Length)
 Set the value of a unicode array field element in the field referenced by an iterator. More...
 
LBMSDMExpDLL int lbmsdm_iter_set_blob_elem (lbmsdm_iter_t *Iterator, size_t Element, const void *Value, size_t Length)
 Set the value of a BLOB array field element in the field referenced by an iterator. More...
 

Detailed Description

The functions in this group allow the value of an element of an array field to be set, for a field referenced by an iterator.

Function Documentation

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

Set the value of a BLOB array field element in the field referenced by an iterator.

Parameters
IteratorThe SDM iterator to use.
ElementArray element (zero-based).
ValueNew field value.
LengthLength of Value in bytes.
Returns
LBMSDM_SUCCESS if successful, LBMSDM_FAILURE otherwise.
LBMSDMExpDLL int lbmsdm_iter_set_boolean_elem ( lbmsdm_iter_t Iterator,
size_t  Element,
uint8_t  Value 
)

Set the value of an array field element in the field referenced by an iterator.

Parameters
IteratorThe SDM iterator to use.
ElementArray element (zero-based).
ValueNew field value.
Returns
LBMSDM_SUCCESS if successful, LBMSDM_FAILURE otherwise.
LBMSDMExpDLL int lbmsdm_iter_set_decimal_elem ( lbmsdm_iter_t Iterator,
size_t  Element,
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_set_double_elem ( lbmsdm_iter_t Iterator,
size_t  Element,
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_set_float_elem ( lbmsdm_iter_t Iterator,
size_t  Element,
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_set_int16_elem ( lbmsdm_iter_t Iterator,
size_t  Element,
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_set_int32_elem ( lbmsdm_iter_t Iterator,
size_t  Element,
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_set_int64_elem ( lbmsdm_iter_t Iterator,
size_t  Element,
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_set_int8_elem ( lbmsdm_iter_t Iterator,
size_t  Element,
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_set_message_elem ( lbmsdm_iter_t Iterator,
size_t  Element,
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_set_string_elem ( lbmsdm_iter_t Iterator,
size_t  Element,
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_set_timestamp_elem ( lbmsdm_iter_t Iterator,
size_t  Element,
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_set_uint16_elem ( lbmsdm_iter_t Iterator,
size_t  Element,
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_set_uint32_elem ( lbmsdm_iter_t Iterator,
size_t  Element,
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_set_uint64_elem ( lbmsdm_iter_t Iterator,
size_t  Element,
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_set_uint8_elem ( lbmsdm_iter_t Iterator,
size_t  Element,
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_set_unicode_elem ( lbmsdm_iter_t Iterator,
size_t  Element,
const wchar_t *  Value,
size_t  Length 
)

Set the value of a unicode array field element in the field referenced by an iterator.

Parameters
IteratorThe SDM iterator to use.
ElementArray element (zero-based).
ValueNew field value.
LengthLength of Value in wchar_ts.
Returns
LBMSDM_SUCCESS if successful, LBMSDM_FAILURE otherwise.