10 #ifndef PIMCALENDARITEMINDEX_HPP_
11 #define PIMCALENDARITEMINDEX_HPP_
48 static bool addCheck(
const std::string& fieldName,
56 static bool removeCheck(
const std::string& fieldName);
153 #endif // PIMCALENDARITEMINDEX_HPP_
std::string toString() const
Returns string version of PIMItemIndex. It contains only PIMItemCheck::eKey fields.
Definition: PIMCalendarItemIndex.cpp:66
eFieldRole
Definition: PIMItemIndex.hpp:60
virtual bool equal(const PIMItemIndex &other) const
Definition: PIMCalendarItemIndex.cpp:150
virtual ~PIMCalendarItemIndex()
Destructor, virtual by default.
Definition: PIMCalendarItemIndex.cpp:22
static std::vector< PIMItemCheck > fields_desc
Definition: PIMCalendarItemIndex.hpp:114
bool operator==(const PIMItemIndex &other) const
Compare operator. Checks if two PIMItemIndex matches (may not be exactly the same) ...
Definition: PIMCalendarItemIndex.cpp:37
Definition: PIMCalendarItemIndex.hpp:137
Documentation for class PIMCalendarItemIndex. It implements PIMItemIndex for OpenAB::eEvent or OpenAB...
Definition: PIMCalendarItemIndex.hpp:25
std::string toStringFull() const
Returns string version of PIMItemIndex. It contains both PIMItemCheck::eKey and PIMItemCheck::eConfli...
Definition: PIMCalendarItemIndex.cpp:81
Definition: PIMCalendarItemIndex.hpp:123
static bool addCheck(const std::string &fieldName, PIMItemCheck::eFieldRole role)
Defines new PIMItemCheck for PIMCalendarItemIndex objects.
Definition: PIMCalendarItemIndex.cpp:105
PIMCalendarEventItemIndex()
Constructor.
Definition: PIMCalendarItemIndex.cpp:170
static bool removeCheck(const std::string &fieldName)
Removes check for PIMCalendarItemIndex objects.
Definition: PIMCalendarItemIndex.cpp:122
PIMCalendarItemIndex(PIMItemType t)
Constructor.
Definition: PIMCalendarItemIndex.cpp:17
static void clearAllChecks()
Removes all defined PIMItemCheck for PIMCalendarItemIndex.
Definition: PIMCalendarItemIndex.cpp:95
virtual bool notEqual(const PIMItemIndex &other) const
Definition: PIMCalendarItemIndex.cpp:157
bool compare(const PIMItemIndex &other) const
Compares two PIMItemIndex object, checks if two PIMItemIndex are exactly the same. In opposite to compare operator it checks PIMItemCheck::eConflict fields.
Definition: PIMCalendarItemIndex.cpp:27
PIMCalendarTaskItemIndex()
Constructor.
Definition: PIMCalendarItemIndex.cpp:181
PIMItemType
Definition: PIMItemIndex.hpp:24
bool operator!=(const PIMItemIndex &other) const
Compare operator. Checks if two PIMItemIndex not matches (are totally different)
Definition: PIMCalendarItemIndex.cpp:46
virtual ~PIMCalendarEventItemIndex()
Destructor, virtual by default.
Definition: PIMCalendarItemIndex.cpp:176
virtual bool lessThan(const PIMItemIndex &other) const
Definition: PIMCalendarItemIndex.cpp:165
virtual bool compareWith(const PIMItemIndex &other) const
Definition: PIMCalendarItemIndex.cpp:137
bool operator<(const PIMItemIndex &other) const
Compare operator.
Definition: PIMCalendarItemIndex.cpp:55
virtual ~PIMCalendarTaskItemIndex()
Destructor, virtual by default.
Definition: PIMCalendarItemIndex.cpp:187
static std::vector< PIMItemCheck > getAllChecks()
Returns all defined PIMItemCheck for PIMCalendarItemIndex objects.
Definition: PIMCalendarItemIndex.cpp:100
Documentation for class PIMItemIndex. PIMItemIndex is a PIMItem representation used to match and comp...
Definition: PIMItemIndex.hpp:37