CFx SDK Documentation  2023 SP0
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_
@ kDefault
Definition: BrEnums.h:102
BrepType
Definition: BrepBuilder.h:35
#define NULL
Definition: GsProperties.h:177
#define IFCCORE_EXPORT
InitialSchema
Definition: IfcCore.h:42
@ kScmUndefined
Definition: IfcCore.h:44
OdFontType
Definition: OdFont.h:49
unsigned int OdUInt32
wchar_t OdChar
OdResult
Definition: OdResult.h:29
Definition: OdFont.h:235
virtual const OdString product()
virtual OdString findFile(const OdString &filename, OdDbBaseDatabase *pDb=0, FindFileHint hint=kDefault)
virtual OdString getPreferableFont(const OdString &fontName, OdFontType fontType)
virtual OdIfc::OdIfcFilePtr readFile(OdStreamBuf *pFileBuff)
virtual OdString formatMessage(unsigned int errorCode,...)
virtual const OdString program()
ODRX_DECLARE_MEMBERS(OdIfcHostAppServices)
virtual OdResult brepBuilder(OdBrepBuilder &bbuilder, BrepType bbType)
virtual OdIfc::OdIfcFilePtr readFile(const OdString &file)
virtual OdGsDevicePtr gsBitmapDevice(OdRxObject *pViewObj=NULL, OdDbBaseDatabase *pDb=NULL, OdUInt32 flags=0)
virtual OdRxClass * modelClass() const
virtual const OdString companyName()
virtual OdString getAlternateFontName() const
virtual OdRxClass * databaseClass() const
virtual OdString getSubstituteFontByChar(const OdFont &pFont, OdChar unicodeChar, OdDbBaseDatabase *pDb)
virtual const OdString versionString()
virtual OdIfc::OdIfcFilePtr createDatabase(InitialSchema defaultContent=kScmUndefined) const
virtual const OdString releaseMajorMinorString()
virtual OdString getSubstituteFont(const OdString &fontName, OdFontType fontType)
virtual OdString getFontMapFileName() const
OdSmartPtr< OdIfcFile > OdIfcFilePtr
Definition: FxBIMDatabase.h:42