MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLIslandMergeSet Class Reference

Detailed Description

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 ()
 
TSLIslandMergeIteratoriterator ()
 
TSLIslandMergeIteratoriterator (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)
 

Constructor & Destructor Documentation

◆ TSLIslandMergeSet()

TSLIslandMergeSet::TSLIslandMergeSet ( )

Default constructor.

Member Function Documentation

◆ destroy()

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().

◆ iterator() [1/2]

TSLIslandMergeIterator * TSLIslandMergeSet::iterator ( )

Returns an iterator to all the islands.

The caller is responsible for destroying the iterator.

◆ iterator() [2/2]

TSLIslandMergeIterator * TSLIslandMergeSet::iterator ( TSLIslandStatusEnum status)

Returns an iterator to the islands of a given status.

Parameters
statusThe required status.

The caller is responsible for destroying the iterator.

◆ operator delete()

void TSLIslandMergeSet::operator delete ( void * )

◆ operator new() [1/2]

void * TSLIslandMergeSet::operator new ( size_t )

Allocation override for API redirection.

◆ operator new() [2/2]

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.

◆ size() [1/2]

int TSLIslandMergeSet::size ( ) const

Returns the number of islands in the collection.

◆ size() [2/2]

int TSLIslandMergeSet::size ( TSLIslandStatusEnum status) const

Returns the number of islands of the given status.

Parameters
statusThe required status.