|
Open CASCADE Technology
6.7.1
|
#include <NCollection_Set.hxx>

Public Types | |
| typedef NCollection_TListNode < TheItemType > | SetNode |
| typedef NCollection_TListIterator < TheItemType > | Iterator |
Public Member Functions | |
| NCollection_Set (const Handle< NCollection_BaseAllocator > &theAllocator=0L) | |
| Constructor. More... | |
| NCollection_Set (const NCollection_Set &theOther) | |
| Copy constructor. More... | |
| virtual Standard_Integer | Size (void) const |
| Size - Number of items. More... | |
| virtual void | Assign (const NCollection_BaseCollection< TheItemType > &theOther) |
| Replace this list by the items of theOther collection. More... | |
| NCollection_Set & | operator= (const NCollection_Set &theOther) |
| Replace this list by the items of theOther Set. More... | |
| void | Clear (void) |
| Clear this set. More... | |
| Standard_Boolean | Add (const TheItemType &theItem) |
| Add item. More... | |
| Standard_Boolean | Remove (const TheItemType &theItem) |
| Remove item. More... | |
| void | Remove (Iterator &theIter) |
| Remove - wrapper against 'hiding' warnings. More... | |
| Standard_Boolean | Contains (const TheItemType &theItem) const |
| Contains - item inclusion query. More... | |
| Standard_Boolean | IsASubset (const NCollection_Set &theOther) |
| IsASubset. More... | |
| Standard_Boolean | IsAProperSubset (const NCollection_Set &theOther) |
| IsAProperSubset. More... | |
| void | Union (const NCollection_Set &theOther) |
| Union. More... | |
| void | Intersection (const NCollection_Set &theOther) |
| Intersection. More... | |
| void | Difference (const NCollection_Set &theOther) |
| Difference (Subtraction) More... | |
| ~NCollection_Set (void) | |
| Destructor - clears the List. More... | |
Public Member Functions inherited from NCollection_BaseCollection< TheItemType > | |
| NCollection_BaseCollection (const Handle< NCollection_BaseAllocator > &theAllocator=0L) | |
| Common for all collections constructor takes care of theAllocator. More... | |
| virtual | ~NCollection_BaseCollection (void) |
| Destructor - must be implemented to release the memory. More... | |
| const Handle < NCollection_BaseAllocator > & | Allocator () const |
| Returns attached allocator. More... | |
Public Member Functions inherited from NCollection_BaseList | |
| Standard_Integer | Extent (void) const |
| Standard_Boolean | IsEmpty (void) const |
Purpose: A set is an unordered collection of items without duplications. To test for duplications the operators == and != are used on the items. Inherits BaseList, adding the data item to each node.
| typedef NCollection_TListIterator<TheItemType> NCollection_Set< TheItemType >::Iterator |
| typedef NCollection_TListNode<TheItemType> NCollection_Set< TheItemType >::SetNode |
|
inline |
Constructor.
|
inline |
Copy constructor.
|
inline |
Destructor - clears the List.
|
inline |
Add item.
|
inlinevirtual |
Replace this list by the items of theOther collection.
Implements NCollection_BaseCollection< TheItemType >.
|
inline |
Clear this set.
|
inline |
Contains - item inclusion query.
|
inline |
Difference (Subtraction)
|
inline |
Intersection.
|
inline |
IsAProperSubset.
|
inline |
IsASubset.
|
inline |
Replace this list by the items of theOther Set.
|
inline |
Remove item.
|
inline |
Remove - wrapper against 'hiding' warnings.
|
inlinevirtual |
Size - Number of items.
Implements NCollection_BaseCollection< TheItemType >.
|
inline |
Union.
1.8.5