EII Message Bus C Reference
|
#include <msg_envelope.hpp>
Public Member Functions | |
MsgEnvelopeList () | |
void | put_integer (int64_t value) |
void | put_float (double value) |
void | put_string (const std::string value) |
void | put_bool (bool value) |
void | put_object (MsgEnvelopeObject *value) |
void | remove_at (int64_t index) |
int64_t | get_int (int64_t index) |
double | get_float (int64_t index) |
const char * | get_string (int64_t index) |
bool | get_bool (int64_t index) |
MsgEnvelopeObject * | get_msg_envelope_object (int64_t index) |
MsgEnvelopeElement * | get_msg_envelope_element (int64_t index) |
msg_envelope_elem_body_t * | get_msg_envelope_array () |
~MsgEnvelopeList () | |
Public Attributes | |
friend | MsgEnvelope |
MsgEnvelopeList class
eii::msgbus::MsgEnvelopeList::MsgEnvelopeList | ( | ) |
Constructor
eii::msgbus::MsgEnvelopeList::~MsgEnvelopeList | ( | ) |
Destructor
bool eii::msgbus::MsgEnvelopeList::get_bool | ( | int64_t | index | ) |
To fetch a boolean value associated with the key provided
double eii::msgbus::MsgEnvelopeList::get_float | ( | int64_t | index | ) |
To fetch a float value associated with the key provided
int64_t eii::msgbus::MsgEnvelopeList::get_int | ( | int64_t | index | ) |
To fetch an integer value associated with the key provided
msg_envelope_elem_body_t* eii::msgbus::MsgEnvelopeList::get_msg_envelope_array | ( | ) |
Getter to retrieve the underlying msg_envelope_elem_body_t
structure
msg_envelope_elem_body_t
- returns the msg_envelope_elem_body_t
struct MsgEnvelopeElement* eii::msgbus::MsgEnvelopeList::get_msg_envelope_element | ( | int64_t | index | ) |
To fetch a MsgEnvelopeElement
value associated with the index provided
MsgEnvelopeObject* eii::msgbus::MsgEnvelopeList::get_msg_envelope_object | ( | int64_t | index | ) |
To fetch a MsgEnvelopeObject
value associated with the key provided
const char* eii::msgbus::MsgEnvelopeList::get_string | ( | int64_t | index | ) |
To fetch a string associated with the key provided
void eii::msgbus::MsgEnvelopeList::put_bool | ( | bool | value | ) |
Add a new boolean value to the MsgEnvelopeList
object.
void eii::msgbus::MsgEnvelopeList::put_float | ( | double | value | ) |
Add a new float value to the MsgEnvelopeList object.
void eii::msgbus::MsgEnvelopeList::put_integer | ( | int64_t | value | ) |
Add a new integer value to the MsgEnvelopeList object.
void eii::msgbus::MsgEnvelopeList::put_object | ( | MsgEnvelopeObject * | value | ) |
Add a new nested MsgEnvelopeObject
to the MsgEnvelope
object.
void eii::msgbus::MsgEnvelopeList::put_string | ( | const std::string | value | ) |
Add a new string value to the MsgEnvelopeList
object.
void eii::msgbus::MsgEnvelopeList::remove_at | ( | int64_t | index | ) |
To remove value associated with the key provided