HCE project C++ developers source code library  1.1.1
HCE project developer library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ExecBase Class Reference

#include <ExecBase.hpp>

Inheritance diagram for ExecBase:

Public Member Functions

 ExecBase (const std::string &cmd_)
virtual ~ExecBase ()
virtual bool exec (std::ostream &os=std::cout, std::ostream &es=std::cerr)=0
void setCmd (const std::string &cmd_)
std::string getCmd (void) const
bool isError (void) const

Protected Attributes

std::string cmd
bool _IsError

Detailed Description

Definition at line 20 of file ExecBase.hpp.

Constructor & Destructor Documentation

ExecBase::ExecBase ( const std::string &  cmd_)

Definition at line 4 of file ExecBase.cpp.

virtual ExecBase::~ExecBase ( )
inlinevirtual

Definition at line 24 of file ExecBase.hpp.

Member Function Documentation

virtual bool ExecBase::exec ( std::ostream &  os = std::cout,
std::ostream &  es = std::cerr 
)
pure virtual

Implemented in ProcExec, and ShellExec.

std::string ExecBase::getCmd ( void  ) const
inline

Definition at line 29 of file ExecBase.hpp.

bool ExecBase::isError ( void  ) const
inline

Definition at line 31 of file ExecBase.hpp.

Here is the caller graph for this function:

void ExecBase::setCmd ( const std::string &  cmd_)
inline

Definition at line 28 of file ExecBase.hpp.

Member Data Documentation

bool ExecBase::_IsError
protected

Definition at line 34 of file ExecBase.hpp.

std::string ExecBase::cmd
protected

Definition at line 33 of file ExecBase.hpp.


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