0027104: DownCast() cannot return null for mismatched handle
[occt.git] / src / IGESAppli / IGESAppli.hxx
CommitLineData
42cf5bc1 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_HeaderFile
18#define _IGESAppli_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_DefineAlloc.hxx>
22#include <Standard_Handle.hxx>
23
24class IGESAppli_Protocol;
25class IGESAppli_Node;
26class IGESAppli_FiniteElement;
27class IGESAppli_NodalDisplAndRot;
28class IGESAppli_NodalResults;
29class IGESAppli_ElementResults;
30class IGESAppli_Flow;
31class IGESAppli_PipingFlow;
32class IGESAppli_RegionRestriction;
33class IGESAppli_LevelFunction;
34class IGESAppli_LineWidening;
35class IGESAppli_DrilledHole;
36class IGESAppli_ReferenceDesignator;
37class IGESAppli_PinNumber;
38class IGESAppli_PartNumber;
39class IGESAppli_FlowLineSpec;
40class IGESAppli_LevelToPWBLayerMap;
41class IGESAppli_PWBArtworkStackup;
42class IGESAppli_PWBDrilledHole;
43class IGESAppli_NodalConstraint;
44class IGESAppli_ToolNode;
45class IGESAppli_ToolFiniteElement;
46class IGESAppli_ToolNodalDisplAndRot;
47class IGESAppli_ToolNodalResults;
48class IGESAppli_ToolElementResults;
49class IGESAppli_ToolFlow;
50class IGESAppli_ToolPipingFlow;
51class IGESAppli_ToolRegionRestriction;
52class IGESAppli_ToolLevelFunction;
53class IGESAppli_ToolLineWidening;
54class IGESAppli_ToolDrilledHole;
55class IGESAppli_ToolReferenceDesignator;
56class IGESAppli_ToolPinNumber;
57class IGESAppli_ToolPartNumber;
58class IGESAppli_ToolFlowLineSpec;
59class IGESAppli_ToolLevelToPWBLayerMap;
60class IGESAppli_ToolPWBArtworkStackup;
61class IGESAppli_ToolPWBDrilledHole;
62class IGESAppli_ToolNodalConstraint;
63class IGESAppli_Protocol;
64class IGESAppli_ReadWriteModule;
65class IGESAppli_GeneralModule;
66class IGESAppli_SpecificModule;
67
68
69//! This package represents collection of miscellaneous
70//! entities from IGES
71class IGESAppli
72{
73public:
74
75 DEFINE_STANDARD_ALLOC
76
77
78 //! Prepares dynamic data (Protocol, Modules) for this package
79 Standard_EXPORT static void Init();
80
81 //! Returns the Protocol for this Package
82 Standard_EXPORT static Handle(IGESAppli_Protocol) Protocol();
83
84
85
86
87protected:
88
89
90
91
92
93private:
94
95
96
97
98friend class IGESAppli_Node;
99friend class IGESAppli_FiniteElement;
100friend class IGESAppli_NodalDisplAndRot;
101friend class IGESAppli_NodalResults;
102friend class IGESAppli_ElementResults;
103friend class IGESAppli_Flow;
104friend class IGESAppli_PipingFlow;
105friend class IGESAppli_RegionRestriction;
106friend class IGESAppli_LevelFunction;
107friend class IGESAppli_LineWidening;
108friend class IGESAppli_DrilledHole;
109friend class IGESAppli_ReferenceDesignator;
110friend class IGESAppli_PinNumber;
111friend class IGESAppli_PartNumber;
112friend class IGESAppli_FlowLineSpec;
113friend class IGESAppli_LevelToPWBLayerMap;
114friend class IGESAppli_PWBArtworkStackup;
115friend class IGESAppli_PWBDrilledHole;
116friend class IGESAppli_NodalConstraint;
117friend class IGESAppli_ToolNode;
118friend class IGESAppli_ToolFiniteElement;
119friend class IGESAppli_ToolNodalDisplAndRot;
120friend class IGESAppli_ToolNodalResults;
121friend class IGESAppli_ToolElementResults;
122friend class IGESAppli_ToolFlow;
123friend class IGESAppli_ToolPipingFlow;
124friend class IGESAppli_ToolRegionRestriction;
125friend class IGESAppli_ToolLevelFunction;
126friend class IGESAppli_ToolLineWidening;
127friend class IGESAppli_ToolDrilledHole;
128friend class IGESAppli_ToolReferenceDesignator;
129friend class IGESAppli_ToolPinNumber;
130friend class IGESAppli_ToolPartNumber;
131friend class IGESAppli_ToolFlowLineSpec;
132friend class IGESAppli_ToolLevelToPWBLayerMap;
133friend class IGESAppli_ToolPWBArtworkStackup;
134friend class IGESAppli_ToolPWBDrilledHole;
135friend class IGESAppli_ToolNodalConstraint;
136friend class IGESAppli_Protocol;
137friend class IGESAppli_ReadWriteModule;
138friend class IGESAppli_GeneralModule;
139friend class IGESAppli_SpecificModule;
140
141};
142
143
144
145
146
147
148
149#endif // _IGESAppli_HeaderFile