hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Command.cpp
Go to the documentation of this file.
1 #include "Command.hpp"
2 
3 namespace HCE
4 {
5 //-----------------------------------------------------------------------------
6 Command::Command(const std::string& commandLine_, const std::string& shellName_)
7 : shellName(shellName_), commandLine(commandLine_), initialDirectory(""), inputStream(""), env()
8 {
9 }
10 //-----------------------------------------------------------------------------
11 Command::Command(const std::string& commandLine_, const std::string& initialDirectory_, const std::string& inputStream_, const std::string& shellName_)
12 : shellName(shellName_), commandLine(commandLine_), initialDirectory(initialDirectory_), inputStream(inputStream_), env()
13 {
14 }
15 //-----------------------------------------------------------------------------
16 Command::Command(const std::string& commandLine_, const std::string& inputStream_, const Command::Env& env_, const std::string& shellName_)
17 : shellName(shellName_), commandLine(commandLine_), initialDirectory(""), inputStream(inputStream_), env(env_)
18 {
19 }
20 //-----------------------------------------------------------------------------
21 Command::Command(const std::string& commandLine_, const std::string& initialDirectory_, const std::string& inputStream_, const Command::Env& env_, const std::string& shellName_)
22 : shellName(shellName_), commandLine(commandLine_), initialDirectory(initialDirectory_), inputStream(inputStream_), env(env_)
23 {
24 }
25 //-----------------------------------------------------------------------------
26 //-----------------------------------------------------------------------------
27 } // end namespace HCE