Open CASCADE Technology  6.9.0
Public Member Functions | Protected Member Functions | Protected Attributes
TCollection_BasicMapIterator Class Reference

This class provides basic services for the iterators on Maps. The iterators are inherited from this one. More...

#include <TCollection_BasicMapIterator.hxx>

Inherited by AIS_DataMapIteratorOfDataMapOfILC, AIS_DataMapIteratorOfDataMapofIntegerListOfinteractive, AIS_DataMapIteratorOfDataMapOfIOStatus, AIS_DataMapIteratorOfDataMapOfSelStat, AIS_MapIteratorOfMapOfInteractive, BinMDF_DataMapIteratorOfTypeADriverMap, BinMDF_DoubleMapIteratorOfTypeIdMap, BiTgte_DataMapIteratorOfDataMapOfShapeBox, BRepAlgo_DataMapIteratorOfDataMapOfShapeBoolean, BRepAlgo_DataMapIteratorOfDataMapOfShapeInterference, BRepCheck_DataMapIteratorOfDataMapOfShapeListOfStatus, BRepCheck_DataMapIteratorOfDataMapOfShapeResult, BRepClass3d_DataMapIteratorOfMapOfInter, BRepFill_DataMapIteratorOfDataMapOfNodeDataMapOfShapeShape, BRepFill_DataMapIteratorOfDataMapOfNodeShape, BRepFill_DataMapIteratorOfDataMapOfOrientedShapeListOfShape, BRepFill_DataMapIteratorOfDataMapOfShapeDataMapOfShapeListOfShape, BRepFill_DataMapIteratorOfDataMapOfShapeHArray2OfShape, BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfPnt, BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfReal, BRepMAT2d_DataMapIteratorOfDataMapOfBasicEltShape, BRepMAT2d_DataMapIteratorOfDataMapOfShapeSequenceOfBasicElt, BRepOffset_DataMapIteratorOfDataMapOfShapeListOfInterval, BRepOffset_DataMapIteratorOfDataMapOfShapeMapOfShape, BRepOffset_DataMapIteratorOfDataMapOfShapeOffset, BRepTools_DataMapIteratorOfMapOfVertexPnt2d, BRepTopAdaptor_DataMapIteratorOfMapOfShapeTool, CDM_DataMapIteratorOfMetaDataLookUpTable, CDM_DataMapIteratorOfPresentationDirectory, CDM_MapIteratorOfMapOfDocument, ChFiKPart_DataMapIteratorOfRstMap, DNaming_DataMapIteratorOfDataMapOfShapeOfName, Draft_DataMapIteratorOfDataMapOfEdgeEdgeInfo, Draft_DataMapIteratorOfDataMapOfFaceFaceInfo, Draft_DataMapIteratorOfDataMapOfVertexVertexInfo, Geom2dHatch_DataMapIteratorOfHatchings, Geom2dHatch_DataMapIteratorOfMapOfElements, HLRTopoBRep_DataMapIteratorOfDataMapOfShapeFaceData, HLRTopoBRep_DataMapIteratorOfMapOfShapeListOfVData, Interface_DataMapIteratorOfDataMapOfTransientInteger, IntTools_DataMapIteratorOfDataMapOfCurveSampleBox, IntTools_DataMapIteratorOfDataMapOfSurfaceSampleBox, IntTools_MapIteratorOfMapOfCurveSample, IntTools_MapIteratorOfMapOfSurfaceSample, LocOpe_DataMapIteratorOfDataMapOfShapePnt, MAT2d_DataMapIteratorOfDataMapOfBiIntInteger, MAT2d_DataMapIteratorOfDataMapOfBiIntSequenceOfInteger, MAT2d_DataMapIteratorOfDataMapOfIntegerBisec, MAT2d_DataMapIteratorOfDataMapOfIntegerConnexion, MAT2d_DataMapIteratorOfDataMapOfIntegerPnt2d, MAT2d_DataMapIteratorOfDataMapOfIntegerSequenceOfConnexion, MAT2d_DataMapIteratorOfDataMapOfIntegerVec2d, MAT_DataMapIteratorOfDataMapOfIntegerArc, MAT_DataMapIteratorOfDataMapOfIntegerBasicElt, MAT_DataMapIteratorOfDataMapOfIntegerBisector, MAT_DataMapIteratorOfDataMapOfIntegerNode, MDF_DataMapIteratorOfTypeARDriverMap, MDF_DataMapIteratorOfTypeASDriverMap, MDF_DataMapIteratorOfTypeDriverListMapOfARDriverTable, MDF_DataMapIteratorOfTypeDriverListMapOfASDriverTable, MeshVS_DataMapIteratorOfDataMapOfColorMapOfInteger, MeshVS_DataMapIteratorOfDataMapOfHArray1OfSequenceOfInteger, MeshVS_DataMapIteratorOfDataMapOfIntegerAsciiString, MeshVS_DataMapIteratorOfDataMapOfIntegerBoolean, MeshVS_DataMapIteratorOfDataMapOfIntegerColor, MeshVS_DataMapIteratorOfDataMapOfIntegerMaterial, MeshVS_DataMapIteratorOfDataMapOfIntegerMeshEntityOwner, MeshVS_DataMapIteratorOfDataMapOfIntegerOwner, MeshVS_DataMapIteratorOfDataMapOfIntegerTwoColors, MeshVS_DataMapIteratorOfDataMapOfIntegerVector, MeshVS_DataMapIteratorOfDataMapOfTwoColorsMapOfInteger, MeshVS_MapIteratorOfMapOfTwoNodes, MoniTool_DataMapIteratorOfDataMapOfShapeTransient, MoniTool_DataMapIteratorOfDataMapOfTimer, Plugin_DataMapIteratorOfMapOfFunctions, PTColStd_DataMapIteratorOfPersistentTransientMap, PTColStd_DataMapIteratorOfTransientPersistentMap, PTColStd_DoubleMapIteratorOfDoubleMapOfTransientPersistent, QANCollection_DataMapIteratorOfDataMapOfRealPnt, QANCollection_DoubleMapIteratorOfDoubleMapOfRealInteger, Resource_DataMapIteratorOfDataMapOfAsciiStringAsciiString, Resource_DataMapIteratorOfDataMapOfAsciiStringExtendedString, SelectMgr_DataMapIteratorOfDataMapOfObjectSelectors, ShapeAnalysis_DataMapIteratorOfDataMapOfShapeListOfReal, ShapeExtend_DataMapIteratorOfDataMapOfShapeListOfMsg, ShapeExtend_DataMapIteratorOfDataMapOfTransientListOfMsg, ShapeFix_DataMapIteratorOfDataMapOfShapeBox2d, STEPCAFControl_DataMapIteratorOfDataMapOfLabelExternFile, STEPCAFControl_DataMapIteratorOfDataMapOfLabelShape, STEPCAFControl_DataMapIteratorOfDataMapOfPDExternFile, STEPCAFControl_DataMapIteratorOfDataMapOfSDRExternFile, STEPCAFControl_DataMapIteratorOfDataMapOfShapePD, STEPCAFControl_DataMapIteratorOfDataMapOfShapeSDR, STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient, STEPConstruct_DataMapIteratorOfDataMapOfPointTransient, StepToTopoDS_DataMapIteratorOfDataMapOfRI, StepToTopoDS_DataMapIteratorOfDataMapOfRINames, StepToTopoDS_DataMapIteratorOfDataMapOfTRI, StepToTopoDS_DataMapIteratorOfPointEdgeMap, StepToTopoDS_DataMapIteratorOfPointVertexMap, Storage_DataMapIteratorOfMapOfCallBack, Storage_DataMapIteratorOfMapOfPers, TColStd_DataMapIteratorOfDataMapOfAsciiStringInteger, TColStd_DataMapIteratorOfDataMapOfIntegerInteger, TColStd_DataMapIteratorOfDataMapOfIntegerListOfInteger, TColStd_DataMapIteratorOfDataMapOfIntegerReal, TColStd_DataMapIteratorOfDataMapOfIntegerTransient, TColStd_DataMapIteratorOfDataMapOfStringInteger, TColStd_DataMapIteratorOfDataMapOfTransientTransient, TColStd_MapIteratorOfMapOfAsciiString, TColStd_MapIteratorOfMapOfInteger, TColStd_MapIteratorOfMapOfReal, TColStd_MapIteratorOfMapOfTransient, TColStd_MapIteratorOfPackedMapOfInteger, TDataStd_DataMapIteratorOfDataMapOfStringByte, TDataStd_DataMapIteratorOfDataMapOfStringHArray1OfInteger, TDataStd_DataMapIteratorOfDataMapOfStringHArray1OfReal, TDataStd_DataMapIteratorOfDataMapOfStringReal, TDataStd_DataMapIteratorOfDataMapOfStringString, TDF_DataMapIteratorOfAttributeDataMap, TDF_DataMapIteratorOfLabelDataMap, TDF_DataMapIteratorOfLabelIntegerMap, TDF_DoubleMapIteratorOfAttributeDoubleMap, TDF_DoubleMapIteratorOfGUIDProgIDMap, TDF_DoubleMapIteratorOfLabelDoubleMap, TDF_MapIteratorOfAttributeMap, TDF_MapIteratorOfIDMap, TDF_MapIteratorOfLabelMap, TDocStd_DataMapIteratorOfLabelIDMapDataMap, TFunction_DataMapIteratorOfDataMapOfGUIDDriver, TFunction_DataMapIteratorOfDataMapOfLabelListOfLabel, TFunction_DoubleMapIteratorOfDoubleMapOfIntegerLabel, TNaming_DataMapIteratorOfDataMapOfShapePtrRefShape, TNaming_DataMapIteratorOfDataMapOfShapeShapesSet, TNaming_MapIteratorOfMapOfNamedShape, TopLoc_MapIteratorOfMapOfLocation, TopOpeBRep_DataMapIteratorOfDataMapOfTopolTool, TopOpeBRepBuild_DataMapIteratorOfDataMapOfShapeListOfShapeListOfShape, TopOpeBRepDS_DataMapIteratorOfDataMapOfCheckStatus, TopOpeBRepDS_DataMapIteratorOfDataMapOfIntegerListOfInterference, TopOpeBRepDS_DataMapIteratorOfDataMapOfInterferenceListOfInterference, TopOpeBRepDS_DataMapIteratorOfDataMapOfInterferenceShape, TopOpeBRepDS_DataMapIteratorOfDataMapOfShapeListOfShapeOn1State, TopOpeBRepDS_DataMapIteratorOfDataMapOfShapeState, TopOpeBRepDS_DataMapIteratorOfMapOfCurve, TopOpeBRepDS_DataMapIteratorOfMapOfIntegerShapeData, TopOpeBRepDS_DataMapIteratorOfMapOfPoint, TopOpeBRepDS_DataMapIteratorOfMapOfSurface, TopOpeBRepDS_DataMapIteratorOfShapeSurface, TopOpeBRepDS_DoubleMapIteratorOfDoubleMapOfIntegerShape, TopOpeBRepTool_DataMapIteratorOfDataMapOfOrientedShapeC2DF, TopOpeBRepTool_DataMapIteratorOfDataMapOfShapeface, TopOpeBRepTool_DataMapIteratorOfDataMapOfShapeListOfC2DF, TopTools_DataMapIteratorOfDataMapOfIntegerListOfShape, TopTools_DataMapIteratorOfDataMapOfIntegerShape, TopTools_DataMapIteratorOfDataMapOfOrientedShapeInteger, TopTools_DataMapIteratorOfDataMapOfOrientedShapeShape, TopTools_DataMapIteratorOfDataMapOfShapeInteger, TopTools_DataMapIteratorOfDataMapOfShapeListOfInteger, TopTools_DataMapIteratorOfDataMapOfShapeListOfShape, TopTools_DataMapIteratorOfDataMapOfShapeReal, TopTools_DataMapIteratorOfDataMapOfShapeSequenceOfShape, TopTools_DataMapIteratorOfDataMapOfShapeShape, TopTools_MapIteratorOfMapOfOrientedShape, TopTools_MapIteratorOfMapOfShape, TPrsStd_DataMapIteratorOfDataMapOfGUIDDriver, ViewerTest_DoubleMapIteratorOfDoubleMapOfInteractiveAndName, XCAFDoc_DataMapIteratorOfDataMapOfShapeLabel, XCAFPrs_DataMapIteratorOfDataMapOfShapeStyle, XCAFPrs_DataMapIteratorOfDataMapOfStyleShape, XCAFPrs_DataMapIteratorOfDataMapOfStyleTransient, XmlMDF_DataMapIteratorOfMapOfDriver, XmlMDF_DataMapIteratorOfTypeADriverMap, XSDRAWSTLVRML_DataMapIteratorOfCoordsMap, and XSDRAWSTLVRML_DataMapIteratorOfElemNodesMap.

Public Member Functions

void Reset ()
 Resets the iterator to the first node. More...
 
Standard_Boolean More () const
 Returns true if there is a current entry for this iterator in the map. Use the function Next to set this iterator to the position of the next entry, if it exists. More...
 
void Next ()
 Sets this iterator to the position of the next entry of the map. Nothing is changed if there is no more entry to explore in the map: this iterator is always positioned on the last entry of the map but the function More returns false. More...
 

Protected Member Functions

 TCollection_BasicMapIterator ()
 Creates an empty iterator. More...
 
 TCollection_BasicMapIterator (const TCollection_BasicMap &M)
 Initialize on the first node in the buckets. More...
 
void Initialize (const TCollection_BasicMap &M)
 Initialize on the first node in the buckets. More...
 

Protected Attributes

Standard_Address myNode
 

Detailed Description

This class provides basic services for the iterators on Maps. The iterators are inherited from this one.

The iterator contains an array of pointers (buckets). Each bucket is a pointer on a node. A node contains a pointer on the next node.

This class provides also basic services for the implementation of Maps. A map iterator provides a step by step exploration of all entries of a map. After initialization of a concrete derived iterator, use in a loop:

Constructor & Destructor Documentation

TCollection_BasicMapIterator::TCollection_BasicMapIterator ( )
protected

Creates an empty iterator.

TCollection_BasicMapIterator::TCollection_BasicMapIterator ( const TCollection_BasicMap M)
protected

Initialize on the first node in the buckets.

Member Function Documentation

void TCollection_BasicMapIterator::Initialize ( const TCollection_BasicMap M)
protected

Initialize on the first node in the buckets.

Standard_Boolean TCollection_BasicMapIterator::More ( ) const

Returns true if there is a current entry for this iterator in the map. Use the function Next to set this iterator to the position of the next entry, if it exists.

void TCollection_BasicMapIterator::Next ( )

Sets this iterator to the position of the next entry of the map. Nothing is changed if there is no more entry to explore in the map: this iterator is always positioned on the last entry of the map but the function More returns false.

void TCollection_BasicMapIterator::Reset ( )

Resets the iterator to the first node.

Field Documentation

Standard_Address TCollection_BasicMapIterator::myNode
protected

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