Open CASCADE Technology  7.4.0
Data Structures | Public Member Functions | Protected Member Functions | Protected Attributes
NCollection_BaseSequence Class Reference

#include <NCollection_BaseSequence.hxx>

Inherited by NCollection_Sequence< TheItemType >, NCollection_Sequence< AdvApp2Var_Node >, NCollection_Sequence< AdvApp2Var_Patch >, NCollection_Sequence< AdvApp2Var_Strip >, NCollection_Sequence< AppParCurves_MultiCurve >, NCollection_Sequence< Aspect_ScrollDelta >, NCollection_Sequence< Blend_Point >, NCollection_Sequence< Bnd_Box >, NCollection_Sequence< BRepBlend_PointOnRst >, NCollection_Sequence< BRepClass3d_BndBoxTreeSelectorLine::EdgeParam >, NCollection_Sequence< BRepClass3d_BndBoxTreeSelectorLine::VertParam >, NCollection_Sequence< BRepExtrema_SolutionElem >, NCollection_Sequence< BRepFill_EdgeFaceAndOrder >, NCollection_Sequence< BRepFill_FaceAndOrder >, NCollection_Sequence< BRepFill_Section >, NCollection_Sequence< Contap_Line >, NCollection_Sequence< Contap_ThePathPointOfTheSearch >, NCollection_Sequence< Contap_TheSegmentOfTheSearch >, NCollection_Sequence< Extrema_POnCurv >, NCollection_Sequence< Extrema_POnCurv2d >, NCollection_Sequence< Extrema_POnSurf >, NCollection_Sequence< FEmTool_ListOfVectors >, NCollection_Sequence< gp_Ax1 >, NCollection_Sequence< gp_Pnt >, NCollection_Sequence< gp_Pnt2d >, NCollection_Sequence< gp_Trsf >, NCollection_Sequence< gp_XY >, NCollection_Sequence< gp_XYZ >, NCollection_Sequence< Handle< AIS_Animation > >, NCollection_Sequence< Handle< Contap_TheIWLineOfTheIWalking > >, NCollection_Sequence< Handle< Draw_Drawable3D > >, NCollection_Sequence< Handle< Expr_GeneralExpression > >, NCollection_Sequence< Handle< Expr_GeneralRelation > >, NCollection_Sequence< Handle< Expr_NamedExpression > >, NCollection_Sequence< Handle< Expr_NamedFunction > >, NCollection_Sequence< Handle< Geom2d_Curve > >, NCollection_Sequence< Handle< Geom2d_Geometry > >, NCollection_Sequence< Handle< Geom_Curve > >, NCollection_Sequence< Handle< GeomPlate_PointConstraint > >, NCollection_Sequence< Handle< Graphic3d_ClipPlane > >, NCollection_Sequence< Handle< Graphic3d_Group > >, NCollection_Sequence< Handle< Graphic3d_ShaderAttribute > >, NCollection_Sequence< Handle< Graphic3d_ShaderObject > >, NCollection_Sequence< Handle< Graphic3d_ShaderVariable > >, NCollection_Sequence< Handle< Graphic3d_Structure > >, NCollection_Sequence< Handle< IFSelect_AppliedModifiers > >, NCollection_Sequence< Handle< IFSelect_Dispatch > >, NCollection_Sequence< Handle< IFSelect_GeneralModifier > >, NCollection_Sequence< Handle< IFSelect_Selection > >, NCollection_Sequence< Handle< Interface_InterfaceModel > >, NCollection_Sequence< Handle< IntPatch_Line > >, NCollection_Sequence< Handle< IntPatch_TheIWLineOfTheIWalking > >, NCollection_Sequence< Handle< MAT2d_Connexion > >, NCollection_Sequence< Handle< MAT_Arc > >, NCollection_Sequence< Handle< MeshVS_PrsBuilder > >, NCollection_Sequence< Handle< Message_Printer > >, NCollection_Sequence< Handle< NLPlate_HGPPConstraint > >, NCollection_Sequence< Handle< OpenGl_ShaderObject > >, NCollection_Sequence< Handle< OpenGl_ShaderProgram > >, NCollection_Sequence< Handle< PrsMgr_Presentation > >, NCollection_Sequence< Handle< SelectMgr_Selection > >, NCollection_Sequence< Handle< Standard_Transient > >, NCollection_Sequence< Handle< STEPSelections_AssemblyComponent > >, NCollection_Sequence< Handle< TColgp_HArray1OfPnt > >, NCollection_Sequence< Handle< TColgp_HArray1OfPnt2d > >, NCollection_Sequence< Handle< TColStd_HArray1OfReal > >, NCollection_Sequence< Handle< TDocStd_ApplicationDelta > >, NCollection_Sequence< Handle< TDocStd_Document > >, NCollection_Sequence< Handle< TObj_ObjectIterator > >, NCollection_Sequence< Handle< XCAFDoc_GraphNode > >, NCollection_Sequence< HArrow >, NCollection_Sequence< Hatch_Line >, NCollection_Sequence< Hatch_Parameter >, NCollection_Sequence< HatchGen_Domain >, NCollection_Sequence< HatchGen_PointOnElement >, NCollection_Sequence< HatchGen_PointOnHatching >, NCollection_Sequence< HCurve >, NCollection_Sequence< HLRBRep_ShapeBounds >, NCollection_Sequence< IntCurveSurface_IntersectionPoint >, NCollection_Sequence< IntCurveSurface_IntersectionSegment >, NCollection_Sequence< Intf_SectionLine >, NCollection_Sequence< Intf_SectionPoint >, NCollection_Sequence< Intf_TangentZone >, NCollection_Sequence< IntPatch_Point >, NCollection_Sequence< IntPatch_ThePathPointOfTheSOnBounds >, NCollection_Sequence< IntPatch_TheSegmentOfTheSOnBounds >, NCollection_Sequence< IntPolyh_StartPoint >, NCollection_Sequence< IntRes2d_IntersectionPoint >, NCollection_Sequence< IntRes2d_IntersectionSegment >, NCollection_Sequence< Intrv_Interval >, NCollection_Sequence< IntSurf_Couple >, NCollection_Sequence< IntSurf_InteriorPoint >, NCollection_Sequence< IntSurf_PathPoint >, NCollection_Sequence< IntSurf_PntOn2S >, NCollection_Sequence< IntTools_CommonPrt >, NCollection_Sequence< IntTools_Curve >, NCollection_Sequence< IntTools_PntOn2Faces >, NCollection_Sequence< IntTools_Range >, NCollection_Sequence< LocOpe_PntFace >, NCollection_Sequence< LProp_CIType >, NCollection_Sequence< Message_ProgressScale >, NCollection_Sequence< NCollection_List >, NCollection_Sequence< NCollection_Vec2< Standard_Integer > >, NCollection_Sequence< PCDM_Reference >, NCollection_Sequence< Plate_LinearScalarConstraint >, NCollection_Sequence< Plate_LinearXYZConstraint >, NCollection_Sequence< Plate_PinpointConstraint >, NCollection_Sequence< Quantity_Color >, NCollection_Sequence< RWGltf_GltfPrimArrayData >, NCollection_Sequence< Standard_Address >, NCollection_Sequence< Standard_Boolean >, NCollection_Sequence< Standard_Integer >, NCollection_Sequence< Standard_Real >, NCollection_Sequence< TColGeom2d_SequenceOfCurve >, NCollection_Sequence< TCollection_AsciiString >, NCollection_Sequence< TCollection_ExtendedString >, NCollection_Sequence< TDF_Label >, NCollection_Sequence< TopoDS_Shape >, NCollection_Sequence< TopOpeBRep_Point2d >, NCollection_Sequence< TopTools_SequenceOfShape >, NCollection_Sequence< XCAFDimTolObjects_DatumSingleModif >, NCollection_Sequence< XCAFDimTolObjects_DimensionModif >, NCollection_Sequence< XCAFDimTolObjects_GeomToleranceModif >, and NCollection_Sequence< XmlLDrivers_NamespaceDef >.

Data Structures

class  Iterator
 Memory allocation. More...
 

Public Member Functions

Standard_Boolean IsEmpty () const
 
Standard_Integer Length () const
 
const Handle< NCollection_BaseAllocator > & Allocator () const
 Returns attached allocator. More...
 

Protected Member Functions

 NCollection_BaseSequence (const Handle< NCollection_BaseAllocator > &theAllocator)
 
virtual ~NCollection_BaseSequence ()
 Destructor. More...
 
void ClearSeq (NCollection_DelSeqNode fDel)
 
void PAppend (NCollection_SeqNode *)
 
void PAppend (NCollection_BaseSequence &S)
 
void PPrepend (NCollection_SeqNode *)
 
void PPrepend (NCollection_BaseSequence &S)
 
void PInsertAfter (Iterator &thePosition, NCollection_SeqNode *)
 
void PInsertAfter (const Standard_Integer Index, NCollection_SeqNode *)
 
void PInsertAfter (const Standard_Integer Index, NCollection_BaseSequence &S)
 
void PSplit (const Standard_Integer Index, NCollection_BaseSequence &Sub)
 
void RemoveSeq (Iterator &thePosition, NCollection_DelSeqNode fDel)
 
void RemoveSeq (const Standard_Integer Index, NCollection_DelSeqNode fDel)
 
void RemoveSeq (const Standard_Integer From, const Standard_Integer To, NCollection_DelSeqNode fDel)
 
void PReverse ()
 
void PExchange (const Standard_Integer I, const Standard_Integer J)
 
NCollection_SeqNodeFind (const Standard_Integer) const
 

Protected Attributes

Handle< NCollection_BaseAllocatormyAllocator
 
NCollection_SeqNodemyFirstItem
 
NCollection_SeqNodemyLastItem
 
NCollection_SeqNodemyCurrentItem
 
Standard_Integer myCurrentIndex
 
Standard_Integer mySize
 

Detailed Description

Purpose: This is a base class for the Sequence. It deals with an indexed bidirectional list of NCollection_SeqNode's.

Constructor & Destructor Documentation

◆ NCollection_BaseSequence()

NCollection_BaseSequence::NCollection_BaseSequence ( const Handle< NCollection_BaseAllocator > &  theAllocator)
inlineprotected

◆ ~NCollection_BaseSequence()

virtual NCollection_BaseSequence::~NCollection_BaseSequence ( )
inlineprotectedvirtual

Destructor.

Member Function Documentation

◆ Allocator()

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

Returns attached allocator.

◆ ClearSeq()

void NCollection_BaseSequence::ClearSeq ( NCollection_DelSeqNode  fDel)
protected

◆ Find()

NCollection_SeqNode* NCollection_BaseSequence::Find ( const Standard_Integer  ) const
protected

◆ IsEmpty()

Standard_Boolean NCollection_BaseSequence::IsEmpty ( void  ) const
inline

◆ Length()

Standard_Integer NCollection_BaseSequence::Length ( void  ) const
inline

◆ PAppend() [1/2]

void NCollection_BaseSequence::PAppend ( NCollection_SeqNode )
protected

◆ PAppend() [2/2]

void NCollection_BaseSequence::PAppend ( NCollection_BaseSequence S)
protected

◆ PExchange()

void NCollection_BaseSequence::PExchange ( const Standard_Integer  I,
const Standard_Integer  J 
)
protected

◆ PInsertAfter() [1/3]

void NCollection_BaseSequence::PInsertAfter ( Iterator thePosition,
NCollection_SeqNode  
)
protected

◆ PInsertAfter() [2/3]

void NCollection_BaseSequence::PInsertAfter ( const Standard_Integer  Index,
NCollection_SeqNode  
)
protected

◆ PInsertAfter() [3/3]

void NCollection_BaseSequence::PInsertAfter ( const Standard_Integer  Index,
NCollection_BaseSequence S 
)
protected

◆ PPrepend() [1/2]

void NCollection_BaseSequence::PPrepend ( NCollection_SeqNode )
protected

◆ PPrepend() [2/2]

void NCollection_BaseSequence::PPrepend ( NCollection_BaseSequence S)
protected

◆ PReverse()

void NCollection_BaseSequence::PReverse ( )
protected

◆ PSplit()

void NCollection_BaseSequence::PSplit ( const Standard_Integer  Index,
NCollection_BaseSequence Sub 
)
protected

◆ RemoveSeq() [1/3]

void NCollection_BaseSequence::RemoveSeq ( Iterator thePosition,
NCollection_DelSeqNode  fDel 
)
protected

◆ RemoveSeq() [2/3]

void NCollection_BaseSequence::RemoveSeq ( const Standard_Integer  Index,
NCollection_DelSeqNode  fDel 
)
protected

◆ RemoveSeq() [3/3]

void NCollection_BaseSequence::RemoveSeq ( const Standard_Integer  From,
const Standard_Integer  To,
NCollection_DelSeqNode  fDel 
)
protected

Field Documentation

◆ myAllocator

Handle< NCollection_BaseAllocator > NCollection_BaseSequence::myAllocator
protected

◆ myCurrentIndex

Standard_Integer NCollection_BaseSequence::myCurrentIndex
protected

◆ myCurrentItem

NCollection_SeqNode* NCollection_BaseSequence::myCurrentItem
protected

◆ myFirstItem

NCollection_SeqNode* NCollection_BaseSequence::myFirstItem
protected

◆ myLastItem

NCollection_SeqNode* NCollection_BaseSequence::myLastItem
protected

◆ mySize

Standard_Integer NCollection_BaseSequence::mySize
protected

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