Open CASCADE Technology
6.9.1
|
#include <NCollection_BaseMap.hxx>
Data Structures | |
class | Iterator |
Memory allocation. More... | |
Public Member Functions | |
Standard_Integer | NbBuckets () const |
NbBuckets. More... | |
Standard_Integer | Extent () const |
Extent. More... | |
Standard_Boolean | IsEmpty () const |
IsEmpty. More... | |
void | Statistics (Standard_OStream &S) const |
Statistics. More... | |
Protected Member Functions | |
NCollection_BaseMap (const Standard_Integer NbBuckets, const Standard_Boolean single, const Handle< NCollection_BaseAllocator > &theAllocator) | |
Constructor. More... | |
Standard_Boolean | BeginResize (const Standard_Integer NbBuckets, Standard_Integer &NewBuckets, NCollection_ListNode **&data1, NCollection_ListNode **&data2) const |
BeginResize. More... | |
void | EndResize (const Standard_Integer NbBuckets, const Standard_Integer NewBuckets, NCollection_ListNode **data1, NCollection_ListNode **data2) |
EndResize. More... | |
Standard_Boolean | Resizable () const |
Resizable. More... | |
void | Increment () |
Increment. More... | |
void | Decrement () |
Decrement. More... | |
void | Destroy (NCollection_DelMapNode fDel, Standard_Boolean doReleaseMemory=Standard_True) |
Destroy. More... | |
Standard_Integer | NextPrimeForMap (const Standard_Integer N) const |
NextPrimeForMap. More... | |
void | exchangeMapsData (NCollection_BaseMap &theOther) |
Exchange content of two maps without data copying. More... | |
Protected Attributes | |
Handle< NCollection_BaseAllocator > | myAllocator |
NCollection_ListNode ** | myData1 |
NCollection_ListNode ** | myData2 |
Purpose: This is a base class for all Maps: Map DataMap DoubleMap IndexedMap IndexedDataMap Provides utilitites for managing the buckets.
|
inlineprotected |
Constructor.
|
protected |
BeginResize.
|
inlineprotected |
Decrement.
|
protected |
Destroy.
|
protected |
EndResize.
|
inlineprotected |
Exchange content of two maps without data copying.
|
inline |
Extent.
|
inlineprotected |
Increment.
|
inline |
IsEmpty.
|
inline |
NbBuckets.
|
protected |
NextPrimeForMap.
|
inlineprotected |
Resizable.
void NCollection_BaseMap::Statistics | ( | Standard_OStream & | S | ) | const |
Statistics.
|
protected |
|
protected |
|
protected |