Open CASCADE Technology
6.5.4
|
A SelectAnyType sorts the Entities of which the Type is Kind
of a given Type : this Type for Match is specific of each
class of SelectAnyType
#include <IFSelect_SelectAnyType.hxx>
Public Member Functions | |
virtual Handle_Standard_Type | TypeForMatch () const =0 |
Returns the Type which has to be matched for select | |
Standard_Boolean | Sort (const Standard_Integer rank, const Handle< Standard_Transient > &ent, const Handle< Interface_InterfaceModel > &model) const |
Returns True for an Entity (model->Value(num)) which is kind of the choosen type, given by the method TypeForMatch. Criterium is IsKind. |
Standard_Boolean IFSelect_SelectAnyType::Sort | ( | const Standard_Integer | rank, |
const Handle< Standard_Transient > & | ent, | ||
const Handle< Interface_InterfaceModel > & | model | ||
) | const [virtual] |
Implements IFSelect_SelectExtract.
virtual Handle_Standard_Type IFSelect_SelectAnyType::TypeForMatch | ( | ) | const [pure virtual] |
Implemented in IFSelect_SelectType.