MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLHistoryImportSet Class Reference

Detailed Description

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)
 

Constructor & Destructor Documentation

◆ TSLHistoryImportSet()

TSLHistoryImportSet::TSLHistoryImportSet ( )

Member Function Documentation

◆ addTileHistory()

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.

◆ destroy()

void TSLHistoryImportSet::destroy ( )

Deletes this object.

◆ operator new() [1/2]

void * TSLHistoryImportSet::operator new ( size_t size)

Overridden allocation to redirect to MapLink.

◆ operator new() [2/2]

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.