#include <NCollection_IndexedMap.hxx>
Inheritance diagram for NCollection_IndexedMap< TheKeyType >:
Public Member Functions | |
NCollection_IndexedMap (const Standard_Integer NbBuckets=1, const Handle(NCollection_BaseAllocator)&theAllocator=0L) | |
Constructor. | |
NCollection_IndexedMap (const NCollection_IndexedMap &theOther) | |
Copy constructor. | |
virtual void | Assign (const NCollection_BaseCollection< TheKeyType > &theOther) |
Assign another collection. | |
NCollection_IndexedMap & | operator= (const NCollection_IndexedMap &theOther) |
= another map | |
void | ReSize (const Standard_Integer N) |
ReSize. | |
Standard_Integer | Add (const TheKeyType &theKey1) |
Add. | |
Standard_Boolean | Contains (const TheKeyType &theKey1) const |
Contains. | |
void | Substitute (const Standard_Integer theIndex, const TheKeyType &theKey1) |
Substitute. | |
void | RemoveLast (void) |
RemoveLast. | |
const TheKeyType & | FindKey (const Standard_Integer theKey2) const |
FindKey. | |
const TheKeyType & | operator() (const Standard_Integer theKey2) const |
operator () | |
Standard_Integer | FindIndex (const TheKeyType &theKey1) const |
FindIndex. | |
void | Clear (const Standard_Boolean doReleaseMemory=Standard_True) |
Clear data. If doReleaseMemory is false then the table of buckets is not released and will be reused. | |
void | Clear (const Handle(NCollection_BaseAllocator)&theAllocator) |
Clear data and reset allocator. | |
~NCollection_IndexedMap (void) | |
Destructor. | |
virtual Standard_Integer | Size (void) const |
Size. | |
Private Member Functions | |
virtual TYPENAME NCollection_BaseCollection< TheKeyType >::Iterator & | CreateIterator (void) const |
Creates Iterator for use on BaseCollection. | |
Data Structures | |
class | IndexedMapNode |
class | Iterator |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements NCollection_BaseCollection< TheKeyType >. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements NCollection_BaseCollection< TheKeyType >. |
|
|