Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepRepr / StepRepr_PropertyDefinitionRepresentation.cxx
1 // File:        StepRepr_PropertyDefinitionRepresentation.cxx
2 // Created:     Thu Dec 12 16:02:14 2002 
3 // Author:      data exchange team
4 // Generator:   ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
5 // Copyright:   Open CASCADE 2002
6
7 #include <StepRepr_PropertyDefinitionRepresentation.ixx>
8
9 //=======================================================================
10 //function : StepRepr_PropertyDefinitionRepresentation
11 //purpose  : 
12 //=======================================================================
13
14 StepRepr_PropertyDefinitionRepresentation::StepRepr_PropertyDefinitionRepresentation ()
15 {
16 }
17
18 //=======================================================================
19 //function : Init
20 //purpose  : 
21 //=======================================================================
22
23 void StepRepr_PropertyDefinitionRepresentation::Init (const StepRepr_RepresentedDefinition &aDefinition,
24                                                       const Handle(StepRepr_Representation) &aUsedRepresentation)
25 {
26
27   theDefinition = aDefinition;
28
29   theUsedRepresentation = aUsedRepresentation;
30 }
31
32 //=======================================================================
33 //function : Definition
34 //purpose  : 
35 //=======================================================================
36
37 StepRepr_RepresentedDefinition StepRepr_PropertyDefinitionRepresentation::Definition () const
38 {
39   return theDefinition;
40 }
41
42 //=======================================================================
43 //function : SetDefinition
44 //purpose  : 
45 //=======================================================================
46
47 void StepRepr_PropertyDefinitionRepresentation::SetDefinition (const StepRepr_RepresentedDefinition &aDefinition)
48 {
49   theDefinition = aDefinition;
50 }
51
52 //=======================================================================
53 //function : UsedRepresentation
54 //purpose  : 
55 //=======================================================================
56
57 Handle(StepRepr_Representation) StepRepr_PropertyDefinitionRepresentation::UsedRepresentation () const
58 {
59   return theUsedRepresentation;
60 }
61
62 //=======================================================================
63 //function : SetUsedRepresentation
64 //purpose  : 
65 //=======================================================================
66
67 void StepRepr_PropertyDefinitionRepresentation::SetUsedRepresentation (const Handle(StepRepr_Representation) &aUsedRepresentation)
68 {
69   theUsedRepresentation = aUsedRepresentation;
70 }