Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepBasic / StepBasic_DocumentRepresentationType.cxx
CommitLineData
7fd59977 1// File: StepBasic_DocumentRepresentationType.cxx
2// Created: Wed May 10 15:09:06 2000
3// Author: Andrey BETENEV
4// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
5// Copyright: Matra Datavision 2000
6
7#include <StepBasic_DocumentRepresentationType.ixx>
8
9//=======================================================================
10//function : StepBasic_DocumentRepresentationType
11//purpose :
12//=======================================================================
13
14StepBasic_DocumentRepresentationType::StepBasic_DocumentRepresentationType ()
15{
16}
17
18//=======================================================================
19//function : Init
20//purpose :
21//=======================================================================
22
23void StepBasic_DocumentRepresentationType::Init (const Handle(TCollection_HAsciiString) &aName,
24 const Handle(StepBasic_Document) &aRepresentedDocument)
25{
26
27 theName = aName;
28
29 theRepresentedDocument = aRepresentedDocument;
30}
31
32//=======================================================================
33//function : Name
34//purpose :
35//=======================================================================
36
37Handle(TCollection_HAsciiString) StepBasic_DocumentRepresentationType::Name () const
38{
39 return theName;
40}
41
42//=======================================================================
43//function : SetName
44//purpose :
45//=======================================================================
46
47void StepBasic_DocumentRepresentationType::SetName (const Handle(TCollection_HAsciiString) &aName)
48{
49 theName = aName;
50}
51
52//=======================================================================
53//function : RepresentedDocument
54//purpose :
55//=======================================================================
56
57Handle(StepBasic_Document) StepBasic_DocumentRepresentationType::RepresentedDocument () const
58{
59 return theRepresentedDocument;
60}
61
62//=======================================================================
63//function : SetRepresentedDocument
64//purpose :
65//=======================================================================
66
67void StepBasic_DocumentRepresentationType::SetRepresentedDocument (const Handle(StepBasic_Document) &aRepresentedDocument)
68{
69 theRepresentedDocument = aRepresentedDocument;
70}