Open CASCADE Technology  7.0.0
Public Member Functions

V3d_ListOfTransient Class Reference

List of transient objects with methods to check presence and remove elements. More...

#include <V3d_ListOfTransient.hxx>

Inheritance diagram for V3d_ListOfTransient:
Inheritance graph
[legend]

Public Member Functions

Standard_Boolean Contains (const Handle< Standard_Transient > &theObject) const
 Return true if theObject is stored in the list. More...
 
void Remove (const Handle< Standard_Transient > &theObject)
 Remove all elements equal to theObject from the list. More...
 
- Public Member Functions inherited from NCollection_List< Handle< Standard_Transient > >
iterator begin () const
 Returns an iterator pointing to the first element in the list. More...
 
iterator end () const
 Returns an iterator referring to the past-the-end element in the list. More...
 
const_iterator cbegin () const
 Returns a const iterator pointing to the first element in the list. More...
 
const_iterator cend () const
 Returns a const iterator referring to the past-the-end element in the list. More...
 
 NCollection_List (const Handle< NCollection_BaseAllocator > &theAllocator=0L)
 Constructor. More...
 
 NCollection_List (const NCollection_List &theOther)
 Copy constructor. More...
 
Standard_Integer Size (void) const
 Size - Number of items. More...
 
NCollection_ListAssign (const NCollection_List &theOther)
 Replace this list by the items of another list (theOther parameter). This method does not change the internal allocator. More...
 
NCollection_Listoperator= (const NCollection_List &theOther)
 Replacement operator. More...
 
void Clear (const Handle< NCollection_BaseAllocator > &theAllocator=0L)
 Clear this list. More...
 
const Handle< Standard_Transient > & First (void) const
 First item. More...
 
Handle< Standard_Transient > & First (void)
 First item (non-const) More...
 
const Handle< Standard_Transient > & Last (void) const
 Last item. More...
 
Handle< Standard_Transient > & Last (void)
 Last item (non-const) More...
 
Handle< Standard_Transient > & Append (const Handle< Standard_Transient > &theItem)
 Append one item at the end. More...
 
void Append (const Handle< Standard_Transient > &theItem, Iterator &theIter)
 Append one item at the end and output iterator pointing at the appended item. More...
 
void Append (NCollection_List &theOther)
 Append another list at the end. More...
 
Handle< Standard_Transient > & Prepend (const Handle< Standard_Transient > &theItem)
 Prepend one item at the beginning. More...
 
void Prepend (NCollection_List &theOther)
 Prepend another list at the beginning. More...
 
void RemoveFirst (void)
 RemoveFirst item. More...
 
void Remove (Iterator &theIter)
 Remove item. More...
 
Handle< Standard_Transient > & InsertBefore (const Handle< Standard_Transient > &theItem, Iterator &theIter)
 InsertBefore. More...
 
void InsertBefore (NCollection_List &theOther, Iterator &theIter)
 InsertBefore. More...
 
Handle< Standard_Transient > & InsertAfter (const Handle< Standard_Transient > &theItem, Iterator &theIter)
 InsertAfter. More...
 
void InsertAfter (NCollection_List &theOther, Iterator &theIter)
 InsertAfter. More...
 
void Reverse ()
 Reverse the list. More...
 
virtual ~NCollection_List (void)
 Destructor - clears the List. More...
 
- Public Member Functions inherited from NCollection_BaseList
Standard_Integer Extent (void) const
 
Standard_Boolean IsEmpty (void) const
 
const Handle< NCollection_BaseAllocator > & Allocator () const
 Returns attached allocator. More...
 
virtual ~NCollection_BaseList (void)
 

Additional Inherited Members

- Public Types inherited from NCollection_List< Handle< Standard_Transient > >
typedef Handle< Standard_Transientvalue_type
 STL-compliant typedef for value type. More...
 
typedef NCollection_TListNode< Handle< Standard_Transient > > ListNode
 
typedef NCollection_TListIterator< Handle< Standard_Transient > > Iterator
 
typedef NCollection_StlIterator< std::forward_iterator_tag, Iterator, Handle< Standard_Transient >, false > iterator
 Shorthand for a regular iterator type. More...
 
typedef NCollection_StlIterator< std::forward_iterator_tag, Iterator, Handle< Standard_Transient >, true > const_iterator
 Shorthand for a constant iterator type. More...
 
- Protected Member Functions inherited from NCollection_BaseList
 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 inherited from NCollection_BaseList
Handle< NCollection_BaseAllocatormyAllocator
 
NCollection_ListNodemyFirst
 
NCollection_ListNodemyLast
 
Standard_Integer myLength
 

Detailed Description

List of transient objects with methods to check presence and remove elements.

Member Function Documentation

Standard_Boolean V3d_ListOfTransient::Contains ( const Handle< Standard_Transient > &  theObject) const
inline

Return true if theObject is stored in the list.

void V3d_ListOfTransient::Remove ( const Handle< Standard_Transient > &  theObject)
inline

Remove all elements equal to theObject from the list.


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