Open CASCADE Technology 6.5.2
Public Member Functions
IFSelect_SelectionIterator Class Reference

Defines an Iterator on a list of Selections

#include <IFSelect_SelectionIterator.hxx>

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
 IFSelect_SelectionIterator ()
 Creates an empty iterator, ready to be filled

 IFSelect_SelectionIterator (const Handle< IFSelect_Selection > &sel)
 Creates an iterator from a Selection : it lists the Selections
from which <sel> depends (given by its method FillIterator)

void AddFromIter (IFSelect_SelectionIterator &iter)
 Adds to an iterator the content of another one
(each selection is present only once in the result)

void AddItem (const Handle< IFSelect_Selection > &sel)
 Adds a Selection to an iterator (if not yet noted)

void AddList (const IFSelect_TSeqOfSelection &list)
 Adds a list of Selections to an iterator (this list comes
from the description of a Selection or a Dispatch, etc...)

Standard_Boolean More () const
 Returns True if there are more Selections to get

void Next ()
 Sets iterator to the next item

const Handle_IFSelect_Selection & Value () const
 Returns the current Selction beeing iterated
Error if count of Selection has been passed


Constructor & Destructor Documentation

IFSelect_SelectionIterator::IFSelect_SelectionIterator ( )
IFSelect_SelectionIterator::IFSelect_SelectionIterator ( const Handle< IFSelect_Selection > &  sel)

Member Function Documentation

void IFSelect_SelectionIterator::AddFromIter ( IFSelect_SelectionIterator iter)
void IFSelect_SelectionIterator::AddItem ( const Handle< IFSelect_Selection > &  sel)
void IFSelect_SelectionIterator::AddList ( const IFSelect_TSeqOfSelection list)
Standard_Boolean IFSelect_SelectionIterator::More ( ) const
void IFSelect_SelectionIterator::Next ( )
void IFSelect_SelectionIterator::operator delete ( void *  anAddress) [inline]
void* IFSelect_SelectionIterator::operator new ( size_t  size) [inline]
void* IFSelect_SelectionIterator::operator new ( size_t  ,
void *  anAddress 
) [inline]
const Handle_IFSelect_Selection& IFSelect_SelectionIterator::Value ( ) const

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