|
Open CASCADE Technology
6.5.4
|
#include <NCollection_DoubleMap.hxx>

Data Structures | |
| class | DoubleMapNode |
| class | Iterator |
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 |
| 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. | |
Purpose: The DoubleMap is used to bind pairs (Key1,Key2) and retrieve them in linear time.
See Map from NCollection for a discussion about the number of buckets
| NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::NCollection_DoubleMap | ( | const Standard_Integer | NbBuckets = 1, |
| const Handle< NCollection_BaseAllocator > & | theAllocator = 0L |
||
| ) | [inline] |
| NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::NCollection_DoubleMap | ( | const NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 > & | theOther | ) | [inline] |
| NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::~NCollection_DoubleMap | ( | void | ) | [inline] |
| Standard_Boolean NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::AreBound | ( | const TheKey1Type & | theKey1, |
| const TheKey2Type & | theKey2 | ||
| ) | const [inline] |
| virtual void NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Assign | ( | const NCollection_BaseCollection< TheKey2Type > & | theOther | ) | [inline, virtual] |
| void NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Bind | ( | const TheKey1Type & | theKey1, |
| const TheKey2Type & | theKey2 | ||
| ) | [inline] |
| void NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Clear | ( | const Standard_Boolean | doReleaseMemory = Standard_True | ) | [inline] |
| void NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Clear | ( | const Handle< NCollection_BaseAllocator > & | theAllocator | ) | [inline] |
| const TheKey2Type& NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Find1 | ( | const TheKey1Type & | theKey1 | ) | const [inline] |
| const TheKey1Type& NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Find2 | ( | const TheKey2Type & | theKey2 | ) | const [inline] |
| Standard_Boolean NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::IsBound1 | ( | const TheKey1Type & | theKey1 | ) | const [inline] |
| Standard_Boolean NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::IsBound2 | ( | const TheKey2Type & | theKey2 | ) | const [inline] |
| NCollection_DoubleMap& NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::operator= | ( | const NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 > & | theOther | ) | [inline] |
| void NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::ReSize | ( | const Standard_Integer | N | ) | [inline] |
| virtual Standard_Integer NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::Size | ( | void | ) | const [inline, virtual] |
Implements NCollection_BaseCollection< TheKey2Type >.
| Standard_Boolean NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::UnBind1 | ( | const TheKey1Type & | theKey1 | ) | [inline] |
| Standard_Boolean NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::UnBind2 | ( | const TheKey2Type & | theKey2 | ) | [inline] |
1.8.0