OpenLexocad  27.1
Core::CoreDocumentTool Class Reference

#include <CoreDocumentTool.h>

Public Member Functions

 CoreDocumentTool ()
 
 ~CoreDocumentTool ()
 

Static Public Member Functions

static Base::String getLockFileName (Core::CoreDocument *cDoc)
 
static Base::String getLockFileName (const Base::String &path)
 
static bool createLockFile (Core::CoreDocument *cDoc)
 
static bool createLockFile (const Base::String &path, const Base::String &docfileName, const Base::String &tempdirectory)
 
static bool deleteLockFile (Core::CoreDocument *cDoc)
 
static bool readLockFile (Core::CoreDocument *cDoc, bool &dataOk, Base::String &userName, Base::String &computerName, Base::String &dateTime)
 
static bool readLockFile (const Base::String &path, bool &dataOk, Base::String &userName, Base::String &computerName, Base::String &dateTime)
 
static bool isTutorial (Core::CoreDocument *cDoc)
 
static bool isTutorial (const Base::String &path)
 
static std::pair< int, int > getAppVersionFromDocument (const Base::String &path)
 

Constructor & Destructor Documentation

◆ CoreDocumentTool()

Core::CoreDocumentTool::CoreDocumentTool ( )

◆ ~CoreDocumentTool()

Core::CoreDocumentTool::~CoreDocumentTool ( )

Member Function Documentation

◆ createLockFile() [1/2]

static bool Core::CoreDocumentTool::createLockFile ( Core::CoreDocument cDoc)
static

◆ createLockFile() [2/2]

static bool Core::CoreDocumentTool::createLockFile ( const Base::String path,
const Base::String docfileName,
const Base::String tempdirectory 
)
static

◆ deleteLockFile()

static bool Core::CoreDocumentTool::deleteLockFile ( Core::CoreDocument cDoc)
static

◆ getAppVersionFromDocument()

static std::pair<int,int> Core::CoreDocumentTool::getAppVersionFromDocument ( const Base::String path)
static

◆ getLockFileName() [1/2]

static Base::String Core::CoreDocumentTool::getLockFileName ( Core::CoreDocument cDoc)
static

◆ getLockFileName() [2/2]

static Base::String Core::CoreDocumentTool::getLockFileName ( const Base::String path)
static

◆ isTutorial() [1/2]

static bool Core::CoreDocumentTool::isTutorial ( Core::CoreDocument cDoc)
static

◆ isTutorial() [2/2]

static bool Core::CoreDocumentTool::isTutorial ( const Base::String path)
static

◆ readLockFile() [1/2]

static bool Core::CoreDocumentTool::readLockFile ( Core::CoreDocument cDoc,
bool &  dataOk,
Base::String userName,
Base::String computerName,
Base::String dateTime 
)
static

◆ readLockFile() [2/2]

static bool Core::CoreDocumentTool::readLockFile ( const Base::String path,
bool &  dataOk,
Base::String userName,
Base::String computerName,
Base::String dateTime 
)
static

The documentation for this class was generated from the following file: