26#ifndef OD_DBDATALINK_H
27#define OD_DBDATALINK_H
145class OdDbDataLinkManagerImpl;
183 friend class OdDbSystemInternals;
OdSmartPtr< OdDbDataLinkUpdatePE > OdDbDataLinkUpdatePEPtr
OdArray< OdDbDataLink * > OdDbDataLinkArray
OdSmartPtr< OdDbDataLinkManager > OdDbDataLinkManagerPtr
OdSmartPtr< OdDbDataLink > OdDbDataLinkPtr
void update(OdDb::UpdateDirection nDir, OdDb::UpdateOption nOption)
OdDbObjectId contentId() const
void repathSourceFiles(OdString &sBasePath, OdDb::PathOption nOption)
void setToolTip(const OdString &sToolTip)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
ODDB_DECLARE_MEMBERS(OdDbDataLink)
OdDbObjectPtr subWblockClone(OdDbIdMapping &idMap, OdDbObject *owner, bool bPrimary) const
void setOption(OdDb::DataLinkOption nOption)
void getUpdateStatus(OdDb::UpdateDirection *pDir, OdTimeStamp *pTime, OdString *pErrMessage) const
OdDb::DataLinkOption option(void) const
OdString description(void) const
OdString connectionString(void) const
OdString dataAdapterId(void) const
OdDb::PathOption getDataLinkPathOption() const
void setDataAdapterId(const OdString &sAdapterId)
OdValue getCustomData(const OdString &sKey) const
void setUpdateOption(OdInt32 nOption)
void setDescription(const OdString &sDescription)
OdString getToolTip(void) const
void setConnectionString(const OdString &sConnectionString)
void setName(const OdString &sName)
void getSourceFiles(OdDb::DataLinkGetSourceContext nContext, OdStringArray &files) const
OdInt32 updateOption(void) const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdString name(void) const
OdInt32 getTargets(OdDbObjectIdArray &targetIds) const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
void setUpdateStatus(const OdString &sErrMessage)
void setCustomData(const OdString &sKey, const OdValue *pData)
int dataLinkCount(void) const
OdDbObjectId createDataLink(const OdString &adapterId, const OdString &name, const OdString &description, const OdString &connectionString)
void update(OdDb::UpdateDirection nDir, OdDb::UpdateOption nOption)
OdDbDataLinkPtr getDataLink(const OdString &name, OdDb::OpenMode mode) const
void update(const OdDbObjectIdArray &dataIds, OdDb::UpdateDirection nDir, OdDb::UpdateOption nOption)
ODRX_DECLARE_MEMBERS(OdDbDataLinkManager)
void setDatabase(OdDbDatabase *pDb)
void removeDataLink(const OdString &sKey, OdDbObjectId &idDataLink)
OdDbDataLinkManagerImpl * m_pImpl
OdDbObjectId getDataLink(const OdString &name) const
int getDataLink(OdDbObjectIdArray &dataLinks) const
~OdDbDataLinkManager(void)
OdDbObjectId addDataLink(OdDbDataLink *pDataLink)
void removeDataLink(const OdDbObjectId &idDataLink)
OdDbDataLinkManager(void)
OdDbDataLinkManager(OdDbDataLinkManagerImpl *pValImpl)
virtual void repathSourceFiles(OdString &sBasePath, OdDb::PathOption nOptionm, OdString &path, OdError *pError=nullptr)=0
ODRX_DECLARE_MEMBERS(OdDbDataLinkUpdatePE)
virtual void dataLinkUpdate(OdDbDataLink *pDataLink, OdDb::UpdateDirection nDir, OdDb::UpdateOption nOption, OdError *pError=nullptr)=0
GLuint const GLchar * name
@ kDataLinkGetSourceContextFileWatcher
@ kDataLinkGetSourceContextOther
@ kDataLinkGetSourceContextUnknown
@ kDataLinkGetSourceContextXrefManager
@ kDataLinkGetSourceContextEtransmit
@ kDataLinkOptionDisableInLongTransaction
@ kDataLinkOptionPersistCache
@ kDataLinkOptionAnonymous
@ kUpdateDirectionSourceToData
@ kUpdateDirectionDataToSource
@ kUpdateOptionKeepFormats
@ kUpdateOptionUpdateRowHeight
@ kUpdateOptionSkipFormat
@ kUpdateOptionOverwriteContentModifiedAfterUpdate
@ kUpdateOptionOverwriteFormatModifiedAfterUpdate
@ kUpdateOptionConvertFormulasAndFormats
@ kUpdateOptionIncludeXrefs
@ kUpdateOptionKeepFormulas
@ kUpdateOptionAllowSourceUpdate
@ kUpdateOptionSkipFormatAfterFirstUpdate
@ kUpdateOptionUpdateColumnWidth
@ kUpdateOptionForceFullSourceUpdate
@ kUpdateOptionForPreview