EII Message Bus C Reference
Public Member Functions | Public Attributes | List of all members
eii::msgbus::MsgEnvelopeObject Class Reference

Public Member Functions

 MsgEnvelopeObject ()
 
void put_integer (const std::string key, int64_t value)
 
void put_float (const std::string key, double value)
 
void put_string (const std::string key, const std::string value)
 
void put_bool (const std::string key, bool value)
 
void remove (const std::string key)
 
int64_t get_int (const std::string key)
 
double get_float (const std::string key)
 
const char * get_string (const std::string key)
 
bool get_bool (const std::string key)
 
MsgEnvelopeElementget_msg_envelope_element (const std::string key)
 
msg_envelope_elem_body_tget_msg_envelope_object ()
 
 ~MsgEnvelopeObject ()
 

Public Attributes

friend MsgEnvelope
 

Constructor & Destructor Documentation

◆ MsgEnvelopeObject()

eii::msgbus::MsgEnvelopeObject::MsgEnvelopeObject ( )

Constructor

◆ ~MsgEnvelopeObject()

eii::msgbus::MsgEnvelopeObject::~MsgEnvelopeObject ( )

Destructor

Member Function Documentation

◆ get_bool()

bool eii::msgbus::MsgEnvelopeObject::get_bool ( const std::string  key)

To fetch a boolean value associated with the key provided

Exceptions

◆ get_float()

double eii::msgbus::MsgEnvelopeObject::get_float ( const std::string  key)

To fetch a float value associated with the key provided

Exceptions

◆ get_int()

int64_t eii::msgbus::MsgEnvelopeObject::get_int ( const std::string  key)

To fetch an integer value associated with the key provided

Exceptions

◆ get_msg_envelope_element()

MsgEnvelopeElement* eii::msgbus::MsgEnvelopeObject::get_msg_envelope_element ( const std::string  key)

To fetch a MsgEnvelopeElement value associated with the key provided

Exceptions

◆ get_msg_envelope_object()

msg_envelope_elem_body_t* eii::msgbus::MsgEnvelopeObject::get_msg_envelope_object ( )

Getter to retrieve the underlying msg_envelope_elem_body_t structure

Returns
msg_envelope_elem_body_t - returns the msg_envelope_elem_body_t struct

◆ get_string()

const char* eii::msgbus::MsgEnvelopeObject::get_string ( const std::string  key)

To fetch a string associated with the key provided

Exceptions

◆ put_bool()

void eii::msgbus::MsgEnvelopeObject::put_bool ( const std::string  key,
bool  value 
)

Add a new boolean value to the MsgEnvelopeObject.

Exceptions

◆ put_float()

void eii::msgbus::MsgEnvelopeObject::put_float ( const std::string  key,
double  value 
)

Add a new integer value to the MsgEnvelopeObject.

Exceptions

◆ put_integer()

void eii::msgbus::MsgEnvelopeObject::put_integer ( const std::string  key,
int64_t  value 
)

Add a new integer value to the MsgEnvelopeObject.

Exceptions

◆ put_string()

void eii::msgbus::MsgEnvelopeObject::put_string ( const std::string  key,
const std::string  value 
)

Add a new string value to the MsgEnvelopeObject.

Exceptions

◆ remove()

void eii::msgbus::MsgEnvelopeObject::remove ( const std::string  key)

To remove value associated with the key provided

Exceptions

The documentation for this class was generated from the following file: