// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _IGESSelect_SelectName_HeaderFile #define _IGESSelect_SelectName_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_IGESSelect_SelectName_HeaderFile #include #endif #ifndef _Handle_TCollection_HAsciiString_HeaderFile #include #endif #ifndef _IFSelect_SelectExtract_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Handle_Standard_Transient_HeaderFile #include #endif #ifndef _Handle_Interface_InterfaceModel_HeaderFile #include #endif class TCollection_HAsciiString; class Standard_Transient; class Interface_InterfaceModel; class TCollection_AsciiString; //! 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
class IGESSelect_SelectName : public IFSelect_SelectExtract { public: //! Creates an empty SelectName : every entity is considered
//! good (no filter active)
Standard_EXPORT IGESSelect_SelectName(); //! Returns True if Name of Entity complies with Name Filter
Standard_EXPORT Standard_Boolean Sort(const Standard_Integer rank,const Handle(Standard_Transient)& ent,const Handle(Interface_InterfaceModel)& model) const; //! Sets a Name as a criterium : IGES Entities which have this name
//! are kept (without regular expression, there should be at most
//! one). can be regarded as a Text Parameter
Standard_EXPORT void SetName(const Handle(TCollection_HAsciiString)& name) ; //! Returns the Name used as Filter
Standard_EXPORT Handle_TCollection_HAsciiString Name() const; //! Returns the Selection criterium : "IGES Entity, Name : "
Standard_EXPORT TCollection_AsciiString ExtractLabel() const; DEFINE_STANDARD_RTTI(IGESSelect_SelectName) protected: private: Handle_TCollection_HAsciiString thename; }; // other Inline functions and methods (like "C++: function call" methods) #endif