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,
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);
706 return pCreator->initBrepBuilder(brepBuilder, bbType);
716 virtual OdDbKey*
key()
const = 0;
737 virtual OdDbKey* key()
const;
OdSmartPtr< OdDbPageController > OdDbPageControllerPtr
TOOLKIT_EXPORT OdDbSystemServices * odSystemServices()
FIRSTDLL_EXPORT OdRxDictionaryPtr odrxServiceDictionary()
virtual void warning(const OdString &message)
virtual OdString formatMessage(unsigned int errorCode,...)
virtual OdHatchPatternManager * patternManager()=0
virtual OdString getSubstituteFont(const OdString &fontName, OdFontType fontType)
virtual OdStreamBufPtr getHistoryFile(OdDbDatabase *)
virtual void auditPrintReport(OdAuditInfo *pAuditInfo, const OdString &strLine, int printDest) const
virtual OdUInt32 educationalPlotStamp() const
virtual OdString getPreferableFont(const OdString &fontName, OdFontType fontType)
virtual OdString getTempPath() const
virtual const OdString product()
virtual int releaseMajorVersion()
OdMutex m_LayoutManagerMutex
virtual OdGsDevicePtr gsBitmapDevice(OdRxObject *pViewObj=NULL, OdDbBaseDatabase *pDb=NULL, OdUInt32 flags=0)
OdDbPlotSettingsValidatorPtr m_pValidator
virtual OdDbDatabasePtr readFile(const OdString &filename, bool allowCPConversion=false, bool partialLoad=false, Oda::FileShareMode shareMode=Oda::kShareDenyNo, const OdPassword &password=OdPassword())
virtual OdRxClass * databaseClass() const
virtual OdDbPlotSettingsValidator * plotSettingsValidator()
virtual void collectFilePathsInDirectory(OdStringArray &res, const OdString &sPath, const OdString &sFilter=L"*.*")
virtual OdString getFontMapFileName() const
virtual OdDbHostAppProgressMeter * newProgressMeter()
virtual OdResult pageObjects(OdDbDatabase *pDb)
virtual OdString getAlternateFontName() const
virtual int releaseMinorVersion()
virtual OdDbPageControllerPtr newPageController()
virtual OdDbUndoControllerPtr newUndoController()
virtual const OdString versionString()
virtual void warning(const char *warnVisGroup, OdWarning warningOb, OdDbObjectId objectId)
virtual OdPwdCachePtr getPasswordCache()
virtual OdString findFile(const OdString &filename, OdDbBaseDatabase *pDb=0, FindFileHint hint=kDefault)
virtual void getThumbSize(unsigned int &nWidth, unsigned int &nHeight)
virtual OdDbBaseHostAppServices * getDgnHostAppServices() const
virtual OdString getErrorDescription(unsigned int errorCode)
virtual const OdString releaseMajorMinorString()
virtual OdString formatMessage(unsigned int errorCode,...)
ODRX_DECLARE_MEMBERS(OdDbHostAppServices)
OdDbLayoutManagerPtr m_pLayoutManager
virtual bool getPassword(const OdString &dwgName, bool isXref, OdPassword &password)
virtual void warning(OdWarning warningOb, OdDbObjectId objectId)
virtual void warning(const char *warnVisGroup, const OdError &err)
virtual OdString getSubstituteFontByChar(const OdFont &pFont, OdChar unicodeChar, OdDbBaseDatabase *pDb)
virtual bool getSystemFontFolders(OdStringArray &aDirs)
OdPwdCachePtr m_pPwdCache
virtual const OdString companyName()
virtual OdDbKey * key() const =0
virtual ~OdDbHostAppServices()
virtual ProdIdCode prodcode()
virtual OdDbDatabasePtr readFile(OdStreamBuf *pStreamBuf, bool allowCPConversion=false, bool partialLoad=false, const OdPassword &password=OdPassword())
virtual OdResult brepBuilder(OdBrepBuilder &brepBuilder, BrepType bbType)
TD_USING(OdDbBaseHostAppServices::warning)
virtual OdDbDatabasePtr createDatabase(bool createDefault=true, OdDb::MeasurementValue measurement=OdDb::kEnglish) const
virtual OdDbDatabasePtr recoverFile(OdStreamBuf *pStreamBuf, OdDbAuditInfo *pAuditInfo=0, const OdPassword &password=OdPassword())
virtual bool doFullCRCCheck()
virtual void releaseProgressMeter(OdDbHostAppProgressMeter *pProgressMeter)
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 void warning(const OdError &err)
virtual OdDbLayoutManagerPtr layoutManager() const
virtual const OdString program()
OdString description() const
virtual OdRxObjectPtr create() const =0
const OdChar * c_str() const
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty
@ kEnglish
English system.
int createFile(const OdString &path, const char *data, unsigned int size)