42cf5bc1 |
1 | // Created on: 2003-06-04 |
2 | // Created by: Galina KULIKOVA |
3 | // Copyright (c) 2003-2014 OPEN CASCADE SAS |
4 | // |
5 | // This file is part of Open CASCADE Technology software library. |
6 | // |
7 | // This library is free software; you can redistribute it and/or modify it under |
8 | // the terms of the GNU Lesser General Public License version 2.1 as published |
9 | // by the Free Software Foundation, with special exception defined in the file |
10 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
11 | // distribution for complete text of the license and disclaimer of any warranty. |
12 | // |
13 | // Alternatively, this file may be used under the terms of Open CASCADE |
14 | // commercial license or contractual agreement. |
15 | |
16 | #ifndef _StepDimTol_GeometricToleranceRelationship_HeaderFile |
17 | #define _StepDimTol_GeometricToleranceRelationship_HeaderFile |
18 | |
19 | #include <Standard.hxx> |
20 | #include <Standard_Type.hxx> |
21 | |
22 | #include <MMgt_TShared.hxx> |
23 | class TCollection_HAsciiString; |
24 | class StepDimTol_GeometricTolerance; |
25 | |
26 | |
27 | class StepDimTol_GeometricToleranceRelationship; |
28 | DEFINE_STANDARD_HANDLE(StepDimTol_GeometricToleranceRelationship, MMgt_TShared) |
29 | |
30 | //! Representation of STEP entity GeometricToleranceRelationship |
31 | class StepDimTol_GeometricToleranceRelationship : public MMgt_TShared |
32 | { |
33 | |
34 | public: |
35 | |
36 | |
37 | //! Empty constructor |
38 | Standard_EXPORT StepDimTol_GeometricToleranceRelationship(); |
39 | |
40 | //! Initialize all fields (own and inherited) |
2f220b97 |
41 | Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName, |
42 | const Handle(TCollection_HAsciiString)& theDescription, |
43 | const Handle(StepDimTol_GeometricTolerance)& theRelatingGeometricTolerance, |
44 | const Handle(StepDimTol_GeometricTolerance)& theRelatedGeometricTolerance); |
42cf5bc1 |
45 | |
46 | //! Returns field Name |
47 | Standard_EXPORT Handle(TCollection_HAsciiString) Name() const; |
48 | |
49 | //! Set field Name |
2f220b97 |
50 | Standard_EXPORT void SetName (const Handle(TCollection_HAsciiString)& theName); |
42cf5bc1 |
51 | |
52 | //! Returns field Description |
53 | Standard_EXPORT Handle(TCollection_HAsciiString) Description() const; |
54 | |
55 | //! Set field Description |
2f220b97 |
56 | Standard_EXPORT void SetDescription (const Handle(TCollection_HAsciiString)& theDescription); |
42cf5bc1 |
57 | |
58 | //! Returns field RelatingGeometricTolerance |
59 | Standard_EXPORT Handle(StepDimTol_GeometricTolerance) RelatingGeometricTolerance() const; |
60 | |
61 | //! Set field RelatingGeometricTolerance |
2f220b97 |
62 | Standard_EXPORT void SetRelatingGeometricTolerance (const Handle(StepDimTol_GeometricTolerance)& theRelatingGeometricTolerance); |
42cf5bc1 |
63 | |
64 | //! Returns field RelatedGeometricTolerance |
65 | Standard_EXPORT Handle(StepDimTol_GeometricTolerance) RelatedGeometricTolerance() const; |
66 | |
67 | //! Set field RelatedGeometricTolerance |
2f220b97 |
68 | Standard_EXPORT void SetRelatedGeometricTolerance (const Handle(StepDimTol_GeometricTolerance)& theRelatedGeometricTolerance); |
42cf5bc1 |
69 | |
70 | |
71 | |
72 | |
92efcf78 |
73 | DEFINE_STANDARD_RTTIEXT(StepDimTol_GeometricToleranceRelationship,MMgt_TShared) |
42cf5bc1 |
74 | |
75 | protected: |
76 | |
77 | |
78 | |
79 | |
80 | private: |
81 | |
82 | |
2f220b97 |
83 | Handle(TCollection_HAsciiString) myName; |
84 | Handle(TCollection_HAsciiString) myDescription; |
85 | Handle(StepDimTol_GeometricTolerance) myRelatingGeometricTolerance; |
86 | Handle(StepDimTol_GeometricTolerance) myRelatedGeometricTolerance; |
42cf5bc1 |
87 | |
88 | |
89 | }; |
90 | |
91 | |
92 | |
93 | |
94 | |
95 | |
96 | |
97 | #endif // _StepDimTol_GeometricToleranceRelationship_HeaderFile |