Open CASCADE Technology  7.3.1.dev
Data Structures | Public Member Functions | Protected Member Functions | Protected Attributes
NCollection_BaseList Class Reference

#include <NCollection_BaseList.hxx>

Inheritance diagram for NCollection_BaseList:
Inheritance graph
[legend]

Data Structures

class  Iterator
 Memory allocation. More...
 

Public Member Functions

Standard_Integer Extent (void) const
 
Standard_Boolean IsEmpty (void) const
 
const Handle< NCollection_BaseAllocator > & Allocator () const
 Returns attached allocator. More...
 
virtual ~NCollection_BaseList (void)
 

Protected Member Functions

 NCollection_BaseList (const Handle< NCollection_BaseAllocator > &theAllocator=0L)
 
void PClear (NCollection_DelListNode fDel)
 
const NCollection_ListNodePFirst (void) const
 
const NCollection_ListNodePLast (void) const
 
void PAppend (NCollection_ListNode *theNode)
 
void PAppend (NCollection_ListNode *theNode, Iterator &theIt)
 
void PAppend (NCollection_BaseList &theOther)
 
void PPrepend (NCollection_ListNode *theNode)
 
void PPrepend (NCollection_BaseList &theOther)
 
void PRemoveFirst (NCollection_DelListNode fDel)
 
void PRemove (Iterator &theIter, NCollection_DelListNode fDel)
 
void PInsertBefore (NCollection_ListNode *theNode, Iterator &theIter)
 
void PInsertBefore (NCollection_BaseList &theOther, Iterator &theIter)
 
void PInsertAfter (NCollection_ListNode *theNode, Iterator &theIter)
 
void PInsertAfter (NCollection_BaseList &theOther, Iterator &theIter)
 
void PReverse ()
 

Protected Attributes

Handle< NCollection_BaseAllocatormyAllocator
 
NCollection_ListNodemyFirst
 
NCollection_ListNodemyLast
 
Standard_Integer myLength
 

Constructor & Destructor Documentation

◆ ~NCollection_BaseList()

virtual NCollection_BaseList::~NCollection_BaseList ( void  )
inlinevirtual

◆ NCollection_BaseList()

NCollection_BaseList::NCollection_BaseList ( const Handle< NCollection_BaseAllocator > &  theAllocator = 0L)
inlineprotected

Member Function Documentation

◆ Allocator()

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

Returns attached allocator.

◆ Extent()

Standard_Integer NCollection_BaseList::Extent ( void  ) const
inline

◆ IsEmpty()

Standard_Boolean NCollection_BaseList::IsEmpty ( void  ) const
inline

◆ PAppend() [1/3]

void NCollection_BaseList::PAppend ( NCollection_ListNode theNode)
protected

◆ PAppend() [2/3]

void NCollection_BaseList::PAppend ( NCollection_ListNode theNode,
Iterator theIt 
)
inlineprotected

◆ PAppend() [3/3]

void NCollection_BaseList::PAppend ( NCollection_BaseList theOther)
protected

◆ PClear()

void NCollection_BaseList::PClear ( NCollection_DelListNode  fDel)
protected

◆ PFirst()

const NCollection_ListNode* NCollection_BaseList::PFirst ( void  ) const
inlineprotected

◆ PInsertAfter() [1/2]

void NCollection_BaseList::PInsertAfter ( NCollection_ListNode theNode,
Iterator theIter 
)
protected

◆ PInsertAfter() [2/2]

void NCollection_BaseList::PInsertAfter ( NCollection_BaseList theOther,
Iterator theIter 
)
protected

◆ PInsertBefore() [1/2]

void NCollection_BaseList::PInsertBefore ( NCollection_ListNode theNode,
Iterator theIter 
)
protected

◆ PInsertBefore() [2/2]

void NCollection_BaseList::PInsertBefore ( NCollection_BaseList theOther,
Iterator theIter 
)
protected

◆ PLast()

const NCollection_ListNode* NCollection_BaseList::PLast ( void  ) const
inlineprotected

◆ PPrepend() [1/2]

void NCollection_BaseList::PPrepend ( NCollection_ListNode theNode)
protected

◆ PPrepend() [2/2]

void NCollection_BaseList::PPrepend ( NCollection_BaseList theOther)
protected

◆ PRemove()

void NCollection_BaseList::PRemove ( Iterator theIter,
NCollection_DelListNode  fDel 
)
protected

◆ PRemoveFirst()

void NCollection_BaseList::PRemoveFirst ( NCollection_DelListNode  fDel)
protected

◆ PReverse()

void NCollection_BaseList::PReverse ( )
protected

Field Documentation

◆ myAllocator

Handle< NCollection_BaseAllocator > NCollection_BaseList::myAllocator
protected

◆ myFirst

NCollection_ListNode* NCollection_BaseList::myFirst
protected

◆ myLast

NCollection_ListNode* NCollection_BaseList::myLast
protected

◆ myLength

Standard_Integer NCollection_BaseList::myLength
protected

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