00001 /* ${copyright}$ */ 00002 /* $Id: BrDomainCheckCmd.H 465 2006-02-22 19:36:14Z eduardo $ */ 00007 #ifndef __BR_DOMAIN_CHECK_CMD_H__ 00008 #define __BR_DOMAIN_CHECK_CMD_H__ 00009 00010 #include "DomainCheckCmd.H" 00011 00012 LIBEPP_NICBR_NS_BEGIN 00013 00015 class BrDomainCheckCmd : public DomainCheckCmd 00016 { 00017 public: 00019 BrDomainCheckCmd(bool reset = true) : DomainCheckCmd(false) 00020 { 00021 if (reset) { 00022 this->reset(); 00023 } 00024 } 00025 00027 00030 void set_organization(string organization) 00031 { 00032 _organization = organization; 00033 } 00034 00036 00039 string get_organization() 00040 { 00041 return _organization; 00042 } 00043 00045 void reset() 00046 { 00047 DomainCheckCmd::reset(); 00048 _organization = ""; 00049 } 00050 00051 protected: 00053 string _organization; 00054 }; 00055 00056 LIBEPP_NICBR_NS_END 00057 #endif //__BR_DOMAIN_CHECK_CMD_H__