00001 /* ${copyright}$ */ 00002 /* $Id: BrOrgInfoCmd.H 536 2006-03-03 15:00:29Z cesar $ */ 00007 #ifndef __BR_ORG_INFO_CMD_H__ 00008 #define __BR_ORG_INFO_CMD_H__ 00009 00010 #include <string> 00011 00012 #include "libepp_nicbr.H" 00013 00014 #include "ContactInfoCmd.H" 00015 00016 using std::string; 00017 00018 LIBEPP_NICBR_NS_BEGIN 00019 00021 class BrOrgInfoCmd : public ContactInfoCmd 00022 { 00023 public: 00025 BrOrgInfoCmd(bool reset = true) : ContactInfoCmd(false) 00026 { 00027 if (reset) { 00028 this->reset(); 00029 } 00030 } 00031 00033 00036 void set_organization(const string &organization) 00037 { 00038 _organization = organization; 00039 } 00040 00042 00045 string get_organization() 00046 { 00047 return _organization; 00048 } 00049 00051 void reset() 00052 { 00053 ContactInfoCmd::reset(); 00054 _organization = ""; 00055 } 00056 00057 protected: 00059 string _organization; 00060 }; 00061 00062 LIBEPP_NICBR_NS_END 00063 #endif //__BR_ORG_INFO_CMD_H__