|
PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
|
#include <WorkspaceManager.h>
Public Member Functions | |
| WorkspaceManager () | |
| ~WorkspaceManager () | |
| bool | IsPortableMode () const |
| bool | IsFirstRun () const |
| bool | Initialize () |
| bool | CopyResources (const std::string &installationPath) |
| bool | IsInitialized () const |
| void | SetWorkspacePath (const std::string &path) |
| std::string | GetWorkspacePath () const |
| std::string | GetStudiesPath () const |
| std::string | GetSnapshotsPath () const |
| std::string | GetChainsPath () const |
| std::string | GetScalesPath () const |
| std::string | GetDocsPath () const |
| std::string | GetDemoPath () const |
| std::string | GetTutorialPath () const |
| std::vector< std::string > | GetStudyDirectories () const |
| std::vector< std::string > | GetSnapshotDirectories () const |
| bool | CreateStudyDirectory (const std::string &studyName) |
| bool | CreateSnapshot (const std::string &studyPath, const std::string &snapshotName) |
| bool | ImportSnapshot (const std::string &snapshotPath, const std::string &newStudyName) |
Definition at line 17 of file WorkspaceManager.h.
| WorkspaceManager::WorkspaceManager | ( | ) |
Definition at line 37 of file WorkspaceManager.cpp.
References IsPortableMode(), and PEBL_VERSION.
| WorkspaceManager::~WorkspaceManager | ( | ) |
Definition at line 48 of file WorkspaceManager.cpp.
| bool WorkspaceManager::CopyResources | ( | const std::string & | installationPath | ) |
Definition at line 176 of file WorkspaceManager.cpp.
References IsPortableMode(), and PEBL_VERSION.
| bool WorkspaceManager::CreateSnapshot | ( | const std::string & | studyPath, |
| const std::string & | snapshotName | ||
| ) |
Definition at line 325 of file WorkspaceManager.cpp.
References GetSnapshotsPath().
| bool WorkspaceManager::CreateStudyDirectory | ( | const std::string & | studyName | ) |
Definition at line 305 of file WorkspaceManager.cpp.
References GetStudiesPath().
|
inline |
Definition at line 44 of file WorkspaceManager.h.
|
inline |
Definition at line 47 of file WorkspaceManager.h.
|
inline |
Definition at line 46 of file WorkspaceManager.h.
|
inline |
Definition at line 45 of file WorkspaceManager.h.
| std::vector< std::string > WorkspaceManager::GetSnapshotDirectories | ( | ) | const |
Definition at line 278 of file WorkspaceManager.cpp.
References GetSnapshotsPath().
|
inline |
Definition at line 43 of file WorkspaceManager.h.
Referenced by CreateSnapshot(), and GetSnapshotDirectories().
|
inline |
Definition at line 42 of file WorkspaceManager.h.
Referenced by CreateStudyDirectory(), GetStudyDirectories(), and ImportSnapshot().
| std::vector< std::string > WorkspaceManager::GetStudyDirectories | ( | ) | const |
Definition at line 251 of file WorkspaceManager.cpp.
References GetStudiesPath().
|
inline |
Definition at line 48 of file WorkspaceManager.h.
|
inline |
Definition at line 41 of file WorkspaceManager.h.
| bool WorkspaceManager::ImportSnapshot | ( | const std::string & | snapshotPath, |
| const std::string & | newStudyName | ||
| ) |
Definition at line 336 of file WorkspaceManager.cpp.
References GetStudiesPath().
| bool WorkspaceManager::Initialize | ( | ) |
Definition at line 138 of file WorkspaceManager.cpp.
References IsPortableMode().
| bool WorkspaceManager::IsFirstRun | ( | ) | const |
Definition at line 122 of file WorkspaceManager.cpp.
References IsPortableMode().
| bool WorkspaceManager::IsInitialized | ( | ) | const |
Definition at line 247 of file WorkspaceManager.cpp.
| bool WorkspaceManager::IsPortableMode | ( | ) | const |
Definition at line 51 of file WorkspaceManager.cpp.
Referenced by CopyResources(), Initialize(), IsFirstRun(), and WorkspaceManager().
|
inline |
Definition at line 38 of file WorkspaceManager.h.