#include <xplMsgItem.h>
Inherited by xplConfigItem.
An xplMsg object will contain one xplMsgItem for each unique name in its list of name=value pairs. Where there are multiple name=value pairs using the same name, the xplMsgItem will contain all the values.
Public Member Functions | |
xplMsgItem (string const &_name) | |
Constructor. | |
~xplMsgItem () | |
Destructor. | |
string const & | GetName () const |
Gets the name of this item. | |
uint32 const | GetNumValues () const |
Gets the number of values stored in this item. | |
string const | GetValue (const uint32 _index=0) const |
Gets specific value. | |
virtual bool | AddValue (string const &_value, char const _delimiter= ',') |
Adds a value to this item. | |
bool | SetValue (string const &_value, const uint32 _index=0) |
Changes a specific value. | |
void | ClearValues () |
Removes all the values stored in this item. |