0031682: Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with...
[occt.git] / src / StepData / StepData.hxx
CommitLineData
42cf5bc1 1// Created on: 1992-02-11
2// Created by: Christian CAILLET
3// Copyright (c) 1992-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 _StepData_HeaderFile
18#define _StepData_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_DefineAlloc.hxx>
22#include <Standard_Handle.hxx>
23
24class StepData_Protocol;
25class StepData_StepModel;
26class StepData_UndefinedEntity;
27class StepData_SelectType;
28class StepData_Field;
29class StepData_SelectMember;
30class StepData_SelectInt;
31class StepData_SelectReal;
32class StepData_SelectNamed;
33class StepData_SelectArrReal;
34class StepData_PDescr;
35class StepData_FieldList;
36class StepData_FieldList1;
37class StepData_FieldListN;
38class StepData_FieldListD;
39class StepData_EDescr;
40class StepData_ESDescr;
41class StepData_ECDescr;
42class StepData_Described;
43class StepData_Simple;
44class StepData_Plex;
45class StepData_FreeFormEntity;
46class StepData_Protocol;
47class StepData_GeneralModule;
48class StepData_FileRecognizer;
49class StepData_FileProtocol;
50class StepData_HeaderTool;
51class StepData_EnumTool;
52class StepData_DescrProtocol;
53class StepData_DescrGeneral;
54class StepData_DescrReadWrite;
55class StepData_StepReaderData;
56class StepData_StepReaderTool;
57class StepData_ReadWriteModule;
58class StepData_StepWriter;
59class StepData_StepDumper;
60class StepData_WriterLib;
61class StepData_DefaultGeneral;
62class StepData_GlobalNodeOfWriterLib;
63class StepData_NodeOfWriterLib;
64
65
66//! Gives basic data definition for Step Interface.
67//! Any class of a data model described in EXPRESS Language
68//! is candidate to be managed by a Step Interface
69class StepData
70{
71public:
72
73 DEFINE_STANDARD_ALLOC
74
75
76 //! Returns the recorded HeaderProtocol, which can be :
77 //! - a Null Handle if no Header Protocol was yet defined
78 //! - a simple Protocol if only one was defined
79 //! - a FileProtocol if more than one Protocol was yet defined
80 Standard_EXPORT static Handle(StepData_Protocol) HeaderProtocol();
81
82 //! Adds a new Header Protocol to the Header Definition
83 Standard_EXPORT static void AddHeaderProtocol (const Handle(StepData_Protocol)& headerproto);
84
85 //! Prepares General Data required to work with this package,
86 //! which are the Protocol and Modules to be loaded into Libraries
87 Standard_EXPORT static void Init();
88
89 //! Returns a Protocol from StepData (avoids to create it)
90 Standard_EXPORT static Handle(StepData_Protocol) Protocol();
91
92
93
94
95protected:
96
97
98
99
100
101private:
102
103
104
105
106friend class StepData_StepModel;
107friend class StepData_UndefinedEntity;
108friend class StepData_SelectType;
109friend class StepData_Field;
110friend class StepData_SelectMember;
111friend class StepData_SelectInt;
112friend class StepData_SelectReal;
113friend class StepData_SelectNamed;
114friend class StepData_SelectArrReal;
115friend class StepData_PDescr;
116friend class StepData_FieldList;
117friend class StepData_FieldList1;
118friend class StepData_FieldListN;
119friend class StepData_FieldListD;
120friend class StepData_EDescr;
121friend class StepData_ESDescr;
122friend class StepData_ECDescr;
123friend class StepData_Described;
124friend class StepData_Simple;
125friend class StepData_Plex;
126friend class StepData_FreeFormEntity;
127friend class StepData_Protocol;
128friend class StepData_GeneralModule;
129friend class StepData_FileRecognizer;
130friend class StepData_FileProtocol;
131friend class StepData_HeaderTool;
132friend class StepData_EnumTool;
133friend class StepData_DescrProtocol;
134friend class StepData_DescrGeneral;
135friend class StepData_DescrReadWrite;
136friend class StepData_StepReaderData;
137friend class StepData_StepReaderTool;
138friend class StepData_ReadWriteModule;
139friend class StepData_StepWriter;
140friend class StepData_StepDumper;
141friend class StepData_WriterLib;
142friend class StepData_DefaultGeneral;
143friend class StepData_GlobalNodeOfWriterLib;
144friend class StepData_NodeOfWriterLib;
145
146};
147
148
149
150
151
152
153
154#endif // _StepData_HeaderFile