xplMsgItem Class Reference

#include <xplMsgItem.h>

Inherited by xplConfigItem.

List of all members.


Detailed Description

Represents name=value pairs in an xPL message body.

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.


Generated on Sun Jan 21 14:30:24 2007 for xPL SDK by  doxygen 1.5.1-p1