#include <NCollection_DoubleMap.hxx>
Inheritance diagram for NCollection_DoubleMap< TheKey1Type, TheKey2Type >:
Public Member Functions | |
NCollection_DoubleMap (const Standard_Integer NbBuckets=1, const Handle(NCollection_BaseAllocator)&theAllocator=0L) | |
Constructor. | |
NCollection_DoubleMap (const NCollection_DoubleMap &theOther) | |
Copy constructor. | |
virtual void | Assign (const NCollection_BaseCollection< TheKey2Type > &theOther) |
Assign another collection. | |
NCollection_DoubleMap & | operator= (const NCollection_DoubleMap &theOther) |
= another map | |
void | ReSize (const Standard_Integer N) |
ReSize. | |
void | Bind (const TheKey1Type &theKey1, const TheKey2Type &theKey2) |
Bind. | |
Standard_Boolean | AreBound (const TheKey1Type &theKey1, const TheKey2Type &theKey2) const |
* AreBound | |
Standard_Boolean | IsBound1 (const TheKey1Type &theKey1) const |
IsBound1. | |
Standard_Boolean | IsBound2 (const TheKey2Type &theKey2) const |
IsBound2. | |
Standard_Boolean | UnBind1 (const TheKey1Type &theKey1) |
UnBind1. | |
Standard_Boolean | UnBind2 (const TheKey2Type &theKey2) |
UnBind2. | |
const TheKey2Type & | Find1 (const TheKey1Type &theKey1) const |
Find1. | |
const TheKey1Type & | Find2 (const TheKey2Type &theKey2) const |
Find2. | |
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_DoubleMap (void) | |
Destructor. | |
virtual Standard_Integer | Size (void) const |
Size. | |
Private Member Functions | |
virtual TYPENAME NCollection_BaseCollection< TheKey2Type >::Iterator & | CreateIterator (void) const |
Creates Iterator for use on BaseCollection. | |
Data Structures | |
class | DoubleMapNode |
class | Iterator |
See Map from NCollection for a discussion about the number of buckets
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements NCollection_BaseCollection< TheKey2Type >. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements NCollection_BaseCollection< TheKey2Type >. |
|
|
|
|