![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class acts as a collection of historical data for a particular map version for import to a map. It should be populated with a list of extents and user-defined version numbers that correspond to the information for each tile in the map that history is wanted for. Once populated the object should be passed to TSLDataLayer::importHistory() for import into the map. When flashback is activated using a TSLLayerArchiveTileCallback the user version that is associated with the tiles needing to be loaded for the requested map version will be passed to the callback.
Public Member Functions | |
TSLHistoryImportSet () | |
bool | addTileHistory (const TSLEnvelope &tileExtent, int userVersion) |
void | destroy () |
void * | operator new (size_t size) TSL_NO_THROW |
void * | operator new (size_t size, char *filename, int line) |
TSLHistoryImportSet::TSLHistoryImportSet | ( | ) |
bool TSLHistoryImportSet::addTileHistory | ( | const TSLEnvelope & | tileExtent, |
int | userVersion ) |
Adds an extent and associated version number to this set. The extent will usually correspond to the extent of a tile in the map.
void TSLHistoryImportSet::destroy | ( | ) |
Deletes this object.
void * TSLHistoryImportSet::operator new | ( | size_t | size | ) |
Overridden allocation to redirect to MapLink.
void * TSLHistoryImportSet::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.