CFx SDK Documentation  2020SP3
Protected Attributes | List of all members
OdDbHostAppServices2 Class Reference

#include <DbHostAppServices.h>

Inheritance diagram for OdDbHostAppServices2:
OdDbHostAppServices OdDbBaseHostAppServices OdRxObject CFxHostAppServices

Protected Attributes

OdMutex m_KeyMutex
 
- Protected Attributes inherited from OdDbHostAppServices
OdMutex m_LayoutManagerMutex
 
OdMutex m_ValidatorMutex
 
OdMutex m_PwdCacheMutex
 
OdDbLayoutManagerPtr m_pLayoutManager
 
OdDbPlotSettingsValidatorPtr m_pValidator
 
OdPwdCachePtr m_pPwdCache
 

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) }
 
- Public Member Functions inherited from OdDbHostAppServices
 ODRX_DECLARE_MEMBERS (OdDbHostAppServices)
 
 OdDbHostAppServices ()
 
virtual ~OdDbHostAppServices ()
 
virtual OdString findFile (const OdString &filename, OdDbBaseDatabase *pDb=0, FindFileHint hint=kDefault)
 
virtual OdDbHostAppProgressMeternewProgressMeter ()
 
virtual void releaseProgressMeter (OdDbHostAppProgressMeter *pProgressMeter)
 
virtual OdRxClassdatabaseClass () const
 
virtual OdDbDatabasePtr createDatabase (bool createDefault=true, OdDb::MeasurementValue measurement=OdDb::kEnglish) const
 
virtual OdDbDatabasePtr readFile (OdStreamBuf *pStreamBuf, bool allowCPConversion=false, bool partialLoad=false, const OdPassword &password=OdPassword())
 
virtual OdDbDatabasePtr recoverFile (OdStreamBuf *pStreamBuf, OdDbAuditInfo *pAuditInfo=0, const OdPassword &password=OdPassword())
 
virtual OdDbDatabasePtr readFile (const OdString &filename, bool allowCPConversion=false, bool partialLoad=false, Oda::FileShareMode shareMode=Oda::kShareDenyNo, const OdPassword &password=OdPassword())
 
virtual const OdString program ()
 
virtual const OdString product ()
 
virtual const OdString companyName ()
 
virtual ProdIdCode prodcode ()
 
virtual const OdString releaseMajorMinorString ()
 
virtual int releaseMajorVersion ()
 
virtual int releaseMinorVersion ()
 
virtual const OdString versionString ()
 
 TD_USING (OdDbBaseHostAppServices::warning)
 
virtual void warning (OdWarning warningOb, OdDbObjectId objectId)
 
virtual void warning (const char *warnVisGroup, OdWarning warningOb, OdDbObjectId objectId)
 
virtual void warning (const OdError &err)
 
virtual void warning (const char *warnVisGroup, const OdError &err)
 
virtual OdString getErrorDescription (unsigned int errorCode)
 
virtual OdString formatMessage (unsigned int errorCode,...)
 
virtual bool doFullCRCCheck ()
 
virtual OdDbUndoControllerPtr newUndoController ()
 
virtual void auditPrintReport (OdAuditInfo *pAuditInfo, const OdString &strLine, int printDest) const
 
virtual OdDbPlotSettingsValidatorplotSettingsValidator ()
 
virtual OdString getAlternateFontName () const
 
virtual OdString getFontMapFileName () const
 
virtual OdString getPreferableFont (const OdString &fontName, OdFontType fontType)
 
virtual OdString getSubstituteFont (const OdString &fontName, OdFontType fontType)
 
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 OdHatchPatternManagerpatternManager ()=0
 
virtual bool getPassword (const OdString &dwgName, bool isXref, OdPassword &password)
 
virtual OdPwdCachePtr getPasswordCache ()
 
virtual OdDbPageControllerPtr newPageController ()
 
virtual OdResult pageObjects (OdDbDatabase *pDb)
 
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 OdDbLayoutManagerPtr layoutManager () const
 
virtual OdUInt32 educationalPlotStamp () const
 
virtual OdDbBaseHostAppServicesgetDgnHostAppServices () const
 
virtual void getThumbSize (unsigned int &nWidth, unsigned int &nHeight)
 
virtual OdGsDevicePtr gsBitmapDevice (OdRxObject *pViewObj=NULL, OdDbBaseDatabase *pDb=NULL, OdUInt32 flags=0)
 
virtual OdString getTempPath () const
 
virtual OdStreamBufPtr getHistoryFile (OdDbDatabase *)
 
virtual OdResult brepBuilder (OdBrepBuilder &brepBuilder, BrepType bbType)
 
- Public Member Functions inherited from OdDbBaseHostAppServices
 ODRX_DECLARE_MEMBERS (OdDbBaseHostAppServices)
 
 OdDbBaseHostAppServices ()
 
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 OdStreamBufPtr newUndoStream ()
 
virtual bool ttfFileNameByDescriptor (const OdTtfDescriptor &description, OdString &filename)
 
virtual OdInt16 getMtMode () const
 
virtual int numThreads (OdDb::MultiThreadedMode mtMode)
 
- 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
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

This class implements platform-dependent operations and progress metering.

See also
TD_Db

<group OdDb_Classes>

Definition at line 735 of file DbHostAppServices.h.

Member Data Documentation

◆ m_KeyMutex

OdMutex OdDbHostAppServices2::m_KeyMutex
mutableprotected

Definition at line 739 of file DbHostAppServices.h.


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