![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class represents the result of merging islands.
It captures all the islands that are input to the merge and any newly-created islands. It then associates status information with each island.
This class takes ownership of all merged islands except those whose status is TSLIslandStatusUnchanged.
Public Member Functions | |
TSLIslandMergeSet () | |
void | destroy () |
TSLIslandMergeIterator * | iterator () |
TSLIslandMergeIterator * | iterator (TSLIslandStatusEnum status) |
int | size () const |
int | size (TSLIslandStatusEnum status) const |
void * | operator new (size_t) |
void | operator delete (void *) |
void * | operator new (size_t, char *, int) |
TSLIslandMergeSet::TSLIslandMergeSet | ( | ) |
Default constructor.
void TSLIslandMergeSet::destroy | ( | ) |
Used to delete the object. All islands will be deleted unless their status is TSLIslandStatusUnchanged or ownership has been transferred to the client via TSLIslandMergeIterator::removeIsland().
TSLIslandMergeIterator * TSLIslandMergeSet::iterator | ( | ) |
Returns an iterator to all the islands.
The caller is responsible for destroying the iterator.
TSLIslandMergeIterator * TSLIslandMergeSet::iterator | ( | TSLIslandStatusEnum | status | ) |
Returns an iterator to the islands of a given status.
status | The required status. |
The caller is responsible for destroying the iterator.
void TSLIslandMergeSet::operator delete | ( | void * | ) |
void * TSLIslandMergeSet::operator new | ( | size_t | ) |
Allocation override for API redirection.
void * TSLIslandMergeSet::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.
int TSLIslandMergeSet::size | ( | ) | const |
Returns the number of islands in the collection.
int TSLIslandMergeSet::size | ( | TSLIslandStatusEnum | status | ) | const |
Returns the number of islands of the given status.
status | The required status. |