CFx SDK Documentation  2023 SP0
IfcCore.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2019, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Open Design Alliance software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Open Design Alliance Copyright (C) 2002-2019 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 #ifndef _IFC_CORE_H
25 #define _IFC_CORE_H
26 
27 #include "daiModule.h"
28 
29 #include "IfcBuildOptions.h"
30 #include "IfcValueTypes.h"
31 #include "IfcSchemaModule.h"
32 
33 //#include "IfcEntity.h"
34 //#include "IfcCachedCompound.h"
35 
37 
42 {
44  kScmUndefined = 0,//Undefined schema.
46  kScmIfc2x3 = 1, // Ifc 2x3 schema.
48  kScmIfc4 = 2, // Ifc 4 schema.
50  kScmIfc4x2 = 3 // Ifc 4x2 schema.
51 };
52 
57 {
58  kFacetModeler, // ODA Facet modeler
59  kSpaModeler, // Spatial ACIS modeler
60  kBrepModeler, // ODA Brep Modeler
61 };
62 
74 IFCCORE_EXPORT OdResult odIfcInitialize(bool bInitIfcGeomResource = true, ModelerType modelerType = kFacetModeler);
75 
85 
91 
95 namespace OdIfc {
96 
101 {
102 private:
103 
104  virtual void registerSchemas();
105  virtual void unregisterSchemas();
106 
107 public:
108 
112  virtual void initApp();
113 
117  virtual void uninitApp();
118 };
119 
124 
125 } //namespace OdIfc
126 
127 #endif // _IFC_CORE_H
#define IFCCORE_EXPORT
InitialSchema
Definition: IfcCore.h:42
@ kScmIfc4x2
Definition: IfcCore.h:50
@ kScmUndefined
Definition: IfcCore.h:44
@ kScmIfc2x3
Definition: IfcCore.h:46
@ kScmIfc4
Definition: IfcCore.h:48
IFCCORE_EXPORT OdResult odIfcInitialize(bool bInitIfcGeomResource=true, ModelerType modelerType=kFacetModeler)
IFCCORE_EXPORT OdResult odIfcUninitialize()
IFCCORE_EXPORT bool odIfcIsGeomResourceInitialized()
ModelerType
Definition: IfcCore.h:57
@ kSpaModeler
Definition: IfcCore.h:59
@ kFacetModeler
Definition: IfcCore.h:58
@ kBrepModeler
Definition: IfcCore.h:60
OdResult
Definition: OdResult.h:29
virtual void uninitApp()
virtual void initApp()
OdSmartPtr< OdIfcCoreModule > OdIfcCoreModulePtr
Definition: IfcCore.h:123