CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
IfcHostAppServices.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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-2022 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
33class OdIfcFile;
35
39class /*ODRX_ABSTRACT*/ IFCCORE_EXPORT OdIfcHostAppServices : public OdDAIHostAppServicesBase
40{
41public:
42 //DOM-IGNORE-BEGIN
44 //DOM-IGNORE-END
45
50
55 virtual OdRxClass* databaseClass() const;
56
67 IfcSchema initialSchema = kScmUndefined) const;
68
79 const OdAnsiString &schemaName) const;
80
114 const OdString& filename,
115 OdDbBaseDatabase* pDb = 0,
116 FindFileHint hint = kDefault);
117
125 virtual const OdString program();
126
134 virtual const OdString product();
135
143 virtual const OdString companyName();
144
151 unsigned int errorCode,...);
152
162
173
196 const OdString& fontName,
197 OdFontType fontType);
198
220 const OdString& fontName,
221 OdFontType fontType);
222
235 const OdFont& pFont,
236 OdChar unicodeChar, OdDbBaseDatabase *pDb);
237
248 OdRxObject* pViewObj = NULL,
249 OdDbBaseDatabase* pDb = NULL,
250 OdUInt32 flags = 0);
251
257 virtual OdIfcFilePtr readFile(OdStreamBuf* pFileBuff);
258
264 virtual OdIfcFilePtr readFile(const OdString &file);
265
266//DOM-IGNORE-BEGIN
270 //virtual OdResult setTriangulationParams(const wrTriangulationParams &params);
271
275 //virtual OdResult getTriangulationParams(wrTriangulationParams &params);
276//DOM-IGNORE-END
277
286 virtual OdResult brepBuilder(OdBrepBuilder& bbuilder, BrepType bbType);
287
288 /* \details
289 Retrieves whether an OdGiAuxDataForIfc object should be used while vectorizing.
290 \returns true if the OdGiAuxDataForIfc object should be created inside the OdGiContextForIfcDatabase object to use during the vectorization process; otherwise, the method returns false.
291 */
292 virtual bool getUseVectAuxData() const;
293};
294
295#include "TD_PackPop.h"
296
297#endif // _IFC_HOST_APP_SERVICES_H_
@ kDefault
Definition: BrEnums.h:132
BrepType
Definition: BrepBuilder.h:43
#define IFCCORE_EXPORT
IfcSchema
Definition: IfcCore.h:40
@ kScmUndefined
Definition: IfcCore.h:42
OdSmartPtr< OdIfcFile > OdIfcFilePtr
OdFontType
Definition: OdFont.h:52
unsigned int OdUInt32
wchar_t OdChar
OdResult
Definition: OdResult.h:29
Definition: OdFont.h:371
virtual const OdString product()
virtual OdIfcFilePtr readFile(const OdString &file)
virtual OdString findFile(const OdString &filename, OdDbBaseDatabase *pDb=0, FindFileHint hint=kDefault)
virtual OdString getPreferableFont(const OdString &fontName, OdFontType fontType)
virtual OdIfcFilePtr createDatabase(const OdAnsiString &schemaName) const
virtual OdIfcFilePtr readFile(OdStreamBuf *pFileBuff)
virtual OdIfcFilePtr createDatabase(IfcSchema initialSchema=kScmUndefined) const
virtual OdString formatMessage(unsigned int errorCode,...)
virtual const OdString program()
ODRX_DECLARE_MEMBERS(OdIfcHostAppServices)
virtual OdResult brepBuilder(OdBrepBuilder &bbuilder, BrepType bbType)
virtual OdGsDevicePtr gsBitmapDevice(OdRxObject *pViewObj=NULL, OdDbBaseDatabase *pDb=NULL, OdUInt32 flags=0)
virtual const OdString companyName()
virtual OdString getAlternateFontName() const
virtual OdRxClass * databaseClass() const
virtual OdString getSubstituteFontByChar(const OdFont &pFont, OdChar unicodeChar, OdDbBaseDatabase *pDb)
virtual OdString getSubstituteFont(const OdString &fontName, OdFontType fontType)
virtual OdString getFontMapFileName() const
virtual bool getUseVectAuxData() const