7fd59977 |
1 | #include <IGESSelect_SelectVisibleStatus.ixx> |
2 | #include <IGESData_IGESEntity.hxx> |
3 | #include <Interface_Macros.hxx> |
4 | |
5 | |
6 | |
7 | IGESSelect_SelectVisibleStatus::IGESSelect_SelectVisibleStatus () { } |
8 | |
9 | |
10 | Standard_Boolean IGESSelect_SelectVisibleStatus::Sort |
11 | (const Standard_Integer rank, const Handle(Standard_Transient)& ent, |
12 | const Handle(Interface_InterfaceModel)& model) const |
13 | { |
14 | DeclareAndCast(IGESData_IGESEntity,igesent,ent); |
15 | if (igesent.IsNull()) return Standard_False; |
16 | return (igesent->BlankStatus() == 0); |
17 | } |
18 | |
19 | TCollection_AsciiString IGESSelect_SelectVisibleStatus::ExtractLabel |
20 | () const |
21 | { return TCollection_AsciiString ("IGES Entity, Status Visible"); } |