![]() |
MapLink Pro 11.1.2.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class models TOID related information.
Public Member Functions | |
TSLSLMEntityRef (TSLEntityID entityID, const TSLEnvelope &entityExtent, TSLVersion entityVersion, unsigned int session, unsigned int tileID, TSLVersion lastImportedVersion, bool broken, bool found) | |
TSLSLMEntityRef (const TSLSLMEntityRef &other) | |
TSLSLMEntityRef & | operator= (const TSLSLMEntityRef &other) |
bool | broken () const |
void | destroy () |
const TSLEnvelope & | extent () const |
bool | found () const |
void | found (bool isFound) |
TSLEntityID | id () const |
TSLVersion | lastImportedVersion () const |
unsigned int | session () const |
TSLVersion | version () const |
unsigned int | tileID () const |
bool | vacated () const |
void * | operator new (size_t) TSL_NO_THROW |
void * | operator new (size_t, char *, int) |
TSLSLMEntityRef::TSLSLMEntityRef | ( | TSLEntityID | entityID, |
const TSLEnvelope & | entityExtent, | ||
TSLVersion | entityVersion, | ||
unsigned int | session, | ||
unsigned int | tileID, | ||
TSLVersion | lastImportedVersion, | ||
bool | broken, | ||
bool | found ) |
Constructor.
entityID | The entity ID |
entityExtent | The extent |
entityVersion | The version |
session | The ID of the import session |
tileID | The ID of the tile that contains the entity reference |
lastImportedVersion | The last imported version of the entity |
broken | The broken status of the entity |
found | The found status of the entity |
TSLSLMEntityRef::TSLSLMEntityRef | ( | const TSLSLMEntityRef & | other | ) |
Copy constructor.
bool TSLSLMEntityRef::broken | ( | ) | const |
Returns the broken status of the selected entity.
void TSLSLMEntityRef::destroy | ( | ) |
Destroy a TSLSLMEntityRef object.
const TSLEnvelope & TSLSLMEntityRef::extent | ( | ) | const |
This method returns the extent of the selected entity.
bool TSLSLMEntityRef::found | ( | ) | const |
Returns the found state of the selected entity.
void TSLSLMEntityRef::found | ( | bool | isFound | ) |
Sets the found status of this entity reference.
TSLEntityID TSLSLMEntityRef::id | ( | ) | const |
This method returns the ID of the referenced entity.
TSLVersion TSLSLMEntityRef::lastImportedVersion | ( | ) | const |
Returns the last imported version recorded for the selected entity.
void * TSLSLMEntityRef::operator new | ( | size_t | ) |
Allocation override for API redirection.
void * TSLSLMEntityRef::operator new | ( | size_t | , |
char * | , | ||
int | ) |
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.
TSLSLMEntityRef & TSLSLMEntityRef::operator= | ( | const TSLSLMEntityRef & | other | ) |
Assignment operator.
unsigned int TSLSLMEntityRef::session | ( | ) | const |
This method returns the ID of the seamless import session.
unsigned int TSLSLMEntityRef::tileID | ( | ) | const |
This method returns the ID of the tile that contains the entity reference.
bool TSLSLMEntityRef::vacated | ( | ) | const |
This method returns if the entity is vacated.
A vacated entity has no geometry present in the map and so a call to TSLMapDataLayer::findEntityID will return NULL, but has not been fully deleted. A future update to the map may still introduce a new version of the entity into the map, at which point the entity will no longer be vacated.
TSLVersion TSLSLMEntityRef::version | ( | ) | const |
This method returns the version of the selected entity.