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

#include <NCollection_BaseSequence.hxx>

Inheritance diagram for NCollection_BaseSequence:
Inheritance graph
[legend]

Data Structures

class  Iterator
 Memory allocation. More...
 

Public Member Functions

Standard_Boolean IsEmpty () const
 
Standard_Integer Length () const
 

Protected Member Functions

 NCollection_BaseSequence (const Handle< NCollection_BaseAllocator > &theAllocator)
 
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 ( const Handle< NCollection_BaseAllocator > &  theAllocator)
inlineprotected

Member Function Documentation

void NCollection_BaseSequence::ClearSeq ( NCollection_DelSeqNode  fDel)
protected
NCollection_SeqNode* NCollection_BaseSequence::Find ( const Standard_Integer  ) const
protected
Standard_Boolean NCollection_BaseSequence::IsEmpty ( void  ) const
inline
Standard_Integer NCollection_BaseSequence::Length ( void  ) const
inline
void NCollection_BaseSequence::PAppend ( NCollection_SeqNode )
protected
void NCollection_BaseSequence::PAppend ( NCollection_BaseSequence S)
protected
void NCollection_BaseSequence::PExchange ( const Standard_Integer  I,
const Standard_Integer  J 
)
protected
void NCollection_BaseSequence::PInsertAfter ( Iterator thePosition,
NCollection_SeqNode  
)
protected
void NCollection_BaseSequence::PInsertAfter ( const Standard_Integer  Index,
NCollection_SeqNode  
)
protected
void NCollection_BaseSequence::PInsertAfter ( const Standard_Integer  Index,
NCollection_BaseSequence S 
)
protected
void NCollection_BaseSequence::PPrepend ( NCollection_SeqNode )
protected
void NCollection_BaseSequence::PPrepend ( NCollection_BaseSequence S)
protected
void NCollection_BaseSequence::PReverse ( )
protected
void NCollection_BaseSequence::PSplit ( const Standard_Integer  Index,
NCollection_BaseSequence Sub 
)
protected
void NCollection_BaseSequence::RemoveSeq ( Iterator thePosition,
NCollection_DelSeqNode  fDel 
)
protected
void NCollection_BaseSequence::RemoveSeq ( const Standard_Integer  Index,
NCollection_DelSeqNode  fDel 
)
protected
void NCollection_BaseSequence::RemoveSeq ( const Standard_Integer  From,
const Standard_Integer  To,
NCollection_DelSeqNode  fDel 
)
protected

Field Documentation

Handle< NCollection_BaseAllocator > NCollection_BaseSequence::myAllocator
protected
Standard_Integer NCollection_BaseSequence::myCurrentIndex
protected
NCollection_SeqNode* NCollection_BaseSequence::myCurrentItem
protected
NCollection_SeqNode* NCollection_BaseSequence::myFirstItem
protected
NCollection_SeqNode* NCollection_BaseSequence::myLastItem
protected
Standard_Integer NCollection_BaseSequence::mySize
protected

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