Stores information about a particular DataStore. More...
Public Types | |
|
typedef std::map< std::string, int64_bt > | StatusMap |
Public Member Functions | |
| DataSyncStatusSet () | |
| Ctor. | |
| DataSyncStatusSet (const std::string &a_string) | |
| ~DataSyncStatusSet () | |
| Dtor. | |
| void | init (const std::string &a_string) |
| inits the DataSyncStatusSet | |
| int64_bt | getNextVersion (const std::string &a_creator) |
| Returns the next version for a given creator. | |
| int64_bt | getVersion (const std::string &a_creator) const |
| Returns the version for a given creator, -1 if not available. | |
| void | updateStatusSet (const std::string &a_creator, int64_bt a_version) |
| Updates the status set for a given creator. | |
| void | updateStatusSet (const DataSyncStatusSet &a_statusSet) |
| std::vector< DataSyncStatusDelta > | getDelta (const DataSyncStatusSet &a_statusSet) |
| Returns the difference betwen two status sets. | |
| std::string | toString () const |
| Serializes a staus set into a string. | |
| bool | operator== (const DataSyncStatusSet &a_other) const |
| Compares the status set to another set. | |
| bool | operator!= (const DataSyncStatusSet &a_other) const |
| Compares the status set to another set. | |
Stores information about a particular DataStore.
| Tonido::DataSync::DataSyncStatusSet::DataSyncStatusSet | ( | ) |
Ctor.
Details if needed
| Tonido::DataSync::DataSyncStatusSet::~DataSyncStatusSet | ( | ) |
Dtor.
Details if needed