|
Open CASCADE Technology 6.5.2
|
#include <NCollection_BaseMap.hxx>

Data Structures | |
| class | Iterator |
Public Member Functions | |
| Standard_Integer | NbBuckets () const |
| NbBuckets. | |
| Standard_Integer | Extent () const |
| Extent. | |
| Standard_Boolean | IsEmpty () const |
| IsEmpty. | |
| void | Statistics (Standard_OStream &S) const |
| Statistics. | |
Protected Member Functions | |
| NCollection_BaseMap (const Standard_Integer NbBuckets, const Standard_Boolean single) | |
| Constructor. | |
| Standard_Boolean | BeginResize (const Standard_Integer NbBuckets, Standard_Integer &NewBuckets, NCollection_ListNode **&data1, NCollection_ListNode **&data2, Handle< NCollection_BaseAllocator > &theAllocator) const |
| BeginResize. | |
| void | EndResize (const Standard_Integer NbBuckets, const Standard_Integer NewBuckets, NCollection_ListNode **data1, NCollection_ListNode **data2, Handle< NCollection_BaseAllocator > &theAllocator) |
| EndResize. | |
| Standard_Boolean | Resizable () const |
| Resizable. | |
| void | Increment () |
| Increment. | |
| void | Decrement () |
| Decrement. | |
| void | Destroy (NCollection_DelMapNode fDel, Handle< NCollection_BaseAllocator > &theAllocator, const Standard_Boolean doReleaseMemory=Standard_True) |
| Destroy. | |
| Standard_Integer | NextPrimeForMap (const Standard_Integer N) const |
| NextPrimeForMap. | |
Protected Attributes | |
| 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.
| NCollection_BaseMap::NCollection_BaseMap | ( | const Standard_Integer | NbBuckets, |
| const Standard_Boolean | single | ||
| ) | [inline, protected] |
| Standard_Boolean NCollection_BaseMap::BeginResize | ( | const Standard_Integer | NbBuckets, |
| Standard_Integer & | NewBuckets, | ||
| NCollection_ListNode **& | data1, | ||
| NCollection_ListNode **& | data2, | ||
| Handle< NCollection_BaseAllocator > & | theAllocator | ||
| ) | const [protected] |
| void NCollection_BaseMap::Decrement | ( | ) | [inline, protected] |
| void NCollection_BaseMap::Destroy | ( | NCollection_DelMapNode | fDel, |
| Handle< NCollection_BaseAllocator > & | theAllocator, | ||
| const Standard_Boolean | doReleaseMemory = Standard_True |
||
| ) | [protected] |
| void NCollection_BaseMap::EndResize | ( | const Standard_Integer | NbBuckets, |
| const Standard_Integer | NewBuckets, | ||
| NCollection_ListNode ** | data1, | ||
| NCollection_ListNode ** | data2, | ||
| Handle< NCollection_BaseAllocator > & | theAllocator | ||
| ) | [protected] |
| Standard_Integer NCollection_BaseMap::Extent | ( | ) | const [inline] |
| void NCollection_BaseMap::Increment | ( | ) | [inline, protected] |
| Standard_Boolean NCollection_BaseMap::IsEmpty | ( | ) | const [inline] |
| Standard_Integer NCollection_BaseMap::NbBuckets | ( | ) | const [inline] |
| Standard_Integer NCollection_BaseMap::NextPrimeForMap | ( | const Standard_Integer | N | ) | const [protected] |
| Standard_Boolean NCollection_BaseMap::Resizable | ( | ) | const [inline, protected] |
| void NCollection_BaseMap::Statistics | ( | Standard_OStream & | S | ) | const |
NCollection_ListNode** NCollection_BaseMap::myData1 [protected] |
NCollection_ListNode** NCollection_BaseMap::myData2 [protected] |
1.7.4