MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLSLMEntityRefHandlerFile Class Reference
Inheritance diagram for TSLSLMEntityRefHandlerFile:

Detailed Description

An EntityRefHandler which stores the entity references via files.

Public Member Functions

 TSLSLMEntityRefHandlerFile ()
 
 TSLSLMEntityRefHandlerFile (const TSLSeamlessLayerConfig &config)
 
void cacheSize (long size)
 
void * operator new (size_t) TSL_NO_THROW
 
void * operator new (size_t, char *, int)
 
- Public Member Functions inherited from TSLSLMEntityRefHandler
TSLSLMEntityRefaddEntityRef (const TSLEntity *entity)
 
void clearEntityRefFoundStatus ()
 
TSLSeamlessLayerConfigconfig ()
 
void destroy ()
 
TSLSLMEntityRefgetEntityRef (const TSLEntityID &entityID)
 
TSLSLMEntityRefgetEntityRef (const TSLEntity *entity)
 
bool getOrphanEntityRefs (TSLSLMEntityRef ***references, int &number)
 
const char * layerName () const
 
const TSLSeamlessLayerManagermanager () const
 
bool removeEntityRef (const TSLEntityID &entityID)
 
TSLSLMEntityRefHandlerType type ()
 
bool updateEntityRef (TSLSLMEntityRef *entityRef)
 
TSLSLMEntityRefValidationEnum validateEntityRef (TSLEntityID entityID, TSLVersion version)
 
bool validateEntityRefsFromFiles (const TSLSLMEntityRef **references, int referenceCount, const TSLSimpleString &path, TSLSLMEntityRef **&failures, int &failuresCount)
 
void cacheSize (long size)
 

Protected Member Functions

 ~TSLSLMEntityRefHandlerFile ()
 
- Protected Member Functions inherited from TSLSLMEntityRefHandler
 TSLSLMEntityRefHandler ()
 
 ~TSLSLMEntityRefHandler ()
 

Constructor & Destructor Documentation

◆ TSLSLMEntityRefHandlerFile() [1/2]

TSLSLMEntityRefHandlerFile::TSLSLMEntityRefHandlerFile ( )

Default constructor.

◆ TSLSLMEntityRefHandlerFile() [2/2]

TSLSLMEntityRefHandlerFile::TSLSLMEntityRefHandlerFile ( const TSLSeamlessLayerConfig & config)

Constructor given a seamless layer configuration object.

Parameters
configA reference to a const configuration object.

◆ ~TSLSLMEntityRefHandlerFile()

TSLSLMEntityRefHandlerFile::~TSLSLMEntityRefHandlerFile ( )
protected

Protected destructor to stop being instantiated on the stack. Forces user to use new operator and destroy method.

Member Function Documentation

◆ cacheSize()

void TSLSLMEntityRefHandlerFile::cacheSize ( long size)

Set a new cache size.

Parameters
sizecache size.

◆ operator new() [1/2]

void * TSLSLMEntityRefHandlerFile::operator new ( size_t )

Allocation override for API redirection.

◆ operator new() [2/2]

void * TSLSLMEntityRefHandlerFile::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.