0026371: Implementation of new entities for GD&T
[occt.git] / src / StepDimTol / StepDimTol_DatumTarget.hxx
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_DatumTarget_HeaderFile
17 #define _StepDimTol_DatumTarget_HeaderFile
18
19 #include <Standard.hxx>
20 #include <Standard_Type.hxx>
21
22 #include <StepRepr_ShapeAspect.hxx>
23 #include <StepData_Logical.hxx>
24 class TCollection_HAsciiString;
25 class StepRepr_ProductDefinitionShape;
26
27
28 class StepDimTol_DatumTarget;
29 DEFINE_STANDARD_HANDLE(StepDimTol_DatumTarget, StepRepr_ShapeAspect)
30
31 //! Representation of STEP entity DatumTarget
32 class StepDimTol_DatumTarget : public StepRepr_ShapeAspect
33 {
34
35 public:
36
37   
38   //! Empty constructor
39   Standard_EXPORT StepDimTol_DatumTarget();
40   
41   //! Initialize all fields (own and inherited)
42   Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aShapeAspect_Name, const Handle(TCollection_HAsciiString)& aShapeAspect_Description, const Handle(StepRepr_ProductDefinitionShape)& aShapeAspect_OfShape, const StepData_Logical aShapeAspect_ProductDefinitional, const Handle(TCollection_HAsciiString)& aTargetId);
43   
44   //! Returns field TargetId
45   Standard_EXPORT Handle(TCollection_HAsciiString) TargetId() const;
46   
47   //! Set field TargetId
48   Standard_EXPORT void SetTargetId (const Handle(TCollection_HAsciiString)& TargetId);
49
50
51
52
53   DEFINE_STANDARD_RTTI(StepDimTol_DatumTarget,StepRepr_ShapeAspect)
54
55 protected:
56
57
58
59
60 private:
61
62
63   Handle(TCollection_HAsciiString) theTargetId;
64
65
66 };
67
68
69
70
71
72
73
74 #endif // _StepDimTol_DatumTarget_HeaderFile