OpenAB
1.0.1
|
Helper class handling DAV responses parsing. More...
#include <DAVHelper.hpp>
Classes | |
struct | DAVPropStat |
DAV PropStat. More... | |
struct | DAVResponse |
DAV Response. More... | |
Public Types | |
typedef unsigned int | DAVStatusCode |
DAV response status code - uses the same values as HTTP response codes. More... | |
Public Member Functions | |
DAVHelper () | |
Constructor. More... | |
virtual | ~DAVHelper () |
Destructor, virtual by default. More... | |
bool | parseDAVMultistatus (const std::string &xml, std::vector< DAVResponse > &responses) |
Parses multistatus DAV response. More... | |
bool | parseDAVMultistatus (const std::string &xml, std::vector< DAVResponse > &responses, std::string &syncToken) |
Static Public Attributes | |
static const std::string | PROPERTY_ETAG = "getetag" |
static const std::string | PROPERTY_CTAG = "getctag" |
static const std::string | PROPERTY_SYNC_TOKEN = "sync-token" |
static const std::string | PROPERTY_RESOURCE_TYPE = "resourcetype" |
static const std::string | PROPERTY_RESOURCE_TYPE_ADDRESSBOOK = "resourcetype:addressbook" |
static const std::string | PROPERTY_RESOURCE_TYPE_CALENDAR = "resourcetype:calendar" |
static const std::string | PROPERTY_ADDRESSBOOK_HOME_SET_HREF = "addressbook-home-set:href" |
static const std::string | PROPERTY_CALENDAR_HOME_SET_HREF = "calendar-home-set:href" |
static const std::string | PROPERTY_CURRENT_USER_PRINCIPAL_HREF = "current-user-principal:href" |
static const std::string | PROPERTY_ADDRESS_DATA = "address-data" |
static const std::string | PROPERTY_CALENDAR_DATA = "calendar-data" |
static const std::string | PROPERTY_DISPLAY_NAME = "displayname" |
static const std::string | PROPERTY_SUPPORTED_CALENDAR_COMPONENT_SET_EVENT = "supported-calendar-component-set:comp:VEVENT" |
static const std::string | PROPERTY_SUPPORTED_CALENDAR_COMPONENT_SET_TODO = "supported-calendar-component-set:comp:VTODO" |
static const std::string | PROPERTY_SUPPORTED_CALENDAR_COMPONENT_SET_JOURNAL = "supported-calendar-component-set:comp:VJOURNAL" |
static const std::string | ERROR_UID_CONFLICT = "no-uid-conflict" |
Helper class handling DAV responses parsing.
typedef unsigned int DAVHelper::DAVStatusCode |
DAV response status code - uses the same values as HTTP response codes.
DAVHelper::DAVHelper | ( | ) |
Constructor.
|
virtual |
Destructor, virtual by default.
bool DAVHelper::parseDAVMultistatus | ( | const std::string & | xml, |
std::vector< DAVResponse > & | responses | ||
) |
Parses multistatus DAV response.
[in] | xml | DAV response in XML format. |
[out] | responses | vector where parsed responses will be stored |
bool DAVHelper::parseDAVMultistatus | ( | const std::string & | xml, |
std::vector< DAVResponse > & | responses, | ||
std::string & | syncToken | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |