0032951: Coding - get rid of unused headers [GeomConvert to IGESBasic]
[occt.git] / src / IGESAppli / IGESAppli_PWBArtworkStackup.hxx
1 // Created on: 1993-01-11
2 // Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN )
3 // Copyright (c) 1993-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #ifndef _IGESAppli_PWBArtworkStackup_HeaderFile
18 #define _IGESAppli_PWBArtworkStackup_HeaderFile
19
20 #include <Standard.hxx>
21
22 #include <Standard_Integer.hxx>
23 #include <TColStd_HArray1OfInteger.hxx>
24 #include <IGESData_IGESEntity.hxx>
25 class TCollection_HAsciiString;
26
27
28 class IGESAppli_PWBArtworkStackup;
29 DEFINE_STANDARD_HANDLE(IGESAppli_PWBArtworkStackup, IGESData_IGESEntity)
30
31 //! defines PWBArtworkStackup, Type <406> Form <25>
32 //! in package IGESAppli
33 //! Used to communicate which exchange file levels are to
34 //! be combined in order to create the artwork for a
35 //! printed wire board (PWB). This property should be
36 //! attached to the entity defining the printed wire
37 //! assembly (PWA) or if no such entity exists, then the
38 //! property should stand alone in the file.
39 class IGESAppli_PWBArtworkStackup : public IGESData_IGESEntity
40 {
41
42 public:
43
44   
45   Standard_EXPORT IGESAppli_PWBArtworkStackup();
46   
47   //! This method is used to set the fields of the class
48   //! PWBArtworkStackup
49   //! - nbPropVal    : number of property values
50   //! - anArtIdent   : Artwork Stackup Identification
51   //! - allLevelNums : Level Numbers
52   Standard_EXPORT void Init (const Standard_Integer nbPropVal, const Handle(TCollection_HAsciiString)& anArtIdent, const Handle(TColStd_HArray1OfInteger)& allLevelNums);
53   
54   //! returns number of property values
55   Standard_EXPORT Standard_Integer NbPropertyValues() const;
56   
57   //! returns Artwork Stackup Identification
58   Standard_EXPORT Handle(TCollection_HAsciiString) Identification() const;
59   
60   //! returns total number of Level Numbers
61   Standard_EXPORT Standard_Integer NbLevelNumbers() const;
62   
63   //! returns Level Number
64   //! raises exception if Index <= 0 or Index > NbLevelNumbers
65   Standard_EXPORT Standard_Integer LevelNumber (const Standard_Integer Index) const;
66
67
68
69
70   DEFINE_STANDARD_RTTIEXT(IGESAppli_PWBArtworkStackup,IGESData_IGESEntity)
71
72 protected:
73
74
75
76
77 private:
78
79
80   Standard_Integer theNbPropertyValues;
81   Handle(TCollection_HAsciiString) theArtworkStackupIdent;
82   Handle(TColStd_HArray1OfInteger) theLevelNumbers;
83
84
85 };
86
87
88
89
90
91
92
93 #endif // _IGESAppli_PWBArtworkStackup_HeaderFile