27#ifndef _ODDBHOSTAPPLICATIONSERVICES_INCLUDED_
28#define _ODDBHOSTAPPLICATIONSERVICES_INCLUDED_
45class OdDbAbstractClipBoundaryDefinition;
46class 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);
666 virtual void getThumbSize(
unsigned int& nWidth,
unsigned int& nHeight);
690 return pCreator->initBrepBuilder(brepBuilder, bbType);
702 virtual OdDbKey*
key()
const = 0;
721 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 OdString getSubstituteFont(const OdString &fontName, OdFontType fontType)
virtual OdStreamBufPtr getHistoryFile(OdDbDatabase *)
virtual OdDbKey * key() const =0
virtual void auditPrintReport(OdAuditInfo *pAuditInfo, const OdString &strLine, int printDest) const
virtual OdUInt32 educationalPlotStamp() const
virtual OdString getPreferableFont(const OdString &fontName, OdFontType fontType)
virtual OdDbHostAppProgressMeter * newProgressMeter()
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 OdRxClass * databaseClass() const
virtual OdDbPlotSettingsValidator * plotSettingsValidator()
virtual OdDbDatabasePtr readFile(const OdString &filename, bool allowCPConversion=false, bool partialLoad=false, Oda::FileShareMode shareMode=Oda::kShareDenyNo, const OdPassword &password=OdPassword())
virtual void collectFilePathsInDirectory(OdStringArray &res, const OdString &sPath, const OdString &sFilter=L"*.*")
virtual OdString fixName(const OdDbSymbolTableRecord *pRecord)
virtual OdString getFontMapFileName() const
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 OdHatchPatternManager * patternManager()=0
virtual void getThumbSize(unsigned int &nWidth, unsigned int &nHeight)
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 OdDbBaseHostAppServices * getDgnHostAppServices() const
virtual bool getSystemFontFolders(OdStringArray &aDirs)
OdPwdCachePtr m_pPwdCache
virtual const OdString companyName()
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
const OdChar * c_str() const
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty
@ kEnglish
English system.