CFx SDK Documentation
2023 SP0
SDK
CFx
bim_ifc
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
36
class
OdIfcHostAppServices
;
37
41
enum
InitialSchema
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
56
enum
ModelerType
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
84
IFCCORE_EXPORT
OdResult
odIfcUninitialize
();
85
90
IFCCORE_EXPORT
bool
odIfcIsGeomResourceInitialized
();
91
95
namespace
OdIfc
{
96
100
class
IFCCORE_EXPORT
OdIfcCoreModule
:
public
OdRxModule
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
123
typedef
OdSmartPtr<OdIfcCoreModule>
OdIfcCoreModulePtr
;
124
125
}
//namespace OdIfc
126
127
#endif
// _IFC_CORE_H
IfcBuildOptions.h
IFCCORE_EXPORT
#define IFCCORE_EXPORT
Definition:
IfcBuildOptions.h:28
InitialSchema
InitialSchema
Definition:
IfcCore.h:42
kScmIfc4x2
@ kScmIfc4x2
Definition:
IfcCore.h:50
kScmUndefined
@ kScmUndefined
Definition:
IfcCore.h:44
kScmIfc2x3
@ kScmIfc2x3
Definition:
IfcCore.h:46
kScmIfc4
@ kScmIfc4
Definition:
IfcCore.h:48
odIfcInitialize
IFCCORE_EXPORT OdResult odIfcInitialize(bool bInitIfcGeomResource=true, ModelerType modelerType=kFacetModeler)
odIfcUninitialize
IFCCORE_EXPORT OdResult odIfcUninitialize()
odIfcIsGeomResourceInitialized
IFCCORE_EXPORT bool odIfcIsGeomResourceInitialized()
ModelerType
ModelerType
Definition:
IfcCore.h:57
kSpaModeler
@ kSpaModeler
Definition:
IfcCore.h:59
kFacetModeler
@ kFacetModeler
Definition:
IfcCore.h:58
kBrepModeler
@ kBrepModeler
Definition:
IfcCore.h:60
IfcSchemaModule.h
IfcValueTypes.h
OdResult
OdResult
Definition:
OdResult.h:29
OdIfc::OdIfcCoreModule
Definition:
IfcCore.h:101
OdIfc::OdIfcCoreModule::uninitApp
virtual void uninitApp()
OdIfc::OdIfcCoreModule::initApp
virtual void initApp()
OdIfcHostAppServices
Definition:
IfcHostAppServices.h:39
OdRxModule
Definition:
RxModule.h:45
OdSmartPtr
Definition:
SmartPtr.h:58
daiModule.h
OdIfc
Definition:
FxBIMDatabase.h:41
OdIfc::OdIfcCoreModulePtr
OdSmartPtr< OdIfcCoreModule > OdIfcCoreModulePtr
Definition:
IfcCore.h:123
Generated on Thu Feb 24 2022 15:09:39