1 // Created on: 1998-01-28
2 // Created by: Christian CAILLET
3 // Copyright (c) 1998-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #ifndef _IGESSelect_SignStatus_HeaderFile
18 #define _IGESSelect_SignStatus_HeaderFile
20 #include <Standard.hxx>
21 #include <Standard_Type.hxx>
23 #include <IFSelect_Signature.hxx>
24 #include <Standard_CString.hxx>
25 #include <Standard_Boolean.hxx>
26 class Standard_Transient;
27 class Interface_InterfaceModel;
28 class TCollection_AsciiString;
31 class IGESSelect_SignStatus;
32 DEFINE_STANDARD_HANDLE(IGESSelect_SignStatus, IFSelect_Signature)
34 //! Gives D.E. Status under the form i,j,k,l (4 figures)
36 //! j for SubordinateStatus
40 //! For matching, allowed shortcuts
41 //! B(Blanked) or V(Visible) are allowed instead of i
42 //! I(Independant=0), P(Physically Dep.=1), L(Logically Dep.=2) or
43 //! D(Dependant=3) are allowed instead of j
44 //! These letters must be given in their good position
45 //! For non-exact matching :
46 //! a letter (see above), no comma : only this status is checked
47 //! nothing or a star between commas : this status is OK
48 class IGESSelect_SignStatus : public IFSelect_Signature
54 Standard_EXPORT IGESSelect_SignStatus();
56 //! Returns the value (see above)
57 Standard_EXPORT Standard_CString Value (const Handle(Standard_Transient)& ent, const Handle(Interface_InterfaceModel)& model) const Standard_OVERRIDE;
59 //! Performs the match rule (see above)
60 Standard_EXPORT virtual Standard_Boolean Matches (const Handle(Standard_Transient)& ent, const Handle(Interface_InterfaceModel)& model, const TCollection_AsciiString& text, const Standard_Boolean exact) const Standard_OVERRIDE;
65 DEFINE_STANDARD_RTTIEXT(IGESSelect_SignStatus,IFSelect_Signature)
85 #endif // _IGESSelect_SignStatus_HeaderFile