blob: 16c819aa5b6afa63a3483e3be92128a23993add6 (
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
|
//--------------------------------------------------------------------
//
// File Name : IGESAppli_PartNumber.cxx
// Date :
// Author : CKY / Contract Toubro-Larsen
// Copyright : MATRA-DATAVISION 1993
//
//--------------------------------------------------------------------
#include <IGESAppli_PartNumber.ixx>
IGESAppli_PartNumber::IGESAppli_PartNumber () { }
void IGESAppli_PartNumber::Init
(const Standard_Integer nbPropVal,
const Handle(TCollection_HAsciiString)& aGenName,
const Handle(TCollection_HAsciiString)& aMilName,
const Handle(TCollection_HAsciiString)& aVendName,
const Handle(TCollection_HAsciiString)& anIntName)
{
theNbPropertyValues = nbPropVal;
theGenericNumber = aGenName;
theMilitaryNumber = aMilName;
theVendorNumber = aVendName;
theInternalNumber = anIntName;
InitTypeAndForm(406,9);
}
Standard_Integer IGESAppli_PartNumber::NbPropertyValues () const
{
return theNbPropertyValues;
}
Handle(TCollection_HAsciiString) IGESAppli_PartNumber::GenericNumber () const
{
return theGenericNumber;
}
Handle(TCollection_HAsciiString) IGESAppli_PartNumber::MilitaryNumber () const
{
return theMilitaryNumber;
}
Handle(TCollection_HAsciiString) IGESAppli_PartNumber::VendorNumber () const
{
return theVendorNumber;
}
Handle(TCollection_HAsciiString) IGESAppli_PartNumber::InternalNumber () const
{
return theInternalNumber;
}
|