Integration of OCCT 6.5.0 from SVN
[occt.git] / src / IGESBasic / IGESBasic_ExternalRefFileName.cxx
CommitLineData
7fd59977 1//--------------------------------------------------------------------
2//
3// File Name : IGESBasic_ExternalRefFileName.cxx
4// Date :
5// Author : CKY / Contract Toubro-Larsen
6// Copyright : MATRA-DATAVISION 1993
7//
8//--------------------------------------------------------------------
9
10#include <IGESBasic_ExternalRefFileName.ixx>
11
12
13 IGESBasic_ExternalRefFileName::IGESBasic_ExternalRefFileName () { }
14
15
16 void IGESBasic_ExternalRefFileName::Init
17 (const Handle(TCollection_HAsciiString)& aFileIdent,
18 const Handle(TCollection_HAsciiString)& anExtName)
19{
20 theExtRefFileIdentifier = aFileIdent;
21 theExtRefEntitySymbName = anExtName;
22 InitTypeAndForm(416,FormNumber());
23// FormNumber 0-2 : sens pas clair. Pourrait etre 0:Definition 2:Entity
24}
25
26 void IGESBasic_ExternalRefFileName::SetForEntity (const Standard_Boolean F)
27{
28 InitTypeAndForm(416, (F ? 2 : 0));
29}
30
31
32 Handle(TCollection_HAsciiString) IGESBasic_ExternalRefFileName::FileId () const
33{
34 return theExtRefFileIdentifier;
35}
36
37 Handle(TCollection_HAsciiString) IGESBasic_ExternalRefFileName::ReferenceName () const
38{
39 return theExtRefEntitySymbName;
40}