hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HCE::Command Class Reference

#include <Command.hpp>

Public Types

typedef std::vector< std::pair
< std::string, std::string > > 
Env

Public Member Functions

 Command (const std::string &commandLine, const std::string &shellName="")
 Command (const std::string &commandLine, const std::string &initialDirectory, const std::string &inputStream_, const std::string &shellName="")
 Command (const std::string &commandLine, const std::string &inputStream_, const Command::Env &env, const std::string &shellName="")
 Command (const std::string &commandLine, const std::string &initialDirectory, const std::string &inputStream_, const Command::Env &env, const std::string &shellName="")
 ~Command (void)
void setShellName (const std::string &shellName_)
std::string getShellName (void) const
void setCommandLine (const std::string &commandLine_)
std::string getCommandLine (void) const
void setInitialDirectory (const std::string &initialDirectory_)
std::string getInitialDirectory (void) const
void setInputStream (const std::string &inputStream_)
std::string getInputStream (void) const
void setEnvironments (const Command::Env &env_)
const Command::EnvgetEnvironments (void) const

Detailed Description

Definition at line 23 of file Command.hpp.

Member Typedef Documentation

typedef std::vector<std::pair<std::string, std::string> > HCE::Command::Env

Definition at line 26 of file Command.hpp.

Constructor & Destructor Documentation

HCE::Command::Command ( const std::string &  commandLine,
const std::string &  shellName = "" 
)
explicit

Definition at line 6 of file Command.cpp.

HCE::Command::Command ( const std::string &  commandLine,
const std::string &  initialDirectory,
const std::string &  inputStream_,
const std::string &  shellName = "" 
)

Definition at line 11 of file Command.cpp.

HCE::Command::Command ( const std::string &  commandLine,
const std::string &  inputStream_,
const Command::Env env,
const std::string &  shellName = "" 
)

Definition at line 16 of file Command.cpp.

HCE::Command::Command ( const std::string &  commandLine,
const std::string &  initialDirectory,
const std::string &  inputStream_,
const Command::Env env,
const std::string &  shellName = "" 
)

Definition at line 21 of file Command.cpp.

HCE::Command::~Command ( void  )
inline

Definition at line 32 of file Command.hpp.

Member Function Documentation

std::string HCE::Command::getCommandLine ( void  ) const
inline

Definition at line 38 of file Command.hpp.

Here is the caller graph for this function:

const Command::Env& HCE::Command::getEnvironments ( void  ) const
inline

Definition at line 47 of file Command.hpp.

Here is the caller graph for this function:

std::string HCE::Command::getInitialDirectory ( void  ) const
inline

Definition at line 41 of file Command.hpp.

Here is the caller graph for this function:

std::string HCE::Command::getInputStream ( void  ) const
inline

Definition at line 44 of file Command.hpp.

Here is the caller graph for this function:

std::string HCE::Command::getShellName ( void  ) const
inline

Definition at line 35 of file Command.hpp.

Here is the caller graph for this function:

void HCE::Command::setCommandLine ( const std::string &  commandLine_)
inline

Definition at line 37 of file Command.hpp.

void HCE::Command::setEnvironments ( const Command::Env env_)
inline

Definition at line 46 of file Command.hpp.

void HCE::Command::setInitialDirectory ( const std::string &  initialDirectory_)
inline

Definition at line 40 of file Command.hpp.

void HCE::Command::setInputStream ( const std::string &  inputStream_)
inline

Definition at line 43 of file Command.hpp.

Here is the caller graph for this function:

void HCE::Command::setShellName ( const std::string &  shellName_)
inline

Definition at line 34 of file Command.hpp.


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