Open CASCADE Technology 6.6.0
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

Public Member Functions

Standard_Boolean IsEmpty () const
Standard_Integer Length () const

Protected Member Functions

 NCollection_BaseSequence ()
void ClearSeq (NCollection_DelSeqNode fDel, Handle< NCollection_BaseAllocator > &theAl)
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, Handle< NCollection_BaseAllocator > &theAl)
void RemoveSeq (const Standard_Integer Index, NCollection_DelSeqNode fDel, Handle< NCollection_BaseAllocator > &theAl)
void RemoveSeq (const Standard_Integer From, const Standard_Integer To, NCollection_DelSeqNode fDel, Handle< NCollection_BaseAllocator > &theAl)
void PReverse ()
void PExchange (const Standard_Integer I, const Standard_Integer J)
const NCollection_SeqNodeFind (const Standard_Integer) const

Protected Attributes

const NCollection_SeqNodemyFirstItem
const NCollection_SeqNodemyLastItem
const 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 ( ) [inline, protected]

Member Function Documentation

void NCollection_BaseSequence::ClearSeq ( NCollection_DelSeqNode  fDel,
Handle< NCollection_BaseAllocator > &  theAl 
) [protected]
const 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 ( const Standard_Integer  Index,
NCollection_SeqNode  
) [protected]
void NCollection_BaseSequence::PInsertAfter ( const Standard_Integer  Index,
NCollection_BaseSequence S 
) [protected]
void NCollection_BaseSequence::PInsertAfter ( Iterator thePosition,
NCollection_SeqNode  
) [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 ( const Standard_Integer  From,
const Standard_Integer  To,
NCollection_DelSeqNode  fDel,
Handle< NCollection_BaseAllocator > &  theAl 
) [protected]
void NCollection_BaseSequence::RemoveSeq ( Iterator thePosition,
NCollection_DelSeqNode  fDel,
Handle< NCollection_BaseAllocator > &  theAl 
) [protected]
void NCollection_BaseSequence::RemoveSeq ( const Standard_Integer  Index,
NCollection_DelSeqNode  fDel,
Handle< NCollection_BaseAllocator > &  theAl 
) [protected]

Field Documentation


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines