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
7 #include <StepRepr_PropertyDefinitionRepresentation.ixx>
9 //=======================================================================
10 //function : StepRepr_PropertyDefinitionRepresentation
12 //=======================================================================
14 StepRepr_PropertyDefinitionRepresentation::StepRepr_PropertyDefinitionRepresentation ()
18 //=======================================================================
21 //=======================================================================
23 void StepRepr_PropertyDefinitionRepresentation::Init (const StepRepr_RepresentedDefinition &aDefinition,
24 const Handle(StepRepr_Representation) &aUsedRepresentation)
27 theDefinition = aDefinition;
29 theUsedRepresentation = aUsedRepresentation;
32 //=======================================================================
33 //function : Definition
35 //=======================================================================
37 StepRepr_RepresentedDefinition StepRepr_PropertyDefinitionRepresentation::Definition () const
42 //=======================================================================
43 //function : SetDefinition
45 //=======================================================================
47 void StepRepr_PropertyDefinitionRepresentation::SetDefinition (const StepRepr_RepresentedDefinition &aDefinition)
49 theDefinition = aDefinition;
52 //=======================================================================
53 //function : UsedRepresentation
55 //=======================================================================
57 Handle(StepRepr_Representation) StepRepr_PropertyDefinitionRepresentation::UsedRepresentation () const
59 return theUsedRepresentation;
62 //=======================================================================
63 //function : SetUsedRepresentation
65 //=======================================================================
67 void StepRepr_PropertyDefinitionRepresentation::SetUsedRepresentation (const Handle(StepRepr_Representation) &aUsedRepresentation)
69 theUsedRepresentation = aUsedRepresentation;