Open CASCADE Technology  7.1.0.beta
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

virtual NCollection_BaseList::~NCollection_BaseList ( void  )
inlinevirtual
NCollection_BaseList::NCollection_BaseList ( const Handle< NCollection_BaseAllocator > &  theAllocator = 0L)
inlineprotected

Member Function Documentation

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

Returns attached allocator.

Standard_Integer NCollection_BaseList::Extent ( void  ) const
inline
Standard_Boolean NCollection_BaseList::IsEmpty ( void  ) const
inline
void NCollection_BaseList::PAppend ( NCollection_ListNode theNode)
protected
void NCollection_BaseList::PAppend ( NCollection_ListNode theNode,
Iterator theIt 
)
inlineprotected
void NCollection_BaseList::PAppend ( NCollection_BaseList theOther)
protected
void NCollection_BaseList::PClear ( NCollection_DelListNode  fDel)
protected
const NCollection_ListNode* NCollection_BaseList::PFirst ( void  ) const
inlineprotected
void NCollection_BaseList::PInsertAfter ( NCollection_ListNode theNode,
Iterator theIter 
)
protected
void NCollection_BaseList::PInsertAfter ( NCollection_BaseList theOther,
Iterator theIter 
)
protected
void NCollection_BaseList::PInsertBefore ( NCollection_ListNode theNode,
Iterator theIter 
)
protected
void NCollection_BaseList::PInsertBefore ( NCollection_BaseList theOther,
Iterator theIter 
)
protected
const NCollection_ListNode* NCollection_BaseList::PLast ( void  ) const
inlineprotected
void NCollection_BaseList::PPrepend ( NCollection_ListNode theNode)
protected
void NCollection_BaseList::PPrepend ( NCollection_BaseList theOther)
protected
void NCollection_BaseList::PRemove ( Iterator theIter,
NCollection_DelListNode  fDel 
)
protected
void NCollection_BaseList::PRemoveFirst ( NCollection_DelListNode  fDel)
protected
void NCollection_BaseList::PReverse ( )
protected

Field Documentation

Handle< NCollection_BaseAllocator > NCollection_BaseList::myAllocator
protected
NCollection_ListNode* NCollection_BaseList::myFirst
protected
NCollection_ListNode* NCollection_BaseList::myLast
protected
Standard_Integer NCollection_BaseList::myLength
protected

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