MapLink Pro 11.1.2.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Loading...
Searching...
No Matches
TSLSLMEntityRef Class Reference

Detailed Description

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)
 
TSLSLMEntityRefoperator= (const TSLSLMEntityRef &other)
 
bool broken () const
 
void destroy ()
 
const TSLEnvelopeextent () 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)
 

Constructor & Destructor Documentation

◆ TSLSLMEntityRef() [1/2]

TSLSLMEntityRef::TSLSLMEntityRef ( TSLEntityID entityID,
const TSLEnvelope & entityExtent,
TSLVersion entityVersion,
unsigned int session,
unsigned int tileID,
TSLVersion lastImportedVersion,
bool broken,
bool found )

Constructor.

Parameters
entityIDThe entity ID
entityExtentThe extent
entityVersionThe version
sessionThe ID of the import session
tileIDThe ID of the tile that contains the entity reference
lastImportedVersionThe last imported version of the entity
brokenThe broken status of the entity
foundThe found status of the entity

◆ TSLSLMEntityRef() [2/2]

TSLSLMEntityRef::TSLSLMEntityRef ( const TSLSLMEntityRef & other)

Copy constructor.

Member Function Documentation

◆ broken()

bool TSLSLMEntityRef::broken ( ) const

Returns the broken status of the selected entity.

◆ destroy()

void TSLSLMEntityRef::destroy ( )

Destroy a TSLSLMEntityRef object.

◆ extent()

const TSLEnvelope & TSLSLMEntityRef::extent ( ) const

This method returns the extent of the selected entity.

◆ found() [1/2]

bool TSLSLMEntityRef::found ( ) const

Returns the found state of the selected entity.

◆ found() [2/2]

void TSLSLMEntityRef::found ( bool isFound)

Sets the found status of this entity reference.

◆ id()

TSLEntityID TSLSLMEntityRef::id ( ) const

This method returns the ID of the referenced entity.

◆ lastImportedVersion()

TSLVersion TSLSLMEntityRef::lastImportedVersion ( ) const

Returns the last imported version recorded for the selected entity.

◆ operator new() [1/2]

void * TSLSLMEntityRef::operator new ( size_t )

Allocation override for API redirection.

◆ operator new() [2/2]

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.

◆ operator=()

TSLSLMEntityRef & TSLSLMEntityRef::operator= ( const TSLSLMEntityRef & other)

Assignment operator.

◆ session()

unsigned int TSLSLMEntityRef::session ( ) const

This method returns the ID of the seamless import session.

◆ tileID()

unsigned int TSLSLMEntityRef::tileID ( ) const

This method returns the ID of the tile that contains the entity reference.

◆ vacated()

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.

◆ version()

TSLVersion TSLSLMEntityRef::version ( ) const

This method returns the version of the selected entity.