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

#include <NCollection_BaseMap.hxx>

Inherited by NCollection_DataMap< TCollection_AsciiString, StdObjMgt_Persistent::Instantiator >, NCollection_DataMap< Standard_Integer, TopTools_ListOfShape >, NCollection_DataMap< TopoDS_Shape, Handle< AIS_ColoredDrawer >, TopTools_ShapeMapHasher >, NCollection_DataMap< Standard_Integer, TColStd_ListOfInteger >, NCollection_DataMap< Handle< AIS_InteractiveObject >, Handle< AIS_GlobalStatus > >, NCollection_DataMap< Handle< SelectMgr_EntityOwner >, AIS_NListOfEntityOwner::Iterator >, NCollection_DataMap< unsigned int, AIS_MouseGesture >, NCollection_DataMap< unsigned int, AIS_SelectionScheme >, NCollection_DataMap< V3d_TypeOfOrientation, TCollection_AsciiString >, NCollection_DataMap< Prs3d_DatumParts, TCollection_AsciiString >, NCollection_DataMap< Aspect_XAtom, uint64_t >, NCollection_DataMap< TopoDS_Shape, TopTools_ListOfShape, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, Bnd_Box, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, Standard_Integer, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, NCollection_List >, NCollection_DataMap< Standard_Integer, BOPDS_MapOfPaveBlock >, NCollection_DataMap< BOPDS_Pair, NCollection_List< BOPAlgo_PaveFiller::EdgeRangeDistance > >, NCollection_DataMap< Handle< BOPDS_PaveBlock >, Handle< BOPDS_CommonBlock > >, NCollection_DataMap< Standard_Integer, Standard_Integer >, NCollection_DataMap< Standard_ThreadId, opencascade::handle< TypeContext > >, NCollection_DataMap< TopoDS_Shape, Handle< NCollection_Shared< BRepCheck_ListOfStatus > >, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, Standard_Address, TopTools_ShapeMapHasher >, NCollection_DataMap< Standard_Integer, TColStd_PackedMapOfInteger >, NCollection_DataMap< TopoDS_Shape, TopTools_DataMapOfShapeListOfShape, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, Handle< TopTools_HArray2OfShape >, TopTools_ShapeMapHasher >, NCollection_DataMap< Standard_Integer, TopoDS_Shape >, NCollection_DataMap< TopoDS_Shape, Standard_Real, TopTools_ShapeMapHasher >, NCollection_DataMap< MAT2d_BiInt, Standard_Integer >, NCollection_DataMap< TopoDS_Shape, MAT_SequenceOfBasicElt, TopTools_ShapeMapHasher >, NCollection_DataMap< Handle< MAT_BasicElt >, TopoDS_Shape >, NCollection_DataMap< IFacePtr, ListOfInteger >, NCollection_DataMap< Standard_Integer, ListOfInteger >, NCollection_DataMap< TCollection_AsciiString, OSD_Function >, NCollection_DataMap< TopoDS_Shape, TColStd_ListOfInteger, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, BRepOffset_ListOfInterval, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher >, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Vertex, TopoDS_Edge >, NCollection_DataMap< TopoDS_Face, NewFaceData >, NCollection_DataMap< TopoDS_Edge, NewEdgeData >, NCollection_DataMap< TopoDS_Vertex, NewVertexData >, NCollection_DataMap< TopoDS_Edge, NewCurveInfo, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Face, NewSurfaceInfo, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, TReplacement, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, BRepOffset_Offset, TopTools_ShapeMapHasher >, NCollection_DataMap< Handle< Standard_Type >, Handle< BinMDF_ADriver > >, NCollection_DataMap< uint64_t, TopoDS_Shape >, NCollection_DataMap< uint64_t, TopLoc_Location >, NCollection_DataMap< uint64_t, Handle< Geom_Curve > >, NCollection_DataMap< uint64_t, Handle< Geom2d_Curve > >, NCollection_DataMap< uint64_t, Handle< Geom_Surface > >, NCollection_DataMap< uint64_t, Handle< Poly_Polygon3D > >, NCollection_DataMap< uint64_t, Handle< Poly_PolygonOnTriangulation > >, NCollection_DataMap< uint64_t, Handle< Poly_Triangulation > >, NCollection_DataMap< TopoDS_Shape, uint64_t, TopTools_ShapeMapHasher >, NCollection_DataMap< TopLoc_Location, uint64_t >, NCollection_DataMap< Handle< Geom_Curve >, uint64_t >, NCollection_DataMap< Handle< Geom2d_Curve >, uint64_t >, NCollection_DataMap< Handle< Geom_Surface >, uint64_t >, NCollection_DataMap< Handle< Poly_Polygon3D >, uint64_t >, NCollection_DataMap< Handle< Poly_PolygonOnTriangulation >, uint64_t >, NCollection_DataMap< Handle< Poly_Triangulation >, uint64_t >, NCollection_DataMap< TCollection_ExtendedString, Handle< CDM_MetaData > >, NCollection_DataMap< TCollection_AsciiString, TCollection_AsciiString >, NCollection_DataMap< TCollection_AsciiString, DE_ConfigurationVendorMap >, NCollection_DataMap< TCollection_AsciiString, Handle< NCollection_Shared > >, NCollection_DataMap< Standard_Integer, Geom2dHatch_Element >, NCollection_DataMap< Standard_Integer, Geom2dHatch_Hatching >, NCollection_DataMap< Graphic3d_ZLayerId, Handle< Graphic3d_Layer > >, NCollection_DataMap< const Standard_Transient *, Handle< Graphic3d_ViewAffinity > >, NCollection_DataMap< TopoDS_Shape, BRepTopAdaptor_Tool, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, HLRTopoBRep_FaceData, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, HLRTopoBRep_ListOfVData, TopTools_ShapeMapHasher >, NCollection_DataMap< TCollection_AsciiString, Standard_Integer >, NCollection_DataMap< TCollection_AsciiString, Handle< Standard_Transient > >, NCollection_DataMap< FilterId, vtkSmartPointer< vtkAlgorithm > >, NCollection_DataMap< TopoDS_Shape, IVtk_MeshType, TopTools_ShapeMapHasher >, NCollection_DataMap< IVtk_IdType, IVtk_ShapeIdList >, NCollection_DataMap< TopoDS_Shape, IntTools_FClass2d *, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, GeomAPI_ProjectPointOnSurf *, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, GeomAPI_ProjectPointOnCurve *, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, BRepClass3d_SolidClassifier *, TopTools_ShapeMapHasher >, NCollection_DataMap< Handle< Geom_Curve >, GeomAPI_ProjectPointOnCurve * >, NCollection_DataMap< TopoDS_Shape, Geom2dHatch_Hatcher *, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, IntTools_SurfaceRangeLocalizeData *, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, Bnd_Box *, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, BRepAdaptor_Surface *, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, Bnd_OBB *, TopTools_ShapeMapHasher >, NCollection_DataMap< IntTools_CurveRangeSample, Bnd_Box >, NCollection_DataMap< IntTools_SurfaceRangeSample, Bnd_Box >, NCollection_DataMap< Handle< Standard_Transient >, Standard_Integer >, NCollection_DataMap< Standard_Integer, Handle< Standard_Transient > >, NCollection_DataMap< Standard_Integer, Handle< MAT2d_Connexion > >, NCollection_DataMap< MAT2d_BiInt, TColStd_SequenceOfInteger >, NCollection_DataMap< Standard_Integer, Handle< MAT_Bisector > >, NCollection_DataMap< Standard_Integer, MAT2d_SequenceOfConnexion >, NCollection_DataMap< Standard_Integer, Bisector_Bisec >, NCollection_DataMap< Standard_Integer, gp_Pnt2d >, NCollection_DataMap< Standard_Integer, gp_Vec2d >, NCollection_DataMap< Standard_Integer, Handle< MAT_Arc > >, NCollection_DataMap< Standard_Integer, Handle< MAT_BasicElt > >, NCollection_DataMap< Standard_Integer, Handle< MAT_Node > >, NCollection_DataMap< Standard_Integer, Handle< MeshVS_HArray1OfSequenceOfInteger > >, NCollection_DataMap< Standard_Integer, gp_Vec >, NCollection_DataMap< Standard_Integer, Standard_Boolean >, NCollection_DataMap< Standard_Integer, Standard_Real >, NCollection_DataMap< Standard_Integer, Quantity_Color >, NCollection_DataMap< Standard_Integer, Graphic3d_MaterialAspect >, NCollection_DataMap< Standard_Integer, TCollection_AsciiString >, NCollection_DataMap< Standard_Integer, MeshVS_TwoColors >, NCollection_DataMap< Standard_Integer, Handle< SelectMgr_EntityOwner > >, NCollection_DataMap< NCollection_AccAllocator::Key, NCollection_AccAllocator::Block, NCollection_AccAllocator::Hasher >, NCollection_DataMap< TheObjType, NCollection_UBTree::TreeNode * >, NCollection_DataMap< Standard_Utf32Char, Standard_Integer >, NCollection_DataMap< Standard_Integer, OpenGl_Structure * >, NCollection_DataMap< K, V >, NCollection_DataMap< Handle< Graphic3d_HatchStyle >, unsigned int >, NCollection_DataMap< TCollection_AsciiString, Handle< OpenGl_SetOfShaderPrograms > >, NCollection_DataMap< size_t, OpenGl_SetterInterface * >, NCollection_DataMap< Standard_Integer, Standard_Address >, NCollection_DataMap< TCollection_AsciiString, Handle< RWGltf_MaterialMetallicRoughness > >, NCollection_DataMap< TCollection_AsciiString, Handle< RWGltf_MaterialCommon > >, NCollection_DataMap< TCollection_AsciiString, Handle< XCAFDoc_VisMaterial > >, NCollection_DataMap< TCollection_AsciiString, TopoDS_Shape >, NCollection_DataMap< TCollection_AsciiString, bool >, NCollection_DataMap< TCollection_AsciiString, Handle< NCollection_Buffer > >, NCollection_DataMap< TopoDS_Shape, RWMesh_NodeAttributes, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, TDF_Label, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, XCAFPrs_Style, TopTools_ShapeMapHasher >, NCollection_DataMap< TCollection_AsciiString, RWObj_Material >, NCollection_DataMap< Handle< Image_Texture >, TCollection_AsciiString >, NCollection_DataMap< NCollection_Vec3< Standard_Integer >, Standard_Integer, RWObj_Reader::ObjVec3iHasher >, NCollection_DataMap< TCollection_AsciiString, TCollection_ExtendedString >, NCollection_DataMap< TCollection_AsciiString, Handle< STEPCAFControl_ExternFile > >, NCollection_DataMap< Handle< Standard_Transient >, TDF_Label >, NCollection_DataMap< TDF_Label, TopoDS_Shape >, NCollection_DataMap< TDF_Label, Handle< STEPCAFControl_ExternFile > >, NCollection_DataMap< TopoDS_Shape, Handle< Standard_Transient >, TopTools_ShapeMapHasher >, NCollection_DataMap< Handle< SelectMgr_EntityOwner >, Standard_Integer >, NCollection_DataMap< Graphic3d_ZLayerId, Standard_Integer >, NCollection_DataMap< Handle< SelectMgr_SelectableObject >, Handle< SelectMgr_SensitiveEntitySet > >, NCollection_DataMap< Handle< Standard_Transient >, Message_ListOfMsg >, NCollection_DataMap< TopoDS_Shape, Message_ListOfMsg, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, Handle< Geom_Plane >, TopTools_ShapeMapHasher >, NCollection_DataMap< Standard_Utf32Char, TopoDS_Shape >, NCollection_DataMap< Handle< StepRepr_RepresentationItem >, TopoDS_Shape >, NCollection_DataMap< Handle< StepShape_TopologicalRepresentationItem >, TopoDS_Shape >, NCollection_DataMap< Handle< StepGeom_CartesianPoint >, TopoDS_Vertex >, NCollection_DataMap< StepToTopoDS_PointPair, TopoDS_Edge >, NCollection_DataMap< TCollection_AsciiString, Handle< Storage_TypedCallBack > >, NCollection_DataMap< TCollection_AsciiString, Handle< Storage_Root > >, NCollection_DataMap< TCollection_AsciiString, TDF_Label >, NCollection_DataMap< TDF_Label, TDF_Label >, NCollection_DataMap< Handle< TDF_Attribute >, Handle< TDF_Attribute > >, NCollection_DataMap< TCollection_ExtendedString, Standard_Byte >, NCollection_DataMap< TCollection_ExtendedString, Handle< TColStd_HArray1OfInteger > >, NCollection_DataMap< TCollection_ExtendedString, Handle< TColStd_HArray1OfReal > >, NCollection_DataMap< TCollection_ExtendedString, Standard_Integer >, NCollection_DataMap< TCollection_ExtendedString, Standard_Real >, NCollection_DataMap< TCollection_ExtendedString, TCollection_ExtendedString >, NCollection_DataMap< Standard_GUID, Handle< TFunction_Driver > >, NCollection_DataMap< TopoDS_Shape, TNaming_PtrRefShape, TopTools_ShapeMapHasher >, NCollection_DataMap< Handle< TCollection_HExtendedString >, TDF_Label >, NCollection_DataMap< Standard_GUID, Handle< TPrsStd_Driver > >, NCollection_DataMap< TopoDS_Shape, TopOpeBRepDS_ListOfShapeOn1State, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, Standard_Boolean >, NCollection_DataMap< Handle< TopOpeBRepDS_Interference >, TopOpeBRepDS_ListOfInterference >, NCollection_DataMap< Standard_Integer, TopOpeBRepDS_CheckStatus >, NCollection_DataMap< Standard_Integer, TopOpeBRepDS_SurfaceData >, NCollection_DataMap< Standard_Integer, TopOpeBRepDS_CurveData >, NCollection_DataMap< Standard_Integer, TopOpeBRepDS_PointData >, NCollection_DataMap< TopoDS_Shape, Handle< Geom_Surface >, TopTools_ShapeMapHasher >, NCollection_DataMap< Standard_Integer, TopOpeBRepDS_ListOfInterference >, NCollection_DataMap< Handle< TopOpeBRepDS_Interference >, TopoDS_Shape >, NCollection_DataMap< TopoDS_Shape, TopOpeBRepTool_face, TopTools_ShapeMapHasher >, NCollection_DataMap< TopoDS_Shape, TopOpeBRepTool_C2DF >, NCollection_DataMap< TopoDS_Shape, Handle< BRepTopAdaptor_TopolTool >, TopTools_ShapeMapHasher >, NCollection_DataMap< Handle< TopoDS_TShape >, Standard_Mutex * >, NCollection_DataMap< Handle< Standard_Transient >, Handle< Standard_Transient > >, NCollection_DataMap< unsigned int, Aspect_VKey >, NCollection_DataMap< TopoDS_Shape, Handle< VrmlData_Geometry > >, NCollection_DataMap< Standard_Integer, NodeType >, NCollection_DataMap< Handle< Standard_Type >, Handle< XmlMDF_ADriver > >, NCollection_DoubleMap< Handle< Standard_Type >, Standard_Integer >, NCollection_DoubleMap< XCAFPrs_Style, TCollection_AsciiString >, NCollection_DoubleMap< Standard_Integer, TDF_Label >, NCollection_IndexedDataMap< Standard_Size, Aspect_Touch >, NCollection_IndexedDataMap< TCollection_AsciiString, Handle< Aspect_XRAction > >, NCollection_IndexedDataMap< TCollection_AsciiString, Handle< Aspect_XRActionSet > >, NCollection_IndexedDataMap< TopoDS_Shape, TopTools_ListOfShape, TopTools_ShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Shape, Handle< BRepCheck_Result > >, NCollection_IndexedDataMap< TopoDS_Shape, TopTools_ListOfShape >, NCollection_IndexedDataMap< BRepMesh_Edge, BRepMesh_PairOfIndex >, NCollection_IndexedDataMap< Handle< Standard_Transient >, Handle< Standard_Transient > >, NCollection_IndexedDataMap< Handle< Poly_Triangulation >, Standard_Boolean >, NCollection_IndexedDataMap< TCollection_ExtendedString, Handle< PCDM_RetrievalDriver > >, NCollection_IndexedDataMap< TCollection_ExtendedString, Handle< PCDM_StorageDriver > >, NCollection_IndexedDataMap< TopoDS_Vertex, ChFiDS_ListOfStripe, TopTools_ShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Face, Draft_FaceInfo, TopTools_ShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Edge, Draft_EdgeInfo, TopTools_ShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Vertex, Draft_VertexInfo, TopTools_ShapeMapHasher >, NCollection_IndexedDataMap< Handle< Graphic3d_CLight >, Standard_Size >, NCollection_IndexedDataMap< TCollection_AsciiString, Standard_Integer >, NCollection_IndexedDataMap< TCollection_AsciiString, Handle< Standard_Transient > >, NCollection_IndexedDataMap< Standard_Integer, Handle< TColStd_HSequenceOfInteger > >, NCollection_IndexedDataMap< Message_MetricType, StartToStopValue >, NCollection_IndexedDataMap< RWGltf_StyledShape, Handle< RWGltf_GltfFaceList >, Hasher >, NCollection_IndexedDataMap< Handle< Image_Texture >, RWGltf_GltfBufferView >, NCollection_IndexedDataMap< TCollection_AsciiString, TCollection_AsciiString >, NCollection_IndexedDataMap< Handle< SelectMgr_EntityOwner >, SelectMgr_SortCriterion >, NCollection_IndexedDataMap< TCollection_AsciiString, Handle< StdStorage_Root > >, NCollection_IndexedDataMap< TopoDS_Shape, TopOpeBRepDS_ShapeData, TopTools_ShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Shape, TopOpeBRepDS_ShapeWithState, TopTools_ShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Shape, Bnd_Box2d >, NCollection_IndexedDataMap< TopoDS_Shape, Bnd_Box >, NCollection_IndexedDataMap< TopoDS_Shape, TopOpeBRepTool_connexity, TopTools_ShapeMapHasher >, NCollection_IndexedDataMap< TopoDS_Shape, Standard_Address, TopTools_ShapeMapHasher >, NCollection_IndexedDataMap< Handle< Transfer_Finder >, Handle< Transfer_Binder >, Transfer_FindHasher >, NCollection_IndexedDataMap< Handle< Standard_Transient >, Handle< Transfer_Binder > >, NCollection_IndexedMap< Handle< Font_SystemFont >, FontHasher >, NCollection_IndexedMap< XCAFPrs_DocumentNode >, NCollection_IndexedMap< TopoDS_Shape >, NCollection_IndexedMap< TopoDS_Shape, TopTools_ShapeMapHasher >, NCollection_IndexedMap< Handle< BOPDS_PaveBlock > >, NCollection_IndexedMap< Standard_Real >, NCollection_IndexedMap< Handle< Standard_Transient > >, NCollection_IndexedMap< TopLoc_Location >, NCollection_IndexedMap< Handle< Poly_Polygon2D > >, NCollection_IndexedMap< Handle< Poly_Polygon3D > >, NCollection_IndexedMap< Handle< Poly_PolygonOnTriangulation > >, NCollection_IndexedMap< Handle< TDF_Attribute > >, NCollection_IndexedMap< Handle< Expr_NamedUnknown > >, NCollection_IndexedMap< const Graphic3d_CStructure * >, NCollection_IndexedMap< Handle< NCollection_Shared > >, NCollection_IndexedMap< constGraphic3d_CStructure * >, NCollection_IndexedMap< Graphic3d_Structure * >, NCollection_IndexedMap< Graphic3d_CView * >, NCollection_IndexedMap< Message_MetricType >, NCollection_IndexedMap< Poly_MakeLoops::Link, Poly_MakeLoops::Hasher >, NCollection_IndexedMap< TCollection_AsciiString >, NCollection_IndexedMap< Handle< Select3D_SensitiveEntity > >, NCollection_IndexedMap< Handle< SelectMgr_SelectableObject > >, NCollection_IndexedMap< Handle< SelectMgr_SensitiveEntity > >, NCollection_IndexedMap< Standard_Integer >, NCollection_IndexedMap< TDF_Label >, NCollection_Map< TopoDS_Shape, TopTools_ShapeMapHasher >, NCollection_Map< Standard_Integer >, NCollection_Map< BOPDS_Pair >, NCollection_Map< Cell, CellHasher >, NCollection_Map< TCollection_AsciiString >, NCollection_Map< Handle< Standard_Transient > >, NCollection_Map< Handle< CDM_Document > >, NCollection_Map< Handle< Graphic3d_Structure > >, NCollection_Map< IVtk_IdType >, NCollection_Map< IntTools_CurveRangeSample >, NCollection_Map< IntTools_SurfaceRangeSample >, NCollection_Map< Handle< OpenGl_View > >, NCollection_Map< NCollection_Vec4< int >, MergedElemHasher >, NCollection_Map< Handle< Image_Texture > >, NCollection_Map< TDF_Label >, NCollection_Map< Quantity_Color >, NCollection_Map< Handle< SelectMgr_SelectableObject > >, NCollection_Map< Handle< TDF_Attribute > >, NCollection_Map< Standard_GUID >, NCollection_Map< Handle< VrmlData_Node > >, NCollection_Map< Standard_Address >, NCollection_DataMap< TheKeyType, TheItemType, Hasher >, NCollection_DoubleMap< TheKey1Type, TheKey2Type, Hasher1, Hasher2 >, NCollection_IndexedDataMap< TheKeyType, TheItemType, Hasher >, NCollection_IndexedMap< TheKeyType, Hasher >, and NCollection_Map< TheKeyType, Hasher >.

Data Structures

class  Iterator
 Memory allocation. More...
 

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

Protected Member Functions

 NCollection_BaseMap (const Standard_Integer NbBuckets, const Standard_Boolean single, const Handle< NCollection_BaseAllocator > &theAllocator)
 Constructor.
 
 NCollection_BaseMap (NCollection_BaseMap &&theOther) noexcept
 Move Constructor.
 
virtual ~NCollection_BaseMap ()
 Destructor.
 
Standard_Boolean BeginResize (const Standard_Integer NbBuckets, Standard_Integer &NewBuckets, NCollection_ListNode **&data1, NCollection_ListNode **&data2) const
 BeginResize.
 
void EndResize (const Standard_Integer NbBuckets, const Standard_Integer NewBuckets, NCollection_ListNode **data1, NCollection_ListNode **data2)
 EndResize.
 
Standard_Boolean Resizable () const
 Resizable.
 
Standard_Integer Increment ()
 Increment.
 
Standard_Integer Decrement ()
 Decrement.
 
void Destroy (NCollection_DelMapNode fDel, Standard_Boolean doReleaseMemory=Standard_True)
 Destroy.
 
Standard_Integer NextPrimeForMap (const Standard_Integer N) const
 NextPrimeForMap.
 
void exchangeMapsData (NCollection_BaseMap &theOther)
 Exchange content of two maps without data copying.
 
NCollection_BaseMapoperator= (NCollection_BaseMap &&) noexcept=delete
 Move operator.
 
 NCollection_BaseMap (const NCollection_BaseMap &)=delete
 Copy Constructor.
 
NCollection_BaseMapoperator= (const NCollection_BaseMap &)=delete
 Assign operator.
 

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() [1/3]

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

Constructor.

◆ NCollection_BaseMap() [2/3]

NCollection_BaseMap::NCollection_BaseMap ( NCollection_BaseMap &&  theOther)
inlineprotectednoexcept

Move Constructor.

◆ ~NCollection_BaseMap()

virtual NCollection_BaseMap::~NCollection_BaseMap ( )
inlineprotectedvirtual

Destructor.

◆ NCollection_BaseMap() [3/3]

NCollection_BaseMap::NCollection_BaseMap ( const NCollection_BaseMap )
protecteddelete

Copy Constructor.

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()

Standard_Integer 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()

Standard_Integer 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.

◆ operator=() [1/2]

NCollection_BaseMap & NCollection_BaseMap::operator= ( const NCollection_BaseMap )
protecteddelete

Assign operator.

◆ operator=() [2/2]

NCollection_BaseMap & NCollection_BaseMap::operator= ( NCollection_BaseMap &&  )
protecteddeletenoexcept

Move operator.

◆ 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: