libepp_nicbr
BrOrgInfoCmd.H
Go to the documentation of this file.
1 /* ${copyright}$ */
2 /* $Id: BrOrgInfoCmd.H 1086 2010-12-10 13:07:28Z eduardo $ */
7 #ifndef __BR_ORG_INFO_CMD_H__
8 #define __BR_ORG_INFO_CMD_H__
9 
10 #include <string>
11 
12 #include "libepp_nicbr.H"
13 
14 #include "ContactInfoCmd.H"
15 
16 using std::string;
17 
18 LIBEPP_NICBR_NS_BEGIN
19 
22 {
23 public:
25  BrOrgInfoCmd(bool reset = true) : ContactInfoCmd(false)
26  {
27  if (reset) {
28  this->reset();
29  }
30  }
31 
33 
36  void set_organization(const string &organization)
37  {
38  _organization = organization;
39  }
40 
42 
45  string get_organization() const
46  {
47  return _organization;
48  }
49 
51  void reset()
52  {
54  _organization = "";
55  }
56 
57 protected:
59  string _organization;
60 };
61 
62 LIBEPP_NICBR_NS_END
63 #endif //__BR_ORG_INFO_CMD_H__
EPP ContactInfoCmd Class.
Project defines.
void reset()
reset attributes
Definition: ContactInfoCmd.H:46
EPP ContactInfoCmd Class.
Definition: ContactInfoCmd.H:22
EPP BrOrgInfoCmd Class.
Definition: BrOrgInfoCmd.H:21
string get_organization() const
Returns the Organization.
Definition: BrOrgInfoCmd.H:45
void set_organization(const string &organization)
Sets the Organization.
Definition: BrOrgInfoCmd.H:36
void reset()
reset attributes
Definition: BrOrgInfoCmd.H:51
BrOrgInfoCmd(bool reset=true)
Default constructor.
Definition: BrOrgInfoCmd.H:25
string _organization
Organization Identifier.
Definition: BrOrgInfoCmd.H:59