summaryrefslogtreecommitdiff
path: root/src/StepRepr/StepRepr_DataEnvironment.cxx
blob: 7f566dcbae6bc6e4c3b7d0228bee8c62ff39d367 (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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
// File:	StepRepr_DataEnvironment.cxx
// Created:	Thu Dec 12 15:38:05 2002 
// Author:	data exchange team
// Generator:	ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
// Copyright:	Open CASCADE 2002

#include <StepRepr_DataEnvironment.ixx>

//=======================================================================
//function : StepRepr_DataEnvironment
//purpose  : 
//=======================================================================

StepRepr_DataEnvironment::StepRepr_DataEnvironment ()
{
}

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

void StepRepr_DataEnvironment::Init (const Handle(TCollection_HAsciiString) &aName,
                                     const Handle(TCollection_HAsciiString) &aDescription,
                                     const Handle(StepRepr_HArray1OfPropertyDefinitionRepresentation) &aElements)
{

  theName = aName;

  theDescription = aDescription;

  theElements = aElements;
}

//=======================================================================
//function : Name
//purpose  : 
//=======================================================================

Handle(TCollection_HAsciiString) StepRepr_DataEnvironment::Name () const
{
  return theName;
}

//=======================================================================
//function : SetName
//purpose  : 
//=======================================================================

void StepRepr_DataEnvironment::SetName (const Handle(TCollection_HAsciiString) &aName)
{
  theName = aName;
}

//=======================================================================
//function : Description
//purpose  : 
//=======================================================================

Handle(TCollection_HAsciiString) StepRepr_DataEnvironment::Description () const
{
  return theDescription;
}

//=======================================================================
//function : SetDescription
//purpose  : 
//=======================================================================

void StepRepr_DataEnvironment::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
{
  theDescription = aDescription;
}

//=======================================================================
//function : Elements
//purpose  : 
//=======================================================================

Handle(StepRepr_HArray1OfPropertyDefinitionRepresentation) StepRepr_DataEnvironment::Elements () const
{
  return theElements;
}

//=======================================================================
//function : SetElements
//purpose  : 
//=======================================================================

void StepRepr_DataEnvironment::SetElements (const Handle(StepRepr_HArray1OfPropertyDefinitionRepresentation) &aElements)
{
  theElements = aElements;
}