0026720: Coding, STEP - non-conformant names of class fields
[occt.git] / src / StepDimTol / StepDimTol_DatumReference.cxx
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 // Generator:   ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
17
18 #include <Standard_Type.hxx>
19 #include <StepDimTol_Datum.hxx>
20 #include <StepDimTol_DatumReference.hxx>
21
22 //=======================================================================
23 //function : StepDimTol_DatumReference
24 //purpose  : 
25 //=======================================================================
26 StepDimTol_DatumReference::StepDimTol_DatumReference ()
27 {
28 }
29
30 //=======================================================================
31 //function : Init
32 //purpose  : 
33 //=======================================================================
34
35 void StepDimTol_DatumReference::Init (const Standard_Integer thePrecedence,
36                                       const Handle(StepDimTol_Datum) &theReferencedDatum)
37 {
38
39   myPrecedence = thePrecedence;
40
41   myReferencedDatum = theReferencedDatum;
42 }
43
44 //=======================================================================
45 //function : Precedence
46 //purpose  : 
47 //=======================================================================
48
49 Standard_Integer StepDimTol_DatumReference::Precedence () const
50 {
51   return myPrecedence;
52 }
53
54 //=======================================================================
55 //function : SetPrecedence
56 //purpose  : 
57 //=======================================================================
58
59 void StepDimTol_DatumReference::SetPrecedence (const Standard_Integer thePrecedence)
60 {
61   myPrecedence = thePrecedence;
62 }
63
64 //=======================================================================
65 //function : ReferencedDatum
66 //purpose  : 
67 //=======================================================================
68
69 Handle(StepDimTol_Datum) StepDimTol_DatumReference::ReferencedDatum () const
70 {
71   return myReferencedDatum;
72 }
73
74 //=======================================================================
75 //function : SetReferencedDatum
76 //purpose  : 
77 //=======================================================================
78
79 void StepDimTol_DatumReference::SetReferencedDatum (const Handle(StepDimTol_Datum) &theReferencedDatum)
80 {
81   myReferencedDatum = theReferencedDatum;
82 }