![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class holds the complete list of versions and timestamps for a data layer. It represents the version history of the layer. The timestamp indicates the time at which each version of the data layer was archived.
Public Member Functions | |
TSLVersionHistorySet () | |
void | destroy () |
bool | empty () const |
void | getHistory (int N, TSLHistoryVersion &version, TSLHistoryTimestamp ×tamp, const TSLVersionUserInfo *&userInfo) const |
TSLHistoryVersion | getCurrentArchiveVersion () const |
TSLHistoryVersion | getNearestArchiveVersion (TSLHistoryTimestamp timestamp) const |
int | size () const |
void * | operator new (size_t size) TSL_NO_THROW |
void * | operator new (size_t size, char *filename, int line) |
TSLVersionHistorySet::TSLVersionHistorySet | ( | ) |
Default constructor
void TSLVersionHistorySet::destroy | ( | ) |
Destroy method - used to delete the object.
bool TSLVersionHistorySet::empty | ( | ) | const |
Returns true if the collection is empty, false otherwise.
TSLHistoryVersion TSLVersionHistorySet::getCurrentArchiveVersion | ( | ) | const |
Returns the version number that is currently being archived.
void TSLVersionHistorySet::getHistory | ( | int | N, |
TSLHistoryVersion & | version, | ||
TSLHistoryTimestamp & | timestamp, | ||
const TSLVersionUserInfo *& | userInfo ) const |
Returns information for the Nth history in the collection.
N | The index required. |
version | The version number of the Nth history. |
timestamp | The timestamp of the Nth history. |
userInfo | A list of the user versions and their change extents for the Nth history. Note that the user should not attempt to modify the contents of this list. |
TSLHistoryVersion TSLVersionHistorySet::getNearestArchiveVersion | ( | TSLHistoryTimestamp | timestamp | ) | const |
Returns the version number of the history that most closely matches the given timestamp.
timestamp | The timestamp. |
void * TSLVersionHistorySet::operator new | ( | size_t | size | ) |
Overridden allocation to redirect to MapLink.
void * TSLVersionHistorySet::operator new | ( | size_t | size, |
char * | filename, | ||
int | line ) |
When included in an MFC application in debug mode, the debug new expects this to be here. Override it and return the same as the normal one. The library must include it when compiled in release mode, since the user's application may be in debug mode.
int TSLVersionHistorySet::size | ( | ) | const |
Returns the size of the collection.