include/BrOrgCheck.H

Go to the documentation of this file.
00001 /* ${copyright}$ */
00002 /* $Id: BrOrgCheck.H 543 2006-03-07 12:31:53Z cesar $ */
00007 #ifndef __BR_ORG_CHECK_H__
00008 #define __BR_ORG_CHECK_H__
00009 
00010 #include <memory>
00011 
00012 #include "libepp_nicbr.H"
00013 
00014 #include "ContactCheck.H"
00015 #include "BrOrgCheckCmd.H"
00016 #include "ContactCheckRsp.H"
00017 
00018 using std::auto_ptr;
00019 
00020 LIBEPP_NICBR_NS_BEGIN
00021 
00023 class BrOrgCheck : public ContactCheck
00024 {
00025 public:
00027   BrOrgCheck(const ActionType type = BR_ORG_CHECK) : ContactCheck(type)
00028   {
00029     if (type == BR_ORG_CHECK) {
00030       _command = auto_ptr<BrOrgCheckCmd>(new BrOrgCheckCmd());
00031       _response = auto_ptr<ContactCheckRsp>(new ContactCheckRsp());
00032     }
00033   }
00034   
00036 
00039   void set_xml_template(const string &xml_template);
00040   
00042 
00045   BrOrgCheckCmd* get_command() 
00046   { 
00047     return (BrOrgCheckCmd*) _command.get(); 
00048   }
00049  
00050 };
00051 
00052 LIBEPP_NICBR_NS_END
00053 #endif //__BR_ORG_CHECK_H__

Generated on Thu Jun 8 17:40:00 2006 for libepp_nicbr by  doxygen 1.4.6