Open CASCADE Technology
6.5.4
|
Selects Entities which have a given name.
Consider Property Name if present, else Short Label, but
not the Subscript Number
First version : keeps exact name
Later : regular expression
#include <IGESSelect_SelectName.hxx>
Public Member Functions | |
IGESSelect_SelectName () | |
Creates an empty SelectName : every entity is considered good (no filter active) | |
Standard_Boolean | Sort (const Standard_Integer rank, const Handle< Standard_Transient > &ent, const Handle< Interface_InterfaceModel > &model) const |
Returns True if Name of Entity complies with Name Filter | |
void | SetName (const Handle< TCollection_HAsciiString > &name) |
Sets a Name as a criterium : IGES Entities which have this name are kept (without regular expression, there should be at most one). <name> can be regarded as a Text Parameter | |
Handle_TCollection_HAsciiString | Name () const |
Returns the Name used as Filter | |
TCollection_AsciiString | ExtractLabel () const |
Returns the Selection criterium : "IGES Entity, Name : <name>" |
TCollection_AsciiString IGESSelect_SelectName::ExtractLabel | ( | ) | const [virtual] |
Implements IFSelect_SelectExtract.
Handle_TCollection_HAsciiString IGESSelect_SelectName::Name | ( | ) | const |
Standard_Boolean IGESSelect_SelectName::Sort | ( | const Standard_Integer | rank, |
const Handle< Standard_Transient > & | ent, | ||
const Handle< Interface_InterfaceModel > & | model | ||
) | const [virtual] |
Implements IFSelect_SelectExtract.