Documentation for class PIMItemIndex. PIMItemIndex is a PIMItem representation used to match and compare PIMItems. Set of PIMItem fields is stored along with comparison rules allowing matching and comparing of PIMItems. PIMItemIndex is intended to be used by OpenAB_Sync::Sync plugins.
More...
#include <PIMItemIndex.hpp>
|
struct | PIMItemCheck |
| Definition of check that will be made on PIMItemIndex instances when comparing them. Each check checks single field of PIMItem, and based on its role, detects if items are totally different, or items are modified version of the same item. More...
|
|
|
bool | compareVectors (const std::vector< std::string > &v1, const std::vector< std::string > &v2) const |
|
Documentation for class PIMItemIndex. PIMItemIndex is a PIMItem representation used to match and compare PIMItems. Set of PIMItem fields is stored along with comparison rules allowing matching and comparing of PIMItems. PIMItemIndex is intended to be used by OpenAB_Sync::Sync plugins.
Constructor.
- Parameters
-
[in] | t | type of item that index is representing. |
OpenAB::PIMItemIndex::~PIMItemIndex |
( |
| ) |
|
|
virtual |
Destructor, virtual by default.
void OpenAB::PIMItemIndex::addConflictField |
( |
const std::string & |
name, |
|
|
const std::string & |
value |
|
) |
| |
|
virtual |
void OpenAB::PIMItemIndex::addKeyField |
( |
const std::string & |
name, |
|
|
const std::string & |
value |
|
) |
| |
|
virtual |
virtual bool OpenAB::PIMItemIndex::compare |
( |
const PIMItemIndex & |
other | ) |
const |
|
pure virtual |
bool OpenAB::PIMItemIndex::compareVectors |
( |
const std::vector< std::string > & |
v1, |
|
|
const std::vector< std::string > & |
v2 |
|
) |
| const |
|
protected |
Returns type of item that index is representing.
- Returns
- type of item that index is representing
virtual bool OpenAB::PIMItemIndex::operator!= |
( |
const PIMItemIndex & |
other | ) |
const |
|
pure virtual |
virtual bool OpenAB::PIMItemIndex::operator< |
( |
const PIMItemIndex & |
other | ) |
const |
|
pure virtual |
virtual bool OpenAB::PIMItemIndex::operator== |
( |
const PIMItemIndex & |
other | ) |
const |
|
pure virtual |
virtual std::string OpenAB::PIMItemIndex::toString |
( |
| ) |
const |
|
pure virtual |
virtual std::string OpenAB::PIMItemIndex::toStringFull |
( |
| ) |
const |
|
pure virtual |
std::string OpenAB::PIMItemIndex::cached_to_string |
|
mutableprotected |
std::vector<std::string> OpenAB::PIMItemIndex::conflict_fields |
|
protected |
std::vector<std::string> OpenAB::PIMItemIndex::conflict_fields_names |
|
protected |
std::vector<std::string> OpenAB::PIMItemIndex::key_fields |
|
protected |
std::vector<std::string> OpenAB::PIMItemIndex::key_fields_names |
|
protected |
The documentation for this class was generated from the following files: