|
TFDLL_EXPORT OdTfStoragePtr | open (const OdString &path, const OdString &strgClassName=L"TFSQLStorage", const OdString &appToLoad=L"TfSQLStorage") |
|
TFDLL_EXPORT void | import (OdTfStorage *strg, OdDbDatabase *pDb, const OdString &branch=L"master", const OdTfCommitInfo &message=OdTfCommitInfo()) |
|
TFDLL_EXPORT OdDbDatabasePtr | checkout (OdTfStorage *strg, OdDbHostAppServices *pHostApp, const OdString &localBranch, const OdString &sourceBranch=L"master", bool partial=false) |
|
TFDLL_EXPORT void | checkout (OdDbDatabase *pDb, OdTfStorage *strg, OdDbHostAppServices *pHostApp, const OdString &localBranch, const OdString &sourceBranch=L"master", bool partial=false) |
|
TFDLL_EXPORT void | commit (OdDbDatabase *pDb, const OdTfCommitInfo &message, const OdString &mergeCommitOtherBranch=OdString::kEmpty, OdTfDigest *mergeCommitOtherParent=0, const OdDbObjectIdArray *objectsToSave=0) |
|
TFDLL_EXPORT bool | merge (OdDbDatabase *pDb, OdDbHandleArray &conflicts, OdTfMergePolicy mp=kOdTfMergePreferTheirs, const OdString &branch=OdString::kEmpty, bool noFastForward=false) |
|
TFDLL_EXPORT void | getBranchTip (OdTfStorage *strg, const OdString &branch, OdTfCommitInfo &, OdTfDigest &) |
|
TFDLL_EXPORT OdTfCommitInfo | getCommitInfo (OdTfStorage *strg, const OdTfDigest &) |
|
TFDLL_EXPORT OdStreamBufPtr | makePatch (OdTfStorage *strg, const OdTfDigest &from, const OdTfDigest &to) |
|
TFDLL_EXPORT void | applyPatch (OdTfStorage *strg, OdStreamBuf *s, const OdString &branch) |
|
TFDLL_EXPORT OdTfStorage * | getDatabaseStorage (OdDbDatabase *pDb, OdString *currentBranch=0) |
|
TFDLL_EXPORT void | resetBranch (OdTfStorage *strg, const OdString &branch, const OdTfDigest &) |
|
TFDLL_EXPORT void | switchBranch (OdDbDatabase *pDb, const OdString &sourceBranch=OdString::kEmpty, const OdString &localBranch=OdString::kEmpty, OdTfDigest *revision=0, bool hard=true) |
|
TFDLL_EXPORT OdDbObjectIdArray | getLocalChanges (OdDbDatabase *pDb) |
|
TFDLL_EXPORT void | exportDwg (OdDbDatabase *pDb, OdStreamBuf *pStreamBuf, OdDb::DwgVersion fileVersion, bool saveThumbnailImage=false) |
|
TFDLL_EXPORT void | exportDxf (OdDbDatabase *pDb, OdStreamBuf *pStreamBuf, OdDb::DwgVersion fileVersion, bool saveThumbnailImage=false, int dxfPrecision=16) |
|
TFDLL_EXPORT void | getRevisionDifference (OdTfStorage *pTf, const OdTfDigest &newRevision, const OdTfDigest &oldRevision, ChangeList &result) |
|
TFDLL_EXPORT void | getBranchList (OdTfStorage *pTf, std::map< OdString, OdTfDigest > &) |
|
TFDLL_EXPORT void | compressRevisionData (OdTfStorage *strg, OdUInt16 referenceDistance=10) |
|