include/BrOrgPanDataRsp.H

Go to the documentation of this file.
00001 /* ${copyright}$ */
00002 /* $Id: BrOrgPanDataRsp.H 563 2006-03-10 17:23:49Z cesar $ */
00007 #ifndef __BR_ORG_PANDATA_RSP_H__
00008 #define __BR_ORG_PANDATA_RSP_H__
00009 
00010 #include <string>
00011 
00012 #include "libepp_nicbr.H"
00013 #include "PanDataRsp.H"
00014 
00015 LIBEPP_NICBR_NS_BEGIN
00016 
00017 using std::string;
00018 
00020 class BrOrgPanDataRsp : public PanDataRsp
00021 {
00022 public:  
00024   BrOrgPanDataRsp(bool reset = true) : PanDataRsp(false) 
00025   {
00026     if (reset) {
00027       this->reset();
00028     }
00029   }
00030 
00032   BrOrgPanDataRsp(PanDataRsp *parent, bool reset = true) : PanDataRsp(false)
00033   {
00034     if (reset) {
00035       this->reset();
00036     }
00037 
00038     _clTRID = parent->get_clTRID();
00039     _svTRID = parent->get_svTRID();
00040     _object_id = parent->get_object_id();    
00041     _paResult = parent->get_paResult();
00042     _paDate = parent->get_paDate();
00043   }
00044   
00046 
00049   void set_organization(const string &organization)
00050   {
00051     _organization = organization;
00052   }
00053 
00055 
00058   string get_organization() 
00059   {
00060     return _organization;
00061   }
00062   
00064   void reset() 
00065   {
00066     PanDataRsp::reset();
00067     _organization = "";
00068   }
00069   
00070   
00071 protected:
00073   string _organization;
00074 };
00075 
00076 LIBEPP_NICBR_NS_END
00077 
00078 #endif //__BR_ORG_PANDATA_RSP_H__

Generated on Wed Mar 22 14:18:26 2006 for libepp_nicbr by  doxygen 1.4.6