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
6 // This file is part of Open CASCADE Technology software library.
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.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #ifndef _IGESAppli_PWBArtworkStackup_HeaderFile
18 #define _IGESAppli_PWBArtworkStackup_HeaderFile
20 #include <Standard.hxx>
22 #include <Standard_Integer.hxx>
23 #include <TColStd_HArray1OfInteger.hxx>
24 #include <IGESData_IGESEntity.hxx>
25 class TCollection_HAsciiString;
28 class IGESAppli_PWBArtworkStackup;
29 DEFINE_STANDARD_HANDLE(IGESAppli_PWBArtworkStackup, IGESData_IGESEntity)
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
45 Standard_EXPORT IGESAppli_PWBArtworkStackup();
47 //! This method is used to set the fields of the class
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);
54 //! returns number of property values
55 Standard_EXPORT Standard_Integer NbPropertyValues() const;
57 //! returns Artwork Stackup Identification
58 Standard_EXPORT Handle(TCollection_HAsciiString) Identification() const;
60 //! returns total number of Level Numbers
61 Standard_EXPORT Standard_Integer NbLevelNumbers() const;
63 //! returns Level Number
64 //! raises exception if Index <= 0 or Index > NbLevelNumbers
65 Standard_EXPORT Standard_Integer LevelNumber (const Standard_Integer Index) const;
70 DEFINE_STANDARD_RTTIEXT(IGESAppli_PWBArtworkStackup,IGESData_IGESEntity)
80 Standard_Integer theNbPropertyValues;
81 Handle(TCollection_HAsciiString) theArtworkStackupIdent;
82 Handle(TColStd_HArray1OfInteger) theLevelNumbers;
93 #endif // _IGESAppli_PWBArtworkStackup_HeaderFile