HCE project C++ developers source code library
1.1.1
HCE project developer library
Main Page
Namespaces
Classes
Files
File List
File Members
HCE project C++ developers source code library
HCE project C++ developer source code library
Namespaces
Classes
Files
File List
sources
algorithms
applicationFramework
asmXMLParser
base64
coreDumpChecker
DRCE
exec
src
ExecBase.cpp
ExecBase.hpp
ProcExec.cpp
ProcExec.hpp
ShellExec.cpp
ShellExec.hpp
HCECSM
jsonObjExtractor
kvdb
messageStream
reduceAdditionCore
reduceCore
reduceDRCE
reduceHandler
reduceSphinx
refine
serializable
sphinx
types
xmlCleaner
main.cpp
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
ExecBase.hpp
Go to the documentation of this file.
1
14
#ifndef EXEC_BASE_HPP
15
#define EXEC_BASE_HPP
16
17
#include <iostream>
18
19
//-----------------------------------------------------------------------------
20
class
ExecBase
21
{
22
public
:
23
ExecBase
(
const
std::string& cmd_);
24
virtual
~ExecBase
() {}
25
26
virtual
bool
exec
(std::ostream& os=std::cout, std::ostream& es=std::cerr)=0;
27
28
void
setCmd
(
const
std::string& cmd_) {
cmd
=cmd_;}
29
std::string
getCmd
(
void
)
const
{
return
cmd
;}
30
31
bool
isError
(
void
)
const
{
return
_IsError
;}
32
protected
:
33
std::string
cmd
;
34
bool
_IsError
;
35
};
36
//-----------------------------------------------------------------------------
37
//-----------------------------------------------------------------------------
38
#endif // EXEC_BASE_HPP
sources
exec
src
ExecBase.hpp
Generated on Mon Jan 13 2014 13:08:36 for HCE project C++ developers source code library by
1.8.1.2