include/IpNetworkCreateRsp.H

Go to the documentation of this file.
00001 /* ${copyright}$ */
00002 /* $Id: IpNetworkCreateRsp.H 963 2008-12-11 15:31:29Z rafael $ */
00007 #ifndef __IPNETWORKCREATERSP_H__
00008 #define __IPNETWORKCREATERSP_H__
00009 
00010 #include <string>
00011 
00012 #include "libepp_nicbr.H"
00013 
00014 #include "Response.H"
00015 
00016 using std::string;
00017 
00018 LIBEPP_NICBR_NS_BEGIN
00019 
00021 class IpNetworkCreateRsp : public Response
00022 {
00023 public:
00025   IpNetworkCreateRsp(bool reset = true) : Response(false)
00026   {
00027     if (reset) {
00028       this->reset();
00029     }
00030   }
00031 
00033 
00036   void set_ipRange(const IpRange &ipRange)
00037   {
00038     _ipRange = ipRange;
00039   }
00040 
00042 
00045   IpRange get_ipRange() const
00046   {
00047     return _ipRange;
00048   }
00049 
00051 
00054   void set_roid(const string &roid)
00055   {
00056     _roid = roid;
00057   }
00058 
00060 
00063   string get_roid() const
00064   {
00065     return _roid;
00066   }
00067 
00069 
00072   void set_crDate(string crDate) { _crDate = crDate; }
00073 
00075 
00078   string get_crDate() { return _crDate; }
00079 
00081 
00084   void set_exDate(string exDate) { _exDate = exDate; }
00085 
00087 
00090   string get_exDate() { return _exDate; }
00091 
00092   void reset()
00093   {
00094     Response::reset();
00095     _ipRange.reset();
00096     _roid = "";
00097     _crDate = "";
00098     _exDate = "";
00099   }
00100 
00101 private:
00103   IpRange _ipRange;
00104 
00106   string _roid;
00107 
00109   string _crDate;
00110 
00113   string _exDate;
00114 };
00115 
00116 LIBEPP_NICBR_NS_END
00117 #endif // __IPNETWORKCREATERSP_H__

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