00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef __EPP_CONTACTADDRESS_H
00029 #define __EPP_CONTACTADDRESS_H
00030
00031 #include "epp_contactdata.h"
00032
00033 namespace eppobject { namespace contact {
00034
00035 class epp_ContactAddress {
00036 public:
00037
00038 eppobject::epp::epp_string_ref m_street1;
00039 eppobject::epp::epp_string_ref m_street2;
00040 eppobject::epp::epp_string_ref m_street3;
00041 eppobject::epp::epp_string_ref m_city;
00042 eppobject::epp::epp_string_ref m_state_province;
00043 eppobject::epp::epp_string_ref m_postal_code;
00044 eppobject::epp::epp_string_ref m_country_code;
00045
00046 epp_ContactAddress() {};
00047
00048 virtual ~epp_ContactAddress() {};
00049
00050
00051 epp_ContactAddress(eppobject::epp::epp_string _m_street1,
00052 eppobject::epp::epp_string _m_street2,
00053 eppobject::epp::epp_string _m_street3,
00054 eppobject::epp::epp_string _m_city,
00055 eppobject::epp::epp_string _m_state_province,
00056 eppobject::epp::epp_string _m_postal_code,
00057 eppobject::epp::epp_string _m_country_code)
00058 {
00059 m_street1.ref(new eppobject::epp::epp_string(_m_street1));
00060 m_street2.ref(new eppobject::epp::epp_string(_m_street2));
00061 m_street3.ref(new eppobject::epp::epp_string(_m_street3));
00062 m_city.ref(new eppobject::epp::epp_string(_m_city));
00063 m_state_province.ref(new eppobject::epp::epp_string(_m_state_province));
00064 m_postal_code.ref(new eppobject::epp::epp_string(_m_postal_code));
00065 m_country_code.ref(new eppobject::epp::epp_string(_m_country_code));
00066 };
00067
00068
00069 epp_ContactAddress(eppobject::epp::epp_string_ref _m_street1,
00070 eppobject::epp::epp_string_ref _m_street2,
00071 eppobject::epp::epp_string_ref _m_street3,
00072 eppobject::epp::epp_string_ref _m_city,
00073 eppobject::epp::epp_string_ref _m_state_province,
00074 eppobject::epp::epp_string_ref _m_postal_code,
00075 eppobject::epp::epp_string_ref _m_country_code)
00076 {
00077 m_street1 = _m_street1;
00078 m_street2 = _m_street2;
00079 m_street3 = _m_street3;
00080 m_city = _m_city;
00081 m_state_province = _m_state_province;
00082 m_postal_code = _m_postal_code;
00083 m_country_code = _m_country_code;
00084 };
00085 };
00086
00087 typedef refcnt_ptr<epp_ContactAddress> epp_ContactAddress_ref;
00088
00089 }};
00090
00091 #endif