libepp_nicbr
IpNetworkDeleteCmd.H
Go to the documentation of this file.
1 /* ${copyright}$ */
2 /* $Id: IpNetworkDeleteCmd.H 1086 2010-12-10 13:07:28Z eduardo $ */
7 #ifndef __IPNETWORKDELETECMD_H__
8 #define __IPNETWORKDELETECMD_H__
9 
10 #include "libepp_nicbr.H"
11 
12 #include "Command.H"
13 
14 LIBEPP_NICBR_NS_BEGIN
15 
18 {
19 public:
21  IpNetworkDeleteCmd(bool reset = true) : Command(false)
22  {
23  if (reset) {
24  this->reset();
25  }
26  }
27 
29 
32  void set_roid(const string &roid)
33  {
34  _roid = roid;
35  }
36 
38 
41  string get_roid() const
42  {
43  return _roid;
44  }
45 
46  void reset()
47  {
49  _roid = "";
50  }
51 
52 protected:
54  string _roid;
55 };
56 
57 LIBEPP_NICBR_NS_END
58 #endif // __IPNETWORKDELETECMD_H__
IpNetworkDeleteCmd(bool reset=true)
Default constructor.
Definition: IpNetworkDeleteCmd.H:21
string get_roid() const
Returns repository object ID.
Definition: IpNetworkDeleteCmd.H:41
Project defines.
string _roid
server-unique id for the created IP network
Definition: IpNetworkDeleteCmd.H:54
EPP IpNetworkDelete Class.
Definition: IpNetworkDeleteCmd.H:17
void set_roid(const string &roid)
Sets repository object ID.
Definition: IpNetworkDeleteCmd.H:32
void reset()
Reset object attributes.
Definition: Command.H:33
EPP Command Class.
Definition: Command.H:18
EPP Command Class.