00001 /* ${copyright}$ */ 00002 /* $Id: DomainDeleteCmd.H 1040 2009-10-01 17:49:12Z fneves $ */ 00007 #ifndef __DOMAIN_DELETE_CMD_H__ 00008 #define __DOMAIN_DELETE_CMD_H__ 00009 00010 #include <string> 00011 00012 #include "libepp_nicbr.H" 00013 00014 #include "Command.H" 00015 00016 using std::string; 00017 00018 LIBEPP_NICBR_NS_BEGIN 00019 00021 class DomainDeleteCmd : public Command 00022 { 00023 public: 00025 DomainDeleteCmd(bool reset = true) : Command(false) 00026 { 00027 if (reset) { 00028 this->reset(); 00029 } 00030 } 00031 00033 00036 void set_name(const string& name) { _name = name; } 00037 00039 00042 string get_name() const { return _name; } 00043 00045 void reset() 00046 { 00047 Command::reset(); 00048 _name = ""; 00049 } 00050 00051 protected: 00053 string _name; 00054 }; 00055 00056 LIBEPP_NICBR_NS_END 00057 #endif // __DOMAIN_DELETE_CMD_H__