OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ProjectManager Class Reference

#include "ProjectManager.h"

Public Member Functions

void openProject ()
 
void setLTSpiceServiceData (const std::string &ltSpiceServiceURL, QObject *mainObject)
 
void importProject (const std::string &fileName, const std::string &prjName, const std::string &changeMessage, bool incResults)
 
std::string getCurrentVersion (const std::string &fileName, const std::string &prjName)
 
void commitProject (const std::string &fileName, const std::string &prjName, const std::string &changeComment, bool incResults)
 
void getProject (const std::string &fileName, const std::string &prjName, const std::string &version)
 
void uploadFiles (std::list< ot::UID > &entityIDList, std::list< ot::UID > &entityVersionList, ot::UID infoEntityID, ot::UID infoEntityVersion)
 
void downloadFiles (const std::string &fileName, const std::string &projectName, std::list< ot::UID > &entityIDList, std::list< ot::UID > &entityVersionList, const std::string &version)
 
void copyFiles (const std::string &newVersion)
 
std::string getLocalFileName ()
 
void setLocalFileName (std::string fileName)
 
bool checkValidLocalFile (std::string fileName, std::string projectName, bool ensureProjectExists, std::string &errorMessage)
 
void openProject ()
 
void setStudioServiceData (const std::string &studioSuiteServiceURL, QObject *mainObject)
 
void importProject (const std::string &fileName, const std::string &prjName, const std::string &changeMessage, bool incResults, bool incParametricResults)
 
std::string getCurrentVersion (const std::string &fileName, const std::string &prjName)
 
void commitProject (const std::string &fileName, const std::string &prjName, const std::string &changeComment, bool incResults, bool incParametricResults)
 
void getProject (const std::string &fileName, const std::string &prjName, const std::string &version)
 
void uploadFiles (std::list< ot::UID > &entityIDList, std::list< ot::UID > &entityVersionList, ot::UID infoEntityID, ot::UID infoEntityVersion)
 
void downloadFiles (const std::string &fileName, const std::string &projectName, std::list< ot::UID > &entityIDList, std::list< ot::UID > &entityVersionList, const std::string &version)
 
void copyFiles (const std::string &newVersion)
 
std::string getLocalFileName ()
 
void setLocalFileName (std::string fileName)
 
bool checkValidLocalFile (std::string fileName, std::string projectName, bool ensureProjectExists, std::string &errorMessage)
 

Static Public Member Functions

static ProjectManagergetInstance ()
 
static ProjectManagergetInstance ()
 

Member Function Documentation

◆ checkValidLocalFile() [1/2]

bool ProjectManager::checkValidLocalFile ( std::string fileName,
std::string projectName,
bool ensureProjectExists,
std::string & errorMessage )

◆ checkValidLocalFile() [2/2]

bool ProjectManager::checkValidLocalFile ( std::string fileName,
std::string projectName,
bool ensureProjectExists,
std::string & errorMessage )

◆ commitProject() [1/2]

void ProjectManager::commitProject ( const std::string & fileName,
const std::string & prjName,
const std::string & changeComment,
bool incResults )

◆ commitProject() [2/2]

void ProjectManager::commitProject ( const std::string & fileName,
const std::string & prjName,
const std::string & changeComment,
bool incResults,
bool incParametricResults )

◆ copyFiles() [1/2]

void ProjectManager::copyFiles ( const std::string & newVersion)

◆ copyFiles() [2/2]

void ProjectManager::copyFiles ( const std::string & newVersion)

◆ downloadFiles() [1/2]

void ProjectManager::downloadFiles ( const std::string & fileName,
const std::string & projectName,
std::list< ot::UID > & entityIDList,
std::list< ot::UID > & entityVersionList,
const std::string & version )

◆ downloadFiles() [2/2]

void ProjectManager::downloadFiles ( const std::string & fileName,
const std::string & projectName,
std::list< ot::UID > & entityIDList,
std::list< ot::UID > & entityVersionList,
const std::string & version )

◆ getCurrentVersion() [1/2]

std::string ProjectManager::getCurrentVersion ( const std::string & fileName,
const std::string & prjName )

◆ getCurrentVersion() [2/2]

std::string ProjectManager::getCurrentVersion ( const std::string & fileName,
const std::string & prjName )

◆ getInstance() [1/2]

static ProjectManager & ProjectManager::getInstance ( )
inlinestatic

◆ getInstance() [2/2]

static ProjectManager & ProjectManager::getInstance ( )
inlinestatic

◆ getLocalFileName() [1/2]

std::string ProjectManager::getLocalFileName ( )
inline

◆ getLocalFileName() [2/2]

std::string ProjectManager::getLocalFileName ( )
inline

◆ getProject() [1/2]

void ProjectManager::getProject ( const std::string & fileName,
const std::string & prjName,
const std::string & version )

◆ getProject() [2/2]

void ProjectManager::getProject ( const std::string & fileName,
const std::string & prjName,
const std::string & version )

◆ importProject() [1/2]

void ProjectManager::importProject ( const std::string & fileName,
const std::string & prjName,
const std::string & changeMessage,
bool incResults )

◆ importProject() [2/2]

void ProjectManager::importProject ( const std::string & fileName,
const std::string & prjName,
const std::string & changeMessage,
bool incResults,
bool incParametricResults )

◆ openProject() [1/2]

void ProjectManager::openProject ( )

◆ openProject() [2/2]

void ProjectManager::openProject ( )

◆ setLocalFileName() [1/2]

void ProjectManager::setLocalFileName ( std::string fileName)

◆ setLocalFileName() [2/2]

void ProjectManager::setLocalFileName ( std::string fileName)

◆ setLTSpiceServiceData()

void ProjectManager::setLTSpiceServiceData ( const std::string & ltSpiceServiceURL,
QObject * mainObject )

◆ setStudioServiceData()

void ProjectManager::setStudioServiceData ( const std::string & studioSuiteServiceURL,
QObject * mainObject )

◆ uploadFiles() [1/2]

void ProjectManager::uploadFiles ( std::list< ot::UID > & entityIDList,
std::list< ot::UID > & entityVersionList,
ot::UID infoEntityID,
ot::UID infoEntityVersion )

◆ uploadFiles() [2/2]

void ProjectManager::uploadFiles ( std::list< ot::UID > & entityIDList,
std::list< ot::UID > & entityVersionList,
ot::UID infoEntityID,
ot::UID infoEntityVersion )

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