#include <NCollection_Set.hxx>
Inheritance diagram for NCollection_Set< TheItemType >:
Public Types | |
typedef NCollection_TListNode< TheItemType > | SetNode |
typedef NCollection_TListIterator< TheItemType > | Iterator |
Public Member Functions | |
NCollection_Set (const Handle(NCollection_BaseAllocator)&theAllocator=0L) | |
Constructor. | |
NCollection_Set (const NCollection_Set &theOther) | |
Copy constructor. | |
virtual Standard_Integer | Size (void) const |
Size - Number of items. | |
virtual void | Assign (const NCollection_BaseCollection< TheItemType > &theOther) |
Replace this list by the items of theOther collection. | |
NCollection_Set & | operator= (const NCollection_Set &theOther) |
Replace this list by the items of theOther Set. | |
void | Clear (void) |
Clear this set. | |
Standard_Boolean | Add (const TheItemType &theItem) |
Add item. | |
Standard_Boolean | Remove (const TheItemType &theItem) |
Remove item. | |
void | Remove (Iterator &theIter) |
Remove - wrapper against 'hiding' warnings. | |
Standard_Boolean | Contains (const TheItemType &theItem) const |
Contains - item inclusion query. | |
Standard_Boolean | IsASubset (const NCollection_Set &theOther) |
IsASubset. | |
Standard_Boolean | IsAProperSubset (const NCollection_Set &theOther) |
IsAProperSubset. | |
void | Union (const NCollection_Set &theOther) |
Union. | |
void | Intersection (const NCollection_Set &theOther) |
Intersection. | |
void | Difference (const NCollection_Set &theOther) |
Difference (Subtraction). | |
~NCollection_Set (void) | |
Destructor - clears the List. | |
Private Member Functions | |
virtual TYPENAME NCollection_BaseCollection< TheItemType >::Iterator & | CreateIterator (void) const |
Creates Iterator for use on BaseCollection. |
|
Reimplemented from NCollection_BaseList. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements NCollection_BaseCollection< TheItemType >. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements NCollection_BaseCollection< TheItemType >. |
|
|