![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
Specialist EntityRefHandler for handling user-defined storage of entity references.
Protected Member Functions | |
~TSLSLMEntityRefHandlerCustom () | |
![]() | |
TSLSLMEntityRefHandler () | |
~TSLSLMEntityRefHandler () | |
TSLSLMEntityRefHandlerCustom::TSLSLMEntityRefHandlerCustom | ( | ) |
Default constructor.
|
protected |
Protected destructor to stop being instantiated on the stack. Forces user to use new operator and destroy method.
bool TSLSLMEntityRefHandlerCustom::isValid | ( | ) | const |
Returns true if a TSLSLMEntityRefHandlerClientCustom object has been attached, false otherwise.
void * TSLSLMEntityRefHandlerCustom::operator new | ( | size_t | ) |
Allocation override for API redirection.
void * TSLSLMEntityRefHandlerCustom::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.
void TSLSLMEntityRefHandlerCustom::setClientEntityRefHandler | ( | TSLSLMEntityRefHandlerClientCustom * | client | ) |
Attaches an instance of TSLSLMEntityRefHandlerClientCustom to the TSLSLMEntityRefHandlerCustom.
This should be used to attach a handle to the developer's TSLSLMEntityRefHandler-derived class.
client | A pointer to a TSLSLMEntityRefHandler-derived class. |