1 #ifndef CLI_WORKSPACE_MANAGER_H_
2 #define CLI_WORKSPACE_MANAGER_H_
22 #include "../workspace/CliWorkspace.h"
46 static SimShell::Ws::IProject::FileIterator OpenLeaf(
47 std::shared_ptr<SimShell::Ws::IProject> project,
const std::string& input_file,
48 bool create_if_not_exists, std::shared_ptr<SimShell::Ws::IFile> ref_input_file);
59 static SimShell::Ws::IProject::FileIterator OpenLeaf(
60 std::shared_ptr<SimShell::Ws::IProject> project,
const std::string& file_name,
61 bool create_if_not_exist =
true,
62 const std::string& ref_ws_path =
"",
const std::string& ref_project =
"",
63 const std::string& ref_file_name =
"");
71 static SimShell::Ws::IWorkspace::ProjectIterator OpenProject(
72 std::shared_ptr<CliWorkspace> workspace,
const std::string& project,
73 bool create_if_not_exist =
true);
81 static std::shared_ptr<CliWorkspace> OpenWorkspace(
82 const std::string& base_path,
const std::string& workspace,
83 bool create_if_not_exist =
true);
92 static SimShell::Ws::IProject::FileIterator
93 CreateLeaf(
const std::shared_ptr<SimShell::Ws::IProject>& project,
94 const std::string& from_path,
const std::string& to);
101 static SimShell::Ws::IWorkspace::ProjectIterator
102 CreateProject(
const std::shared_ptr<SimShell::Ws::IWorkspace>& workspace,
const std::string& project);
109 static std::shared_ptr<Ws::CliWorkspace>
110 CreateWorkspace(
const std::string& base_path,
const std::string& workspace);
115 #endif // end-of-include-guard
Workspace manager for cli applications.
Namespace for SimPT shell package.
Namespace for generic graphical shell for simulators.
Namespace for SimPT specific workspace classes.