include/DomainDeleteCmd.H

Go to the documentation of this file.
00001 /* ${copyright}$ */
00002 /* $Id: DomainDeleteCmd.H 1008 2009-02-20 14:02:51Z rafael $ */
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(string name) { _name = name; }
00037 
00039 
00042   string get_name() { 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__

Generated on Tue Mar 17 16:03:07 2009 for libepp_nicbr by  doxygen 1.4.7