42cf5bc1 |
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 |
5 | // |
6 | // This file is part of Open CASCADE Technology software library. |
7 | // |
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. |
13 | // |
14 | // Alternatively, this file may be used under the terms of Open CASCADE |
15 | // commercial license or contractual agreement. |
16 | |
17 | #ifndef _IGESSelect_SignStatus_HeaderFile |
18 | #define _IGESSelect_SignStatus_HeaderFile |
19 | |
20 | #include <Standard.hxx> |
21 | #include <Standard_Type.hxx> |
22 | |
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; |
29 | |
30 | |
31 | class IGESSelect_SignStatus; |
32 | DEFINE_STANDARD_HANDLE(IGESSelect_SignStatus, IFSelect_Signature) |
33 | |
34 | //! Gives D.E. Status under the form i,j,k,l (4 figures) |
35 | //! i for BlankStatus |
36 | //! j for SubordinateStatus |
37 | //! k for UseFlag |
38 | //! l for Hierarchy |
39 | //! |
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 |
49 | { |
50 | |
51 | public: |
52 | |
53 | |
54 | Standard_EXPORT IGESSelect_SignStatus(); |
55 | |
56 | //! Returns the value (see above) |
79104795 |
57 | Standard_EXPORT Standard_CString Value (const Handle(Standard_Transient)& ent, const Handle(Interface_InterfaceModel)& model) const Standard_OVERRIDE; |
42cf5bc1 |
58 | |
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; |
61 | |
62 | |
63 | |
64 | |
92efcf78 |
65 | DEFINE_STANDARD_RTTIEXT(IGESSelect_SignStatus,IFSelect_Signature) |
42cf5bc1 |
66 | |
67 | protected: |
68 | |
69 | |
70 | |
71 | |
72 | private: |
73 | |
74 | |
75 | |
76 | |
77 | }; |
78 | |
79 | |
80 | |
81 | |
82 | |
83 | |
84 | |
85 | #endif // _IGESSelect_SignStatus_HeaderFile |