![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class defines an interface which allows entities to be added/modified/deleted from a database store during import of seamless layer data.
Public Member Functions | |
virtual | ~TSLSLMEntityStoreHandler () |
virtual bool | addEntity (const TSLEntity *entity)=0 |
virtual bool | modifyEntity (const TSLEntity *entity)=0 |
virtual bool | onBeginImport (const TSLDataHandler *dataHandler)=0 |
virtual bool | onEndImport (bool importSuccess)=0 |
virtual bool | removeEntity (const TSLEntity *entity)=0 |
|
virtual |
|
pure virtual |
Called when an entity should be added to the store.
entity | The new entity. |
|
pure virtual |
Called when an entity should be updated in the store.
entity | The modified entity. |
|
pure virtual |
Called at the start of the data import process.
dataHandler | The data handler associated with the imported entities. |
Clients should return a value of true to allow the SeamlessLayer manager to perform the import of data. A return value of false will force the onEndImport() method to be called immediately.
|
pure virtual |
Called at the end of the data import process.
importSuccess | A bool flag which indicates whether the main import process was successful. |
A return value of false signifies that the derived-class object has encountered an error in its tidy-up phase.
|
pure virtual |
Called when an entity should be removed from the store.
entity | The entity to remove. |