7fd59977 |
1 | // File: StepDimTol_DatumTarget.cxx |
2 | // Created: Wed Jun 4 11:17:02 2003 |
3 | // Author: Galina KULIKOVA |
4 | // Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2 |
5 | // Copyright: Open CASCADE 2002 |
6 | |
7 | #include <StepDimTol_DatumTarget.ixx> |
8 | |
9 | //======================================================================= |
10 | //function : StepDimTol_DatumTarget |
11 | //purpose : |
12 | //======================================================================= |
13 | |
14 | StepDimTol_DatumTarget::StepDimTol_DatumTarget () |
15 | { |
16 | } |
17 | |
18 | //======================================================================= |
19 | //function : Init |
20 | //purpose : |
21 | //======================================================================= |
22 | |
23 | void StepDimTol_DatumTarget::Init (const Handle(TCollection_HAsciiString) &aShapeAspect_Name, |
24 | const Handle(TCollection_HAsciiString) &aShapeAspect_Description, |
25 | const Handle(StepRepr_ProductDefinitionShape) &aShapeAspect_OfShape, |
26 | const StepData_Logical aShapeAspect_ProductDefinitional, |
27 | const Handle(TCollection_HAsciiString) &aTargetId) |
28 | { |
29 | StepRepr_ShapeAspect::Init(aShapeAspect_Name, |
30 | aShapeAspect_Description, |
31 | aShapeAspect_OfShape, |
32 | aShapeAspect_ProductDefinitional); |
33 | theTargetId = aTargetId; |
34 | } |
35 | |
36 | //======================================================================= |
37 | //function : TargetId |
38 | //purpose : |
39 | //======================================================================= |
40 | |
41 | Handle(TCollection_HAsciiString) StepDimTol_DatumTarget::TargetId () const |
42 | { |
43 | return theTargetId; |
44 | } |
45 | |
46 | //======================================================================= |
47 | //function : SetTargetId |
48 | //purpose : |
49 | //======================================================================= |
50 | |
51 | void StepDimTol_DatumTarget::SetTargetId (const Handle(TCollection_HAsciiString) &aTargetId) |
52 | { |
53 | theTargetId = aTargetId; |
54 | } |