Open CASCADE Technology  7.2.0
Data Structures | Public Member Functions | Protected Member Functions | Protected Attributes
NCollection_BaseMap Class Reference

#include <NCollection_BaseMap.hxx>

Inherited by NCollection_DataMap< TheKeyType, TheItemType, Hasher >, NCollection_DataMap< Aspect_XAtom, Atom >, NCollection_DataMap< const Standard_Transient *, Handle< Graphic3d_ViewAffinity > >, NCollection_DataMap< Graphic3d_ZLayerId, Graphic3d_ZLayerSettings >, NCollection_DataMap< Graphic3d_ZLayerId, Standard_Integer >, NCollection_DataMap< Handle< AIS_InteractiveObject >, Handle< AIS_GlobalStatus >, TColStd_MapTransientHasher >, NCollection_DataMap< Handle< BOPDS_PaveBlock >, Handle< BOPDS_CommonBlock >, TColStd_MapTransientHasher >, NCollection_DataMap< Handle< Graphic3d_HatchStyle >, unsigned int >, NCollection_DataMap< Handle< MAT_BasicElt >, TopoDS_Shape, TColStd_MapTransientHasher >, NCollection_DataMap< Handle< SelectMgr_EntityOwner >, AIS_NListOfEntityOwner::Iterator >, NCollection_DataMap< Handle< SelectMgr_SelectableObject >, Handle< AIS_LocalStatus >, TColStd_MapTransientHasher >, NCollection_DataMap< Handle< SelectMgr_SelectableObject >, Handle< SelectMgr_SensitiveEntitySet > >, NCollection_DataMap< Handle< SelectMgr_SelectableObject >, SelectMgr_SequenceOfSelector, TColStd_MapTransientHasher >, NCollection_DataMap< Handle< Standard_Transient >, Handle< Standard_Transient >, TColStd_MapTransientHasher >, NCollection_DataMap< Handle< Standard_Transient >, Message_ListOfMsg, TColStd_MapTransientHasher >, NCollection_DataMap< Handle< Standard_Transient >, Standard_Address, TColStd_MapTransientHasher >, NCollection_DataMap< Handle< Standard_Transient >, Standard_Integer, TColStd_MapTransientHasher >, NCollection_DataMap< Handle< Standard_Transient >, TDF_Label >, NCollection_DataMap< Handle< Standard_Type >, Handle< BinMDF_ADriver >, TColStd_MapTransientHasher >, NCollection_DataMap< Handle< Standard_Type >, Handle< XmlMDF_ADriver >, TColStd_MapTransientHasher >, NCollection_DataMap< Handle< StepGeom_CartesianPoint >, TopoDS_Vertex, StepToTopoDS_CartesianPointHasher >, NCollection_DataMap< Handle< StepRepr_RepresentationItem >, TopoDS_Shape, TColStd_MapTransientHasher >, NCollection_DataMap< Handle< StepShape_TopologicalRepresentationItem >, TopoDS_Shape, TColStd_MapTransientHasher >, NCollection_DataMap< Handle< TCollection_HExtendedString >, TDF_Label >, NCollection_DataMap< Handle< TDF_Attribute >, Handle< TDF_Attribute >, TColStd_MapTransientHasher >, NCollection_DataMap< Handle< TopoDS_TShape >, Standard_Mutex *>, NCollection_DataMap< Handle< TopOpeBRepDS_Interference >, TopoDS_Shape, TColStd_MapTransientHasher >, NCollection_DataMap< Handle< TopOpeBRepDS_Interference >, TopOpeBRepDS_ListOfInterference, TColStd_MapTransientHasher >, NCollection_DataMap< int, int >, NCollection_DataMap< IntTools_CurveRangeSample, Bnd_Box, IntTools_CurveRangeSampleMapHasher >, NCollection_DataMap< IntTools_SurfaceRangeSample, Bnd_Box, IntTools_SurfaceRangeSampleMapHasher >, NCollection_DataMap< K, V >, NCollection_DataMap< MAT2d_BiInt, Standard_Integer, MAT2d_MapBiIntHasher >, NCollection_DataMap< MAT2d_BiInt, TColStd_SequenceOfInteger, MAT2d_MapBiIntHasher >, NCollection_DataMap< NCollection_AccAllocator::Key, NCollection_AccAllocator::Block, NCollection_AccAllocator::Hasher >, NCollection_DataMap< Prs3d_DatumAttribute, Standard_Real >, NCollection_DataMap< Prs3d_DatumParts, Handle< Graphic3d_ArrayOfPrimitives > >, NCollection_DataMap< Prs3d_DatumParts, Handle< Graphic3d_Group > >, NCollection_DataMap< Prs3d_DatumParts, Handle< Prs3d_LineAspect > >, NCollection_DataMap< Prs3d_DatumParts, Handle< Prs3d_ShadingAspect > >, NCollection_DataMap< Prs3d_DatumParts, Standard_Integer >, NCollection_DataMap< Prs3d_DatumParts, TCollection_ExtendedString >, NCollection_DataMap< size_t, OpenGl_SetterInterface * >, NCollection_DataMap< Standard_GUID, Handle< TFunction_Driver >, Standard_GUID >, NCollection_DataMap< Standard_GUID, Handle< TPrsStd_Driver >, Standard_GUID >, NCollection_DataMap< Standard_Integer, Bisector_Bisec, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, BOPCol_ListOfInteger, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, BOPCol_ListOfShape, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, Geom2dHatch_Element, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, Geom2dHatch_Hatching, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, gp_Pnt2d, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, gp_Vec, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, gp_Vec2d, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, Graphic3d_MaterialAspect, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, Handle< AIS_LocalContext >, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, Handle< MAT2d_Connexion >, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, Handle< MAT_Arc >, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, Handle< MAT_BasicElt >, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, Handle< MAT_Bisector >, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, Handle< MAT_Node >, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, Handle< MeshVS_HArray1OfSequenceOfInteger >, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, Handle< SelectMgr_EntityOwner >, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, Handle< Standard_Transient >, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, ListOfInteger >, NCollection_DataMap< Standard_Integer, MAT2d_SequenceOfConnexion, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, MeshVS_TwoColors, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, OpenGl_Structure *>, NCollection_DataMap< Standard_Integer, Quantity_Color, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, Standard_Boolean, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, Standard_Integer >, NCollection_DataMap< Standard_Integer, Standard_Integer, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, Standard_Real, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, TCollection_AsciiString, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, TColStd_ListOfInteger, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, TColStd_PackedMapOfInteger >, NCollection_DataMap< Standard_Integer, TopoDS_Shape, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, TopOpeBRepDS_CheckStatus, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, TopOpeBRepDS_CurveData, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, TopOpeBRepDS_ListOfInterference, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, TopOpeBRepDS_PointData, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, TopOpeBRepDS_SurfaceData, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_Integer, TopTools_ListOfShape, TColStd_MapIntegerHasher >, NCollection_DataMap< Standard_ThreadId, TypeContext, Hasher >, NCollection_DataMap< Standard_Utf32Char, Standard_Integer >, NCollection_DataMap< Standard_Utf32Char, TopoDS_Shape >, NCollection_DataMap< StepToTopoDS_PointPair, TopoDS_Edge, StepToTopoDS_PointPairHasher >, NCollection_DataMap< TCollection_AsciiString, Handle< OpenGl_SetOfShaderPrograms > >, NCollection_DataMap< TCollection_AsciiString, Handle< Standard_Transient > >, NCollection_DataMap< TCollection_AsciiString, Handle< StdStorage_Root >, TCollection_AsciiString >, NCollection_DataMap< TCollection_AsciiString, Handle< STEPCAFControl_ExternFile > >, NCollection_DataMap< TCollection_AsciiString, Handle< Storage_Root >, TCollection_AsciiString >, NCollection_DataMap< TCollection_AsciiString, Handle< Storage_TypedCallBack >, TCollection_AsciiString >, NCollection_DataMap< TCollection_AsciiString, OSD_Function, TCollection_AsciiString >, NCollection_DataMap< TCollection_AsciiString, Standard_Integer >, NCollection_DataMap< TCollection_AsciiString, StdObjMgt_Persistent::Instantiator, TCollection_AsciiString >, NCollection_DataMap< TCollection_AsciiString, TCollection_AsciiString, TCollection_AsciiString >, NCollection_DataMap< TCollection_AsciiString, TCollection_ExtendedString, TCollection_AsciiString >, NCollection_DataMap< TCollection_AsciiString, TopoDS_Shape, TCollection_AsciiString >, NCollection_DataMap< TCollection_ExtendedString, Handle< TColStd_HArray1OfInteger >, TCollection_ExtendedString >, NCollection_DataMap< TCollection_ExtendedString, Handle< TColStd_HArray1OfReal >, TCollection_ExtendedString >, NCollection_DataMap< TCollection_ExtendedString, Standard_Byte, TCollection_ExtendedString >, NCollection_DataMap< TCollection_ExtendedString, Standard_Integer, TCollection_ExtendedString >, NCollection_DataMap< TCollection_ExtendedString, Standard_Real, TCollection_ExtendedString >, NCollection_DataMap< TCollection_ExtendedString, TCollection_ExtendedString, TCollection_ExtendedString >, NCollection_DataMap< TDF_Label, Handle< STEPCAFControl_ExternFile >, TDF_LabelMapHasher >, NCollection_DataMap< TDF_Label, TDF_Label, TDF_LabelMapHasher >, NCollection_DataMap< TDF_Label, TopoDS_Shape, TDF_LabelMapHasher >, NCollection_DataMap< TheObjType, TreeNode *>, NCollection_DataMap< TopoDS_Edge, DMapOfTriangulationBool, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Edge, NewCurveInfo, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Edge, NewEdgeData >, NCollection_DataMap< TopoDS_Face, Handle< BRepMesh_FaceAttribute >, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Face, NewFaceData >, NCollection_DataMap< TopoDS_Face, NewSurfaceInfo, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, BOPCol_ListOfShape, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, BRepCheck_ListOfStatus, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, BRepMesh_PairOfPolygon, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, BRepOffset_ListOfInterval, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, BRepOffset_Offset, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, BRepTopAdaptor_Tool, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, Handle< AIS_ColoredDrawer >, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, Handle< BRepCheck_Result >, TopTools_OrientedShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, Handle< BRepTopAdaptor_TopolTool >, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, Handle< Geom_Surface >, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, Handle< Standard_Transient >, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, Handle< TopTools_HArray2OfShape >, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, HLRTopoBRep_FaceData, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, HLRTopoBRep_ListOfVData, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, MAT_SequenceOfBasicElt, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, Message_ListOfMsg, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, Standard_Address, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, Standard_Boolean, TopTools_OrientedShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, Standard_Boolean, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, Standard_Integer, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, Standard_Real, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, TColStd_ListOfInteger, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, TDF_Label, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, TNaming_PtrRefShape, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, TopOpeBRepDS_ListOfShapeOn1State, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, TopOpeBRepTool_C2DF, TopTools_OrientedShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, TopOpeBRepTool_face, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, TopTools_DataMapOfShapeListOfShape, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, TopTools_ListOfShape, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, TReplacement, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Vertex, NewVertexData >, NCollection_DataMap< TopoDS_Vertex, TopoDS_Edge >, NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >, NCollection_DoubleMap< Handle< Standard_Type >, Standard_Integer, TColStd_MapTransientHasher, TColStd_MapIntegerHasher >, NCollection_DoubleMap< Standard_Integer, TDF_Label, TColStd_MapIntegerHasher, TDF_LabelMapHasher >, NCollection_IndexedDataMap< TheKeyType, TheItemType, Hasher >, NCollection_IndexedDataMap< BRepMesh_Edge, BRepMesh_PairOfIndex >, NCollection_IndexedDataMap< Handle< SelectBasics_EntityOwner >, SelectMgr_SortCriterion, TColStd_MapTransientHasher >, NCollection_IndexedDataMap< Handle< Standard_Transient >, Handle< Standard_Transient >, TColStd_MapTransientHasher >, NCollection_IndexedDataMap< Handle< Standard_Transient >, Handle< Transfer_Binder >, TColStd_MapTransientHasher >, NCollection_IndexedDataMap< Handle< Transfer_Finder >, Handle< Transfer_Binder >, Transfer_FindHasher >, NCollection_IndexedDataMap< Standard_Integer, Handle< TColStd_HSequenceOfInteger > >, NCollection_IndexedDataMap< TCollection_AsciiString, Handle< Standard_Transient > >, NCollection_IndexedDataMap< TCollection_AsciiString, Standard_Integer >, NCollection_IndexedDataMap< TCollection_AsciiString, Standard_Integer, TCollection_AsciiString >, NCollection_IndexedDataMap< TCollection_ExtendedString, Handle< PCDM_RetrievalDriver > >, NCollection_IndexedDataMap< TCollection_ExtendedString, Handle< PCDM_StorageDriver > >, NCollection_IndexedDataMap< TopoDS_Edge, Draft_EdgeInfo, TopTools_ShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Face, Draft_FaceInfo, TopTools_ShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Shape, Bnd_Box, TopTools_OrientedShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Shape, Bnd_Box2d, TopTools_OrientedShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Shape, BOPCol_ListOfShape, TopTools_ShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Shape, Standard_Address, TopTools_ShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Shape, TopOpeBRepDS_ShapeData, TopTools_ShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Shape, TopOpeBRepDS_ShapeWithState, TopTools_ShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Shape, TopOpeBRepTool_connexity, TopTools_ShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Shape, TopTools_ListOfShape, TopTools_OrientedShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Shape, TopTools_ListOfShape, TopTools_ShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Vertex, ChFiDS_ListOfStripe, TopTools_ShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Vertex, Draft_VertexInfo, TopTools_ShapeMapHasher >, NCollection_IndexedMap< TheKeyType, Hasher >, NCollection_IndexedMap< BRepMesh_Triangle >, NCollection_IndexedMap< const OpenGl_Structure *>, NCollection_IndexedMap< const Standard_Address >, NCollection_IndexedMap< Graphic3d_CView * >, NCollection_IndexedMap< Handle< BOPDS_PaveBlock >, TColStd_MapTransientHasher >, NCollection_IndexedMap< Handle< Expr_NamedUnknown >, TColStd_MapTransientHasher >, NCollection_IndexedMap< Handle< NCollection_Shared > >, NCollection_IndexedMap< Handle< Select3D_SensitiveEntity > >, NCollection_IndexedMap< Handle< SelectMgr_SelectableObject > >, NCollection_IndexedMap< Handle< SelectMgr_SensitiveEntity > >, NCollection_IndexedMap< Handle< Standard_Transient >, TColStd_MapTransientHasher >, NCollection_IndexedMap< Handle< TDF_Attribute >, TColStd_MapTransientHasher >, NCollection_IndexedMap< Poly_MakeLoops::Link >, NCollection_IndexedMap< Standard_Integer, TColStd_MapIntegerHasher >, NCollection_IndexedMap< Standard_Real >, NCollection_IndexedMap< TCollection_AsciiString, Interface_MapAsciiStringHasher >, NCollection_IndexedMap< TopLoc_Location, TopLoc_MapLocationHasher >, NCollection_IndexedMap< TopoDS_Shape, TopTools_OrientedShapeMapHasher >, NCollection_IndexedMap< TopoDS_Shape, TopTools_ShapeMapHasher >, NCollection_Map< TheKeyType, Hasher >, NCollection_Map< BOPDS_Pair, BOPDS_PairMapHasher >, NCollection_Map< Handle< CDM_Document >, CDM_DocumentHasher >, NCollection_Map< Handle< Graphic3d_Structure > >, NCollection_Map< Handle< OpenGl_View > >, NCollection_Map< Handle< Standard_Transient >, TColStd_MapTransientHasher >, NCollection_Map< Handle< TDF_Attribute >, TColStd_MapTransientHasher >, NCollection_Map< Handle< VrmlData_Node > >, NCollection_Map< IntTools_CurveRangeSample, IntTools_CurveRangeSampleMapHasher >, NCollection_Map< IntTools_SurfaceRangeSample, IntTools_SurfaceRangeSampleMapHasher >, NCollection_Map< NCollection_CellFilter::Cell >, NCollection_Map< Standard_Address >, NCollection_Map< Standard_GUID, Standard_GUID >, NCollection_Map< Standard_Integer >, NCollection_Map< Standard_Integer, TColStd_MapIntegerHasher >, NCollection_Map< TCollection_AsciiString, TCollection_AsciiString >, NCollection_Map< TDF_Label, TDF_LabelMapHasher >, NCollection_Map< TopoDS_Shape, TopTools_OrientedShapeMapHasher >, and NCollection_Map< TopoDS_Shape, TopTools_ShapeMapHasher >.

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...
 
const Handle< NCollection_BaseAllocator > & Allocator () const
 Returns attached allocator. More...
 

Protected Member Functions

 NCollection_BaseMap (const Standard_Integer NbBuckets, const Standard_Boolean single, const Handle< NCollection_BaseAllocator > &theAllocator)
 Constructor. More...
 
virtual ~NCollection_BaseMap ()
 Destructor. 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_BaseAllocatormyAllocator
 
NCollection_ListNode ** myData1
 
NCollection_ListNode ** myData2
 

Detailed Description

Purpose: This is a base class for all Maps: Map DataMap DoubleMap IndexedMap IndexedDataMap Provides utilitites for managing the buckets.

Constructor & Destructor Documentation

◆ NCollection_BaseMap()

NCollection_BaseMap::NCollection_BaseMap ( const Standard_Integer  NbBuckets,
const Standard_Boolean  single,
const Handle< NCollection_BaseAllocator > &  theAllocator 
)
inlineprotected

Constructor.

◆ ~NCollection_BaseMap()

virtual NCollection_BaseMap::~NCollection_BaseMap ( )
inlineprotectedvirtual

Destructor.

Member Function Documentation

◆ Allocator()

const Handle< NCollection_BaseAllocator >& NCollection_BaseMap::Allocator ( ) const
inline

Returns attached allocator.

◆ BeginResize()

Standard_Boolean NCollection_BaseMap::BeginResize ( const Standard_Integer  NbBuckets,
Standard_Integer NewBuckets,
NCollection_ListNode **&  data1,
NCollection_ListNode **&  data2 
) const
protected

BeginResize.

◆ Decrement()

void NCollection_BaseMap::Decrement ( )
inlineprotected

Decrement.

◆ Destroy()

void NCollection_BaseMap::Destroy ( NCollection_DelMapNode  fDel,
Standard_Boolean  doReleaseMemory = Standard_True 
)
protected

Destroy.

◆ EndResize()

void NCollection_BaseMap::EndResize ( const Standard_Integer  NbBuckets,
const Standard_Integer  NewBuckets,
NCollection_ListNode **  data1,
NCollection_ListNode **  data2 
)
protected

EndResize.

◆ exchangeMapsData()

void NCollection_BaseMap::exchangeMapsData ( NCollection_BaseMap theOther)
inlineprotected

Exchange content of two maps without data copying.

◆ Extent()

Standard_Integer NCollection_BaseMap::Extent ( ) const
inline

Extent.

◆ Increment()

void NCollection_BaseMap::Increment ( )
inlineprotected

Increment.

◆ IsEmpty()

Standard_Boolean NCollection_BaseMap::IsEmpty ( ) const
inline

IsEmpty.

◆ NbBuckets()

Standard_Integer NCollection_BaseMap::NbBuckets ( ) const
inline

NbBuckets.

◆ NextPrimeForMap()

Standard_Integer NCollection_BaseMap::NextPrimeForMap ( const Standard_Integer  N) const
protected

NextPrimeForMap.

◆ Resizable()

Standard_Boolean NCollection_BaseMap::Resizable ( ) const
inlineprotected

Resizable.

◆ Statistics()

void NCollection_BaseMap::Statistics ( Standard_OStream S) const

Statistics.

Field Documentation

◆ myAllocator

Handle< NCollection_BaseAllocator > NCollection_BaseMap::myAllocator
protected

◆ myData1

NCollection_ListNode** NCollection_BaseMap::myData1
protected

◆ myData2

NCollection_ListNode** NCollection_BaseMap::myData2
protected

The documentation for this class was generated from the following file: