OpenAB
1.0.1
|
Documentation for class PIMCalendarItem. More...
#include <PIMCalendarItem.hpp>
Public Member Functions | |
PIMCalendarItem (PIMItemType t) | |
Constructor. More... | |
virtual | ~PIMCalendarItem ()=0 |
Destructor, virtual by default. More... | |
bool | parse (const std::string &iCalendar) |
Parses item from string. Format of string to be parsed from depends on type of item. More... | |
SmartPtr< PIMItemIndex > | getIndex () |
Returns index for given item. More... | |
std::string | getRawData () const |
Returns raw data of item. Format of raw data depends on type of item. More... | |
Public Member Functions inherited from OpenAB::PIMItem | |
PIMItem (PIMItemType t) | |
Constructor. More... | |
virtual | ~PIMItem () |
Destructor, virtual by default. More... | |
virtual ID | getId () const |
Returns Source/Storage specific id of item. Can be empty, as not all Sources/Storages provides id of items. More... | |
virtual void | setId (const ID &id, bool replace=false) |
Sets id of item. More... | |
virtual Revision | getRevision () const |
Returns Source/Storage specific revision of item. Can be empty, as not all Sources/Storages provides revision of items. More... | |
virtual void | setRevision (const Revision &rev) |
Sets revision of item. More... | |
PIMItemType | getType () const |
Returns type of item. More... | |
Public Member Functions inherited from OpenAB::KeyValueItem | |
KeyValueItem () | |
default constructor More... | |
virtual | ~KeyValueItem () |
bool | parse (const std::string &rawData) |
parses item from raw data string More... | |
std::map< std::string, std::vector< ItemField > > & | getFields () |
Returns all fields of item. More... | |
Additional Inherited Members | |
Public Types inherited from OpenAB::PIMItem | |
typedef std::string | ID |
typedef std::string | Revision |
typedef std::vector < OpenAB::PIMItem::ID > | IDs |
typedef std::vector < OpenAB::PIMItem::Revision > | Revisions |
Protected Member Functions inherited from OpenAB::KeyValueItem | |
virtual bool | processField () |
Handler that processed contents of given fields. Can be override in child classes. More... | |
Protected Attributes inherited from OpenAB::PIMItem | |
PIMItemType | type |
ID | id |
Revision | revision |
Protected Attributes inherited from OpenAB::KeyValueItem | |
std::string | currentLine |
std::string | currentFieldName |
std::string | currentFieldValue |
std::string | currentFieldValueOriginal |
std::map< std::string, std::vector< ItemField > > | fields |
std::map< std::string, std::vector< SmartPtr < KeyValueItem > > > | subcomponents |
Documentation for class PIMCalendarItem.
OpenAB::PIMCalendarItem::PIMCalendarItem | ( | PIMItemType | t | ) |
Constructor.
|
pure virtual |
Destructor, virtual by default.
|
virtual |
|
virtual |
Returns raw data of item. Format of raw data depends on type of item.
Implements OpenAB::PIMItem.
|
virtual |
Parses item from string. Format of string to be parsed from depends on type of item.
[in] | raw | raw data to be parsed. |
Implements OpenAB::PIMItem.