summaryrefslogtreecommitdiff
path: root/src/StepRepr/StepRepr_PropertyDefinitionRepresentation.cxx
blob: e7ba1924c7bd32b335f0c0304d3a714e1e5446b0 (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:	StepRepr_PropertyDefinitionRepresentation.cxx
// Created:	Thu Dec 12 16:02:14 2002 
// Author:	data exchange team
// Generator:	ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
// Copyright:	Open CASCADE 2002

#include <StepRepr_PropertyDefinitionRepresentation.ixx>

//=======================================================================
//function : StepRepr_PropertyDefinitionRepresentation
//purpose  : 
//=======================================================================

StepRepr_PropertyDefinitionRepresentation::StepRepr_PropertyDefinitionRepresentation ()
{
}

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

void StepRepr_PropertyDefinitionRepresentation::Init (const StepRepr_RepresentedDefinition &aDefinition,
                                                      const Handle(StepRepr_Representation) &aUsedRepresentation)
{

  theDefinition = aDefinition;

  theUsedRepresentation = aUsedRepresentation;
}

//=======================================================================
//function : Definition
//purpose  : 
//=======================================================================

StepRepr_RepresentedDefinition StepRepr_PropertyDefinitionRepresentation::Definition () const
{
  return theDefinition;
}

//=======================================================================
//function : SetDefinition
//purpose  : 
//=======================================================================

void StepRepr_PropertyDefinitionRepresentation::SetDefinition (const StepRepr_RepresentedDefinition &aDefinition)
{
  theDefinition = aDefinition;
}

//=======================================================================
//function : UsedRepresentation
//purpose  : 
//=======================================================================

Handle(StepRepr_Representation) StepRepr_PropertyDefinitionRepresentation::UsedRepresentation () const
{
  return theUsedRepresentation;
}

//=======================================================================
//function : SetUsedRepresentation
//purpose  : 
//=======================================================================

void StepRepr_PropertyDefinitionRepresentation::SetUsedRepresentation (const Handle(StepRepr_Representation) &aUsedRepresentation)
{
  theUsedRepresentation = aUsedRepresentation;
}