Class representing item containing fields in form of key value pairs, that can contain additional parameters for each field. Each item can also contain nested items.
More...
#include <PIMCalendarItem.hpp>
|
virtual bool | processField () |
| Handler that processed contents of given fields. Can be override in child classes. More...
|
|
Class representing item containing fields in form of key value pairs, that can contain additional parameters for each field. Each item can also contain nested items.
OpenAB::KeyValueItem::KeyValueItem |
( |
| ) |
|
OpenAB::KeyValueItem::~KeyValueItem |
( |
| ) |
|
|
virtual |
std::map<std::string, std::vector<ItemField> >& OpenAB::KeyValueItem::getFields |
( |
| ) |
|
|
inline |
Returns all fields of item.
- Returns
- all fields of item.
bool OpenAB::KeyValueItem::parse |
( |
const std::string & |
rawData | ) |
|
parses item from raw data string
- Parameters
-
[in] | rawData | string to be parsed |
- Returns
- true if string was parsed successfully, false otherwise
bool OpenAB::KeyValueItem::processField |
( |
| ) |
|
|
protectedvirtual |
std::string OpenAB::KeyValueItem::currentFieldName |
|
protected |
std::string OpenAB::KeyValueItem::currentFieldValue |
|
protected |
std::string OpenAB::KeyValueItem::currentFieldValueOriginal |
|
protected |
std::string OpenAB::KeyValueItem::currentLine |
|
protected |
std::map<std::string, std::vector<ItemField> > OpenAB::KeyValueItem::fields |
|
protected |
The documentation for this class was generated from the following files: