OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    IFSelect_SelectionIterator Class Reference

    Defines an Iterator on a list of Selections. More...

    #include <IFSelect_SelectionIterator.hxx>

    Public Member Functions

     IFSelect_SelectionIterator ()
     Creates an empty iterator, ready to be filled.
     IFSelect_SelectionIterator (const occ::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 occ::handle< IFSelect_Selection > &sel)
     Adds a Selection to an iterator (if not yet noted).
    void AddList (const NCollection_Sequence< occ::handle< IFSelect_Selection > > &list)
     Adds a list of Selections to an iterator (this list comes from the description of a Selection or a Dispatch, etc...).
    bool More () const
     Returns True if there are more Selections to get.
    void Next ()
     Sets iterator to the next item.
    const occ::handle< IFSelect_Selection > & Value () const
     Returns the current Selection being iterated Error if count of Selection has been passed.

    Detailed Description

    Defines an Iterator on a list of Selections.

    Constructor & Destructor Documentation

    ◆ IFSelect_SelectionIterator() [1/2]

    IFSelect_SelectionIterator::IFSelect_SelectionIterator ( )

    Creates an empty iterator, ready to be filled.

    ◆ IFSelect_SelectionIterator() [2/2]

    IFSelect_SelectionIterator::IFSelect_SelectionIterator ( const occ::handle< IFSelect_Selection > & sel)

    Creates an iterator from a Selection : it lists the Selections from which <sel> depends (given by its method FillIterator).

    Member Function Documentation

    ◆ AddFromIter()

    void IFSelect_SelectionIterator::AddFromIter ( IFSelect_SelectionIterator & iter)

    Adds to an iterator the content of another one (each selection is present only once in the result).

    ◆ AddItem()

    void IFSelect_SelectionIterator::AddItem ( const occ::handle< IFSelect_Selection > & sel)

    Adds a Selection to an iterator (if not yet noted).

    ◆ AddList()

    void IFSelect_SelectionIterator::AddList ( const NCollection_Sequence< occ::handle< IFSelect_Selection > > & list)

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

    ◆ More()

    bool IFSelect_SelectionIterator::More ( ) const

    Returns True if there are more Selections to get.

    ◆ Next()

    void IFSelect_SelectionIterator::Next ( )

    Sets iterator to the next item.

    ◆ Value()

    const occ::handle< IFSelect_Selection > & IFSelect_SelectionIterator::Value ( ) const

    Returns the current Selection being iterated Error if count of Selection has been passed.


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