summaryrefslogtreecommitdiff
path: root/src/StepDimTol/StepDimTol_DatumReference.cxx
blob: 44b3228fdc314f85909d53a1c7d67866125e15ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// File:	StepDimTol_DatumReference.cxx
// Created:	Wed Jun  4 13:34:35 2003 
// Author:	Galina KULIKOVA
// Generator:	ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
// Copyright:	Open CASCADE 2002

#include <StepDimTol_DatumReference.ixx>

//=======================================================================
//function : StepDimTol_DatumReference
//purpose  : 
//=======================================================================

StepDimTol_DatumReference::StepDimTol_DatumReference ()
{
}

//=======================================================================
//function : Init
//purpose  : 
//=======================================================================

void StepDimTol_DatumReference::Init (const Standard_Integer aPrecedence,
                                      const Handle(StepDimTol_Datum) &aReferencedDatum)
{

  thePrecedence = aPrecedence;

  theReferencedDatum = aReferencedDatum;
}

//=======================================================================
//function : Precedence
//purpose  : 
//=======================================================================

Standard_Integer StepDimTol_DatumReference::Precedence () const
{
  return thePrecedence;
}

//=======================================================================
//function : SetPrecedence
//purpose  : 
//=======================================================================

void StepDimTol_DatumReference::SetPrecedence (const Standard_Integer aPrecedence)
{
  thePrecedence = aPrecedence;
}

//=======================================================================
//function : ReferencedDatum
//purpose  : 
//=======================================================================

Handle(StepDimTol_Datum) StepDimTol_DatumReference::ReferencedDatum () const
{
  return theReferencedDatum;
}

//=======================================================================
//function : SetReferencedDatum
//purpose  : 
//=======================================================================

void StepDimTol_DatumReference::SetReferencedDatum (const Handle(StepDimTol_Datum) &aReferencedDatum)
{
  theReferencedDatum = aReferencedDatum;
}