Factory for creating KeyValueItem object.
More...
#include <PIMCalendarItem.hpp>
Factory for creating KeyValueItem object.
OpenAB::KeyValueItemFactory::KeyValueItemFactory |
( |
| ) |
|
|
inline |
virtual OpenAB::KeyValueItemFactory::~KeyValueItemFactory |
( |
| ) |
|
|
inlinevirtual |
KeyValueItem * OpenAB::KeyValueItemFactory::createItem |
( |
const std::string & |
componentType | ) |
|
|
static |
creates KeyValueItem that can be used for parsing given component type
- Parameters
-
[in] | componentType | name of component |
- Returns
- new KeyValueItem for given componentType, if there is no special class registered for handling given component type default one (KeyValueItem) will be returned.
virtual KeyValueItem* OpenAB::KeyValueItemFactory::createItem |
( |
| ) |
|
|
protectedpure virtual |
void OpenAB::KeyValueItemFactory::registerFactory |
( |
KeyValueItemFactory * |
factory, |
|
|
const std::string & |
componentType |
|
) |
| |
|
static |
Registers factory for given component type.
- Parameters
-
[in] | factory | to be registered |
[in] | component | type for which factory should be registered |
The documentation for this class was generated from the following files: