CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
27 #ifndef _ODDBHOSTAPPLICATIONSERVICES_INCLUDED_
28 #define _ODDBHOSTAPPLICATIONSERVICES_INCLUDED_
45 class OdDbAbstractClipBoundaryDefinition;
46 class ClipBoundaryArray;
172 bool createDefault =
true,
189 bool allowCPConversion =
false,
190 bool partialLoad =
false,
232 bool allowCPConversion =
false,
233 bool partialLoad =
false,
238 return readFile(
odSystemServices()->createFile(filename, nDesiredAccess, shareMode),
239 allowCPConversion, partialLoad, password);
344 const char* warnVisGroup,
350 const char* warnVisGroup,
361 unsigned int errorCode);
368 unsigned int errorCode,...);
406 int printDest)
const;
434 #define REGVAR_DEF(type, name, unused3, unused4, unused5)\
440 SVARS_FUNC_MODIFIER type get##name() const;\
443 SVARS_FUNC_MODIFIER void set##name(type val);
677 virtual void getThumbSize(
unsigned int& nWidth,
unsigned int& nHeight);
701 if (!pService.isNull())
704 if (!pCreator.isNull())
706 return pCreator->initBrepBuilder(brepBuilder, bbType);
716 virtual OdDbKey*
key()
const = 0;
737 virtual OdDbKey*
key()
const;
OdPwdCachePtr m_pPwdCache
virtual OdPwdCachePtr getPasswordCache()
virtual OdDbDatabasePtr readFile(OdStreamBuf *pStreamBuf, bool allowCPConversion=false, bool partialLoad=false, const OdPassword &password=OdPassword())
virtual bool doFullCRCCheck()
TOOLKIT_EXPORT OdDbSystemServices * odSystemServices()
virtual OdString getSubstituteFontByChar(const OdFont &pFont, OdChar unicodeChar, OdDbBaseDatabase *pDb)
virtual ProdIdCode prodcode()
virtual void warning(OdWarning warningOb, OdDbObjectId objectId)
virtual void getThumbSize(unsigned int &nWidth, unsigned int &nHeight)
virtual OdString formatMessage(unsigned int errorCode,...)
virtual void warning(const OdError &err)
virtual OdString getAlternateFontName() const
virtual OdGsDevicePtr gsBitmapDevice(OdRxObject *pViewObj=NULL, OdDbBaseDatabase *pDb=NULL, OdUInt32 flags=0)
@ kEnglish
English system.
virtual OdStreamBufPtr getHistoryFile(OdDbDatabase *)
OdString description() const
OdSmartPtr< OdDbPageController > OdDbPageControllerPtr
virtual OdDbHostAppProgressMeter * newProgressMeter()
virtual void warning(const char *warnVisGroup, const OdError &err)
TD_USING(OdDbBaseHostAppServices::warning)
virtual OdResult pageObjects(OdDbDatabase *pDb)
virtual OdDbPageControllerPtr newPageController()
virtual const OdString companyName()
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 const OdString releaseMajorMinorString()
ODRX_DECLARE_MEMBERS(OdDbHostAppServices)
virtual bool getSystemFontFolders(OdStringArray &aDirs)
virtual const OdString versionString()
virtual int releaseMajorVersion()
virtual int releaseMinorVersion()
virtual void auditPrintReport(OdAuditInfo *pAuditInfo, const OdString &strLine, int printDest) const
virtual OdRxClass * databaseClass() const
virtual void warning(const OdString &message)
virtual OdDbDatabasePtr recoverFile(OdStreamBuf *pStreamBuf, OdDbAuditInfo *pAuditInfo=0, const OdPassword &password=OdPassword())
virtual OdString getTempPath() const
virtual OdString getSubstituteFont(const OdString &fontName, OdFontType fontType)
virtual OdResult brepBuilder(OdBrepBuilder &brepBuilder, BrepType bbType)
virtual bool getPassword(const OdString &dwgName, bool isXref, OdPassword &password)
virtual OdString findFile(const OdString &filename, OdDbBaseDatabase *pDb=0, FindFileHint hint=kDefault)
virtual void warning(const char *warnVisGroup, OdWarning warningOb, OdDbObjectId objectId)
virtual ~OdDbHostAppServices()
virtual void collectFilePathsInDirectory(OdStringArray &res, const OdString &sPath, const OdString &sFilter=L"*.*")
virtual OdString getPreferableFont(const OdString &fontName, OdFontType fontType)
virtual OdDbLayoutManagerPtr layoutManager() const
virtual OdString formatMessage(unsigned int errorCode,...)
virtual void releaseProgressMeter(OdDbHostAppProgressMeter *pProgressMeter)
virtual OdDbDatabasePtr readFile(const OdString &filename, bool allowCPConversion=false, bool partialLoad=false, Oda::FileShareMode shareMode=Oda::kShareDenyNo, const OdPassword &password=OdPassword())
OdMutex m_LayoutManagerMutex
OdDbPlotSettingsValidatorPtr m_pValidator
virtual OdString getErrorDescription(unsigned int errorCode)
virtual OdDbBaseHostAppServices * getDgnHostAppServices() const
FIRSTDLL_EXPORT OdRxDictionaryPtr odrxServiceDictionary()
virtual OdRxObjectPtr create() const =0
virtual OdUInt32 educationalPlotStamp() const
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty
virtual const OdString product()
OdDbLayoutManagerPtr m_pLayoutManager
const OdChar * c_str() const
virtual OdString getFontMapFileName() const
virtual OdDbKey * key() const =0
virtual OdDbPlotSettingsValidator * plotSettingsValidator()
virtual OdDbUndoControllerPtr newUndoController()
virtual OdDbDatabasePtr createDatabase(bool createDefault=true, OdDb::MeasurementValue measurement=OdDb::kEnglish) const
virtual const OdString program()
virtual OdHatchPatternManager * patternManager()=0