summaryrefslogtreecommitdiff
path: root/inc/IGESAppli_LevelToPWBLayerMap.hxx
blob: 16b43343fcbb5f64cf8278ad279d68dc38d099c2 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _IGESAppli_LevelToPWBLayerMap_HeaderFile
#define _IGESAppli_LevelToPWBLayerMap_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESAppli_LevelToPWBLayerMap_HeaderFile
#include <Handle_IGESAppli_LevelToPWBLayerMap.hxx>
#endif

#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_TColStd_HArray1OfInteger_HeaderFile
#include <Handle_TColStd_HArray1OfInteger.hxx>
#endif
#ifndef _Handle_Interface_HArray1OfHAsciiString_HeaderFile
#include <Handle_Interface_HArray1OfHAsciiString.hxx>
#endif
#ifndef _IGESData_IGESEntity_HeaderFile
#include <IGESData_IGESEntity.hxx>
#endif
#ifndef _Handle_TCollection_HAsciiString_HeaderFile
#include <Handle_TCollection_HAsciiString.hxx>
#endif
class TColStd_HArray1OfInteger;
class Interface_HArray1OfHAsciiString;
class Standard_DimensionMismatch;
class Standard_OutOfRange;
class TCollection_HAsciiString;


//! defines LevelToPWBLayerMap, Type <406> Form <24> <br>
//!          in package IGESAppli <br>
//!          Used to correlate an exchange file level number with <br>
//!          its corresponding native level identifier, physical PWB <br>
//!          layer number and predefined functional level <br>
//!          identification <br>
class IGESAppli_LevelToPWBLayerMap : public IGESData_IGESEntity {

public:

  
  Standard_EXPORT   IGESAppli_LevelToPWBLayerMap();
  //! This method is used to set the fields of the class <br>
//!           LevelToPWBLayerMap <br>
//!       - nbPropVal       : Number of property values <br>
//!       - allExchLevels   : Exchange File Level Numbers <br>
//!       - allNativeLevels : Native Level Identifications <br>
//!       - allPhysLevels   : Physical Layer Numbers <br>
//!       - allExchIdents   : Exchange File Level Identifications <br>
//! raises exception if allExchLevels, allNativeLevels, allPhysLevels <br>
//! and all ExchIdents are not of same dimensions <br>
  Standard_EXPORT     void Init(const Standard_Integer nbPropVal,const Handle(TColStd_HArray1OfInteger)& allExchLevels,const Handle(Interface_HArray1OfHAsciiString)& allNativeLevels,const Handle(TColStd_HArray1OfInteger)& allPhysLevels,const Handle(Interface_HArray1OfHAsciiString)& allExchIdents) ;
  //! returns number of property values <br>
  Standard_EXPORT     Standard_Integer NbPropertyValues() const;
  //! returns number of level to layer definitions <br>
  Standard_EXPORT     Standard_Integer NbLevelToLayerDefs() const;
  //! returns Exchange File Level Number <br>
//! raises exception if Index <= 0 or Index > NbLevelToLayerDefs <br>
  Standard_EXPORT     Standard_Integer ExchangeFileLevelNumber(const Standard_Integer Index) const;
  //! returns Native Level Identification <br>
//! raises exception if Index <= 0 or Index > NbLevelToLayerDefs <br>
  Standard_EXPORT     Handle_TCollection_HAsciiString NativeLevel(const Standard_Integer Index) const;
  //! returns Physical Layer Number <br>
//! raises exception if Index <= 0 or Index > NbLevelToLayerDefs <br>
  Standard_EXPORT     Standard_Integer PhysicalLayerNumber(const Standard_Integer Index) const;
  
  Standard_EXPORT     Handle_TCollection_HAsciiString ExchangeFileLevelIdent(const Standard_Integer Index) const;




  DEFINE_STANDARD_RTTI(IGESAppli_LevelToPWBLayerMap)

protected:




private: 


Standard_Integer theNbPropertyValues;
Handle_TColStd_HArray1OfInteger theExchangeFileLevelNumber;
Handle_Interface_HArray1OfHAsciiString theNativeLevel;
Handle_TColStd_HArray1OfInteger thePhysicalLayerNumber;
Handle_Interface_HArray1OfHAsciiString theExchangeFileLevelIdent;


};





// other Inline functions and methods (like "C++: function call" methods)


#endif