00001
#if !defined(__RESTORECASECOMMAND_HPP)
00002
#define __RESTORECASECOMMAND_HPP
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
#if !defined(__COMMON_HPP)
00025
#include <corelinux/Common.hpp>
00026
#endif
00027
00028
#if !defined(__COMMAND_HPP)
00029
#include <corelinux/Command.hpp>
00030
#endif
00031
00036 DECLARE_CLASS( RestoreCaseCommand );
00037
00038
class RestoreCaseCommand :
public CORELINUX(Command)
00039 {
00040
00041
public:
00042
00043
00044
00045
00046
00048
00049 RestoreCaseCommand(
void );
00050
00052
00053
virtual ~RestoreCaseCommand(
void );
00054
00055
00056
00057
00059
00060
bool operator==( RestoreCaseCommandCref ) const;
00061
00062
00063
00064
00065
00066
00067
00068
00076
void setValues( std::string **, std::string ** )
00077 throw ( CORELINUX( Assertion ) );
00078
00079
00080
00081
00082 virtual
void execute(
void ) ;
00083
00084 protected:
00085
00087
00088 RestoreCaseCommand( RestoreCaseCommandCref )
00089 throw ( CORELINUX( Assertion ) );
00090
00092
00093 RestoreCaseCommandRef operator=( RestoreCaseCommandCref )
00094 throw ( CORELINUX( Assertion ) );
00095
00096
00097 private:
00098
00099 std::string **theOriginalValue;
00100 std::string **theRestoredValue;
00101
00102 };
00103
00104 #endif
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115