1 // Created on: 1993-01-09
2 // Created by: CKY / Contract Toubro-Larsen (Arun MENON)
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 _IGESBasic_HeaderFile
18 #define _IGESBasic_HeaderFile
19 
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
23 
24 class IGESBasic_Protocol;
25 
26 
27 //! This package represents basic entities from IGES
28 class IGESBasic
29 {
30 public:
31 
32   DEFINE_STANDARD_ALLOC
33 
34 
35   //! Prepares dynqmic data (Protocol, Modules) for this package
36   Standard_EXPORT static void Init();
37 
38   //! Returns the Protocol for this Package
39   Standard_EXPORT static Handle(IGESBasic_Protocol) Protocol();
40 
41 
42 
43 
44 protected:
45 
46 
47 
48 
49 
50 private:
51 
52 
53 
54 
55 friend class IGESBasic_SubfigureDef;
56 friend class IGESBasic_Group;
57 friend class IGESBasic_GroupWithoutBackP;
58 friend class IGESBasic_SingleParent;
59 friend class IGESBasic_ExternalRefFileIndex;
60 friend class IGESBasic_OrderedGroup;
61 friend class IGESBasic_OrderedGroupWithoutBackP;
62 friend class IGESBasic_Hierarchy;
63 friend class IGESBasic_ExternalReferenceFile;
64 friend class IGESBasic_Name;
65 friend class IGESBasic_AssocGroupType;
66 friend class IGESBasic_SingularSubfigure;
67 friend class IGESBasic_ExternalRefFileName;
68 friend class IGESBasic_ExternalRefFile;
69 friend class IGESBasic_ExternalRefName;
70 friend class IGESBasic_ExternalRefLibName;
71 friend class IGESBasic_ToolSubfigureDef;
72 friend class IGESBasic_ToolGroup;
73 friend class IGESBasic_ToolGroupWithoutBackP;
74 friend class IGESBasic_ToolSingleParent;
75 friend class IGESBasic_ToolExternalRefFileIndex;
76 friend class IGESBasic_ToolOrderedGroup;
77 friend class IGESBasic_ToolOrderedGroupWithoutBackP;
78 friend class IGESBasic_ToolHierarchy;
79 friend class IGESBasic_ToolExternalReferenceFile;
80 friend class IGESBasic_ToolName;
81 friend class IGESBasic_ToolAssocGroupType;
82 friend class IGESBasic_ToolSingularSubfigure;
83 friend class IGESBasic_ToolExternalRefFileName;
84 friend class IGESBasic_ToolExternalRefFile;
85 friend class IGESBasic_ToolExternalRefName;
86 friend class IGESBasic_ToolExternalRefLibName;
87 friend class IGESBasic_Protocol;
88 friend class IGESBasic_ReadWriteModule;
89 friend class IGESBasic_GeneralModule;
90 friend class IGESBasic_SpecificModule;
91 friend class IGESBasic_HArray1OfHArray1OfInteger;
92 friend class IGESBasic_HArray1OfHArray1OfReal;
93 friend class IGESBasic_HArray1OfHArray1OfXY;
94 friend class IGESBasic_HArray1OfHArray1OfXYZ;
95 friend class IGESBasic_HArray1OfHArray1OfIGESEntity;
96 
97 };
98 
99 
100 
101 
102 
103 
104 
105 #endif // _IGESBasic_HeaderFile
106