CFx SDK Documentation
2020SP3
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
OdResult
OdResult
Definition:
OdResult.h:29
IFCCORE_EXPORT
#define IFCCORE_EXPORT
Definition:
IfcBuildOptions.h:28
IfcValueTypes.h
InitialSchema
InitialSchema
Definition:
IfcCore.h:42
OdIfc::OdIfcCoreModule
Definition:
IfcCore.h:101
daiModule.h
kBrepModeler
@ kBrepModeler
Definition:
IfcCore.h:60
IfcSchemaModule.h
kScmIfc4
@ kScmIfc4
Definition:
IfcCore.h:48
OdSmartPtr
Definition:
SmartPtr.h:58
OdIfc
Definition:
FxBIMDatabase.h:24
kSpaModeler
@ kSpaModeler
Definition:
IfcCore.h:59
OdIfc::OdIfcCoreModulePtr
OdSmartPtr< OdIfcCoreModule > OdIfcCoreModulePtr
Definition:
IfcCore.h:123
OdIfcHostAppServices
Definition:
IfcHostAppServices.h:39
kScmIfc4x2
@ kScmIfc4x2
Definition:
IfcCore.h:50
odIfcIsGeomResourceInitialized
IFCCORE_EXPORT bool odIfcIsGeomResourceInitialized()
OdIfc::OdIfcCoreModule::initApp
virtual void initApp()
odIfcInitialize
IFCCORE_EXPORT OdResult odIfcInitialize(bool bInitIfcGeomResource=true, ModelerType modelerType=kFacetModeler)
kScmUndefined
@ kScmUndefined
Definition:
IfcCore.h:44
ModelerType
ModelerType
Definition:
IfcCore.h:57
OdRxModule
Definition:
RxModule.h:45
odIfcUninitialize
IFCCORE_EXPORT OdResult odIfcUninitialize()
kFacetModeler
@ kFacetModeler
Definition:
IfcCore.h:58
kScmIfc2x3
@ kScmIfc2x3
Definition:
IfcCore.h:46
IfcBuildOptions.h
OdIfc::OdIfcCoreModule::uninitApp
virtual void uninitApp()
Generated on Mon Oct 12 2020 11:49:37