| 
    Open CASCADE Technology 7.8.2.dev
    
   | 
 
#include <NCollection_DoubleMap.hxx>

Data Structures | |
| class | DoubleMapNode | 
| class | Iterator | 
Public Types | |
| typedef TheKey1Type | key1_type | 
| STL-compliant typedef for key1 type.   | |
| typedef TheKey2Type | key2_type | 
| STL-compliant typedef for key2 type.   | |
Protected Attributes | |
| Hasher1 | myHasher1 | 
| Hasher2 | myHasher2 | 
  Protected Attributes inherited from NCollection_BaseMap | |
| Handle< NCollection_BaseAllocator > | myAllocator | 
| NCollection_ListNode ** | myData1 | 
| NCollection_ListNode ** | myData2 | 
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
| typedef TheKey1Type NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::key1_type | 
STL-compliant typedef for key1 type.
| typedef TheKey2Type NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >::key2_type | 
STL-compliant typedef for key2 type.
      
  | 
  inline | 
Empty constructor.
      
  | 
  inlineexplicit | 
Constructor.
      
  | 
  inline | 
Copy constructor.
      
  | 
  inline | 
Destructor.
      
  | 
  inline | 
      
  | 
  inline | 
Assignment. This method does not change the internal allocator.
      
  | 
  inline | 
Bind.
      
  | 
  inline | 
Clear data and reset allocator.
      
  | 
  inline | 
Clear data. If doReleaseMemory is false then the table of buckets is not released and will be reused.
      
  | 
  inline | 
Exchange the content of two maps without re-allocations. Notice that allocators will be swapped as well!
      
  | 
  inline | 
Find the Key1 and return Key2 value. Raises an exception if Key1 was not bound.
      
  | 
  inline | 
Find the Key1 and return Key2 value (by copying its value).
| [in] | theKey1 | Key1 to find | 
| [out] | theKey2 | Key2 to return | 
      
  | 
  inline | 
Find the Key2 and return Key1 value. Raises an exception if Key2 was not bound.
      
  | 
  inline | 
Find the Key2 and return Key1 value (by copying its value).
| [in] | theKey2 | Key2 to find | 
| [out] | theKey1 | Key1 to return | 
      
  | 
  inlineprotected | 
      
  | 
  inlineprotected | 
      
  | 
  inline | 
IsBound1.
      
  | 
  inline | 
IsBound2.
      
  | 
  inlineprotected | 
      
  | 
  inlineprotected | 
      
  | 
  inline | 
Assignment operator.
      
  | 
  inline | 
ReSize.
      
  | 
  inline | 
Find the Key1 and return pointer to Key2 or NULL if Key1 is not bound.
| [in] | theKey1 | Key1 to find | 
      
  | 
  inline | 
Find the Key2 and return pointer to Key1 or NULL if not bound.
| [in] | theKey2 | Key2 to find | 
      
  | 
  inline | 
Size.
      
  | 
  inline | 
UnBind1.
      
  | 
  inline | 
UnBind2.
      
  | 
  protected | 
      
  | 
  protected |