Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

epp_eppdata.h

Go to the documentation of this file.
00001 /************************************************************************
00002 * EPP RTK C++
00003 * Copyright (C) 2001, 2002 The Global Name Registry, Limited 
00004 * 
00005 * This library is free software; you can redistribute it and/or modify it
00006 * under the terms of the GNU Lesser General Public License as published
00007 * by the Free Software Foundation; either version 2.1 of the License, or
00008 * (at your option) any later version.
00009 *
00010 * This library is distributed in the hope that it will be useful, but
00011 * WITHOUT ANY WARRANTY; without even the implied warranty of
00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013 * Lesser General Public License for more details.
00014 *
00015 * You should have received a copy of the GNU Lesser General Public
00016 * License along with this library; if not, write to the Free Software
00017 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 *
00019 * Contact information:  epprtk@gnr.com
00020 *
00021 *                       EPP RTK
00022 *                       The Global Name Registry, Limited
00023 *                       125 High Holborn
00024 *                       London WC1V 6QA
00025 *                       United Kingdom
00026 ************************************************************************/
00027 
00028 #ifndef __EPP_EPPDATA_H
00029 #define __EPP_EPPDATA_H
00030 
00031 #include <string>
00032 #include <vector>
00033 #include <domtools/refcount.h>
00034 
00035 namespace eppobject { namespace epp {   
00036    
00037    // Enumerations:
00038    
00039    enum epp_TransferOpType {
00040       APPROVE,
00041       CANCEL,
00042       QUERY,
00043       REJECT,
00044       REQUEST,
00045    };
00046    typedef refcnt_ptr<epp_TransferOpType> epp_TransferOpType_ref;
00047    
00048    enum epp_TransferStatusType {
00049       CLIENT_APPROVED,
00050       CLIENT_CANCELLED,
00051       CLIENT_REJECTED,
00052       PENDING,
00053       SERVER_APPROVED,
00054       SERVER_CANCELLED
00055    };
00056    typedef refcnt_ptr<epp_TransferStatusType> epp_TransferStatusType_ref;
00057    
00058    enum epp_PollOpType {
00059       ACK,
00060       REQ,
00061    };
00062    typedef refcnt_ptr<epp_PollOpType> epp_PollOpType_ref;
00063    
00064    enum epp_AuthInfoType {
00065       PW,
00066    };
00067    typedef refcnt_ptr<epp_AuthInfoType> epp_AuthInfoType_ref;
00068    
00069    enum epp_PollResDataType
00070      {
00071    DOMAIN_TRANSFER,
00072    CONTACT_TRANSFER
00073      /* and whatever poll response types there might be */
00074      };
00075    typedef refcnt_ptr<epp_PollResDataType> epp_PollResDataType_ref;
00076    
00077    
00078    // Pure typedefs:
00079    
00080    typedef string epp_string;
00081    typedef refcnt_ptr<epp_string> epp_string_ref;
00082    
00083    typedef vector<epp_string> epp_string_seq;
00084    typedef refcnt_ptr<epp_string_seq> epp_string_seq_ref;
00085    
00086    typedef string epp_xml_string;
00087    typedef refcnt_ptr<epp_xml_string> epp_xml_string_ref;
00088    
00089    typedef short epp_short;
00090    typedef refcnt_ptr<epp_short> epp_short_ref;
00091    
00092    typedef long epp_long;
00093    typedef refcnt_ptr<epp_long> epp_long_ref;
00094    
00095    typedef bool epp_boolean;
00096    typedef refcnt_ptr<epp_boolean> epp_boolean_ref;
00097    
00098    typedef void* epp_any;
00099    typedef refcnt_ptr<epp_any> epp_any_ref;
00100    
00101    typedef string epp_date;
00102    typedef refcnt_ptr<epp_date> epp_date_ref;
00103    
00104    typedef string epp_datetime;
00105    typedef refcnt_ptr<epp_datetime> epp_datetime_ref;
00106    
00107    typedef epp_string epp_trid;
00108    typedef refcnt_ptr<epp_trid> epp_trid_ref;
00109    
00110    typedef epp_string epp_roid;
00111    typedef refcnt_ptr<epp_roid> epp_roid_ref;
00112    
00113    typedef vector<epp_roid> epp_roid_seq;
00114    typedef refcnt_ptr<epp_roid_seq> epp_roid_seq_ref;
00115    
00116    class epp_Result; // Forward declaration...
00117    typedef vector<epp_Result> epp_result_seq;
00118    typedef refcnt_ptr<epp_result_seq> epp_result_seq_ref;
00119 
00120    
00121    class epp_Service; // Forward declaration...
00122    typedef vector<epp_Service> epp_service_seq;
00123    typedef refcnt_ptr<epp_service_seq> epp_service_seq_ref;
00124 
00125    
00126    class epp_CheckResult; // Forward declaration...
00127    typedef vector<epp_CheckResult> epp_check_result_seq;
00128    typedef refcnt_ptr<epp_check_result_seq> epp_check_result_seq_ref;
00129 
00130    
00131 }}
00132 
00133 #endif

Generated on Fri Mar 22 15:48:43 2002 for epprtk c++ by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001