CFx SDK Documentation  2020SP3
IfcHostAppServices.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_HOST_APP_SERVICES_H_
25 #define _IFC_HOST_APP_SERVICES_H_
26 
27 #include "IfcFile.h"
28 
29 #include "daiHostAppServicesBase.h"
30 
31 #include "TD_PackPush.h"
32 
33 namespace OdIfc {
34  class OdIfcFile;
36 }
37 
39 {
40 public:
41  //DOM-IGNORE-BEGIN
43  //DOM-IGNORE-END
44 
49 
54  virtual OdRxClass* databaseClass() const;
55 
60  virtual OdRxClass* modelClass() const;
61 
72  InitialSchema defaultContent = kScmUndefined) const;
73 
107  const OdString& filename,
108  OdDbBaseDatabase* pDb = 0,
109  FindFileHint hint = kDefault);
110 
118  virtual const OdString program();
119 
127  virtual const OdString product();
128 
136  virtual const OdString companyName();
137 
145 
152  virtual const OdString versionString();
153 
160  unsigned int errorCode,...);
161 
171 
181  virtual OdString getFontMapFileName() const;
182 
205  const OdString& fontName,
206  OdFontType fontType);
207 
229  const OdString& fontName,
230  OdFontType fontType);
231 
244  const OdFont& pFont,
245  OdChar unicodeChar, OdDbBaseDatabase *pDb);
246 
257  OdRxObject* pViewObj = NULL,
258  OdDbBaseDatabase* pDb = NULL,
259  OdUInt32 flags = 0);
260 
267 
273  virtual OdIfc::OdIfcFilePtr readFile(const OdString &file);
274 
275 //DOM-IGNORE-BEGIN
279  //virtual OdResult setTriangulationParams(const wrTriangulationParams &params);
280 
284  //virtual OdResult getTriangulationParams(wrTriangulationParams &params);
285 //DOM-IGNORE-END
286 
295  virtual OdResult brepBuilder(OdBrepBuilder& bbuilder, BrepType bbType);
296 };
297 
298 #include "TD_PackPop.h"
299 
300 #endif // _IFC_HOST_APP_SERVICES_H_
OdResult
OdResult
Definition: OdResult.h:29
OdIfcHostAppServices::versionString
virtual const OdString versionString()
OdString
Definition: OdString.h:95
NULL
#define NULL
Definition: GsProperties.h:177
IFCCORE_EXPORT
#define IFCCORE_EXPORT
Definition: IfcBuildOptions.h:28
InitialSchema
InitialSchema
Definition: IfcCore.h:42
OdRxObject
Definition: RxObject.h:564
OdIfcHostAppServices::getPreferableFont
virtual OdString getPreferableFont(const OdString &fontName, OdFontType fontType)
OdIfcHostAppServices::getSubstituteFont
virtual OdString getSubstituteFont(const OdString &fontName, OdFontType fontType)
OdIfcHostAppServices::program
virtual const OdString program()
kDefault
@ kDefault
Definition: BrEnums.h:102
OdIfcHostAppServices::companyName
virtual const OdString companyName()
TD_PackPop.h
OdIfcHostAppServices::getSubstituteFontByChar
virtual OdString getSubstituteFontByChar(const OdFont &pFont, OdChar unicodeChar, OdDbBaseDatabase *pDb)
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
OdIfcHostAppServices::getAlternateFontName
virtual OdString getAlternateFontName() const
daiHostAppServicesBase.h
OdIfcHostAppServices::databaseClass
virtual OdRxClass * databaseClass() const
OdRxClass
Definition: RxObject.h:865
OdSmartPtr
Definition: SmartPtr.h:58
OdIfc
Definition: FxBIMDatabase.h:24
OdIfcHostAppServices::product
virtual const OdString product()
OdIfcHostAppServices
Definition: IfcHostAppServices.h:39
IfcFile.h
OdIfcHostAppServices::brepBuilder
virtual OdResult brepBuilder(OdBrepBuilder &bbuilder, BrepType bbType)
OdDAIHostAppServicesBase
Definition: daiHostAppServicesBase.h:52
OdIfcHostAppServices::readFile
virtual OdIfc::OdIfcFilePtr readFile(const OdString &file)
OdChar
wchar_t OdChar
Definition: OdPlatformSettings.h:745
OdDbBaseHostAppServices::FindFileHint
FindFileHint
Definition: DbBaseHostAppServices.h:99
TD_PackPush.h
OdIfcHostAppServices::OdIfcHostAppServices
OdIfcHostAppServices()
OdIfcHostAppServices::gsBitmapDevice
virtual OdGsDevicePtr gsBitmapDevice(OdRxObject *pViewObj=NULL, OdDbBaseDatabase *pDb=NULL, OdUInt32 flags=0)
OdBrepBuilder
Definition: BrepBuilder.h:47
OdIfcHostAppServices::formatMessage
virtual OdString formatMessage(unsigned int errorCode,...)
kScmUndefined
@ kScmUndefined
Definition: IfcCore.h:44
OdIfcHostAppServices::readFile
virtual OdIfc::OdIfcFilePtr readFile(OdStreamBuf *pFileBuff)
BrepType
BrepType
Definition: BrepBuilder.h:35
OdStreamBuf
Definition: OdStreamBuf.h:67
OdIfcHostAppServices::createDatabase
virtual OdIfc::OdIfcFilePtr createDatabase(InitialSchema defaultContent=kScmUndefined) const
OdIfc::OdIfcFilePtr
OdSmartPtr< OdIfcFile > OdIfcFilePtr
Definition: FxBIMDatabase.h:25
OdFontType
OdFontType
Definition: OdFont.h:49
OdIfcHostAppServices::modelClass
virtual OdRxClass * modelClass() const
OdIfcHostAppServices::releaseMajorMinorString
virtual const OdString releaseMajorMinorString()
OdIfcHostAppServices::getFontMapFileName
virtual OdString getFontMapFileName() const
OdFont
Definition: OdFont.h:235
OdIfcHostAppServices::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdIfcHostAppServices)
OdIfcHostAppServices::findFile
virtual OdString findFile(const OdString &filename, OdDbBaseDatabase *pDb=0, FindFileHint hint=kDefault)