|
Open CASCADE Technology 6.5.2
|
A SelectCombine type Selection defines algebraic operations
between results of several Selections
It is a deferred class : sub-classes will have to define
precise what operator is to be applied
#include <IFSelect_SelectCombine.hxx>

Public Member Functions | |
| Standard_Integer | NbInputs () const |
| Returns the count of Input Selections | |
| Handle_IFSelect_Selection | Input (const Standard_Integer num) const |
| Returns an Input Selection, given its rank in the list | |
| Standard_Integer | InputRank (const Handle< IFSelect_Selection > &sel) const |
| Returns the rank of an input Selection, 0 if not in the list. Most generally, its value is meaningless, except for testing the presence of an input Selection : | |
| void | Add (const Handle< IFSelect_Selection > &sel, const Standard_Integer atnum=0) |
| Adds a Selection to the filling list By default, adds it to the end of the list A Positive rank less then NbInputs gives an insertion rank (InsertBefore : the new <atnum>th item of the list is <sel>) | |
| Standard_Boolean | Remove (const Handle< IFSelect_Selection > &sel) |
| Removes an input Selection. Returns True if Done, False, if <sel> is not an input for <me> | |
| Standard_Boolean | Remove (const Standard_Integer num) |
| Removes an input Selection, given its rank in the list Returns True if Done, False if <num> is out of range | |
| void | FillIterator (IFSelect_SelectionIterator &iter) const |
| Puts in an Iterator the Selections from which "me" depends That is to say, the list of Input Selections | |
Protected Member Functions | |
| IFSelect_SelectCombine () | |
| Defines an empty SelectCombine | |
| virtual Standard_Boolean | HasUniqueResult () const |
| Returns always True, because RootResult gives a Unique list | |
| IFSelect_SelectCombine::IFSelect_SelectCombine | ( | ) | [protected] |
| void IFSelect_SelectCombine::Add | ( | const Handle< IFSelect_Selection > & | sel, |
| const Standard_Integer | atnum = 0 |
||
| ) |
| void IFSelect_SelectCombine::FillIterator | ( | IFSelect_SelectionIterator & | iter | ) | const [virtual] |
Implements IFSelect_Selection.
| virtual Standard_Boolean IFSelect_SelectCombine::HasUniqueResult | ( | ) | const [protected, virtual] |
Reimplemented from IFSelect_Selection.
| Handle_IFSelect_Selection IFSelect_SelectCombine::Input | ( | const Standard_Integer | num | ) | const |
| Standard_Integer IFSelect_SelectCombine::InputRank | ( | const Handle< IFSelect_Selection > & | sel | ) | const |
| Standard_Integer IFSelect_SelectCombine::NbInputs | ( | ) | const |
| Standard_Boolean IFSelect_SelectCombine::Remove | ( | const Handle< IFSelect_Selection > & | sel | ) |
| Standard_Boolean IFSelect_SelectCombine::Remove | ( | const Standard_Integer | num | ) |
1.7.4