CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdDAIHostAppServicesBase Class Referenceabstract

#include <daiHostAppServicesBase.h>

Inheritance diagram for OdDAIHostAppServicesBase:
OdDbBaseHostAppServices OdRxObject OdIfcHostAppServices

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdDAIHostAppServicesBase)
 
virtual OdRxClassdatabaseClass () const =0
 
virtual OdRxClassmodelClass () const =0
 
OdDAI::OdHeaderSectionPtr getHeaderSection (const OdString &filename)
 
- Public Member Functions inherited from OdDbBaseHostAppServices
 ODRX_DECLARE_MEMBERS (OdDbBaseHostAppServices)
 
 OdDbBaseHostAppServices ()
 
virtual OdString findFile (const OdString &filename, OdDbBaseDatabase *pDb=0, FindFileHint hint=kDefault)=0
 
virtual OdDbHostAppProgressMeternewProgressMeter ()
 
virtual void releaseProgressMeter (OdDbHostAppProgressMeter *pProgressMeter)
 
virtual const OdString program ()=0
 
virtual const OdString product ()=0
 
virtual const OdString companyName ()=0
 
virtual ProdIdCode prodcode ()
 
virtual const OdString releaseMajorMinorString ()
 
virtual int releaseMajorVersion ()
 
virtual int releaseMinorVersion ()
 
virtual const OdString versionString ()
 
virtual void warning (const OdString &message)
 
virtual void warning (const char *warnVisGroup, const OdString &message)
 
virtual void warning (OdWarning warningOb)
 
virtual void warning (const char *warnVisGroup, OdWarning warningOb)
 
virtual OdString getErrorDescription (unsigned int errorCode)
 
virtual OdString formatMessage (unsigned int errorCode,...)
 
virtual OdDbUndoControllerPtr newUndoController ()
 
virtual OdStreamBufPtr newUndoStream ()
 
virtual void auditPrintReport (OdAuditInfo *pAuditInfo, const OdString &strLine, int printDest) const
 
virtual bool ttfFileNameByDescriptor (const OdTtfDescriptor &description, OdString &filename)
 
virtual OdString getAlternateFontName () const =0
 
virtual OdString getFontMapFileName () const =0
 
virtual OdString getPreferableFont (const OdString &fontName, OdFontType fontType)=0
 
virtual OdString getSubstituteFont (const OdString &fontName, OdFontType fontType)=0
 
virtual OdString getSubstituteFontByChar (const OdFont &pFont, OdChar unicodeChar, OdDbBaseDatabase *pDb)
 
virtual bool getSystemFontFolders (OdStringArray &aDirs)
 
virtual void collectFilePathsInDirectory (OdStringArray &res, const OdString &sPath, const OdString &sFilter=L"*.*")
 
virtual OdString fileDialog (int flags, const OdString &dialogCaption=OdString::kEmpty, const OdString &defExt=OdString::kEmpty, const OdString &defFilename=OdString::kEmpty, const OdString &filter=OdString::kEmpty)
 
virtual OdGsDevicePtr gsBitmapDevice (OdRxObject *pViewObj=NULL, OdDbBaseDatabase *pDb=NULL, OdUInt32 flags=0)
 
virtual OdString getTempPath () const
 
virtual OdInt16 getMtMode () const
 
virtual int numThreads (OdDb::MultiThreadedMode mtMode)
 
virtual OdResult brepBuilder (OdBrepBuilder &bbuilder, BrepType bbType)
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Public Types inherited from OdDbBaseHostAppServices
enum  RemapFileContext { kDrawingOpen = 0 , kXrefResolution = 1 , kRasterResolution = 2 }
 
enum  FindFileHint {
  kDefault = 0 , kFontFile = 1 , kCompiledShapeFile = 2 , kTrueTypeFontFile = 3 ,
  kEmbeddedImageFile = 4 , kXRefDrawing = 5 , kPatternFile = 6 , kTXApplication = 7 ,
  kFontMapFile = 8 , kUnderlayFile = 9 , kTextureMapFile = 10 , kPhotometricWebFile = 11
}
 
enum  GsBitmapDeviceFlags { kUseSoftwareHLR = (1 << 0) , kFor2dExportRender = (1 << 1) , kFor2dExportRenderHLR = (1 << 2) , kForThumbnail = (1 << 3) }
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

Definition at line 51 of file daiHostAppServicesBase.h.

Member Function Documentation

◆ databaseClass()

virtual OdRxClass* OdDAIHostAppServicesBase::databaseClass ( ) const
pure virtual

Retrieves the Data Access Interface database class description.

Returns
Returns the desc() method's result of the <link OdIfc::OdIfcFile, OdIfcFile> object.

Implemented in OdIfcHostAppServices.

◆ getHeaderSection()

OdDAI::OdHeaderSectionPtr OdDAIHostAppServicesBase::getHeaderSection ( const OdString filename)

Retrieves the header section of the specified IFC file.

Parameters
filename[in] A string that contains the full path to the input IFC file.
Returns
Returns a smart pointer to the <link OdDAI::OdHeaderSection, OdHeaderSection> object that contains header section data.

◆ modelClass()

virtual OdRxClass* OdDAIHostAppServicesBase::modelClass ( ) const
pure virtual

Retrieves the Data Access Interface database class description.

Returns
Returns the desc() method's result of the <link OdIfc::OdIfcFile, OdIfcFile> object.

Implemented in OdIfcHostAppServices.

◆ ODRX_DECLARE_MEMBERS()

OdDAIHostAppServicesBase::ODRX_DECLARE_MEMBERS ( OdDAIHostAppServicesBase  )

The documentation for this class was generated from the following file: