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

epp_domaindata.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_DOMAINDATA_H
00029 #define __EPP_DOMAINDATA_H
00030 
00031 #include "epp_eppdata.h"
00032 #include <vector>
00033 
00034 
00035 namespace eppobject { namespace domain {
00036 
00037    // Enumerations:
00038    
00039    enum epp_DomainStatusType {
00040       CLIENT_DELETE_PROHIBITED,
00041       CLIENT_HOLD,
00042       CLIENT_RENEW_PROHIBITED,
00043       CLIENT_TRANSFER_PROHIBITED,
00044       CLIENT_UPDATE_PROHIBITED,
00045       INACTIVE,
00046       OK,
00047       PENDING_DELETE,
00048       PENDING_TRANSFER,
00049       PENDING_VERIFICATION,
00050       SERVER_DELETE_PROHIBITED,
00051       SERVER_HOLD,
00052       SERVER_RENEW_PROHIBITED,
00053       SERVER_TRANSFER_PROHIBITED,
00054       SERVER_UPDATE_PROHIBITED
00055    };
00056    typedef refcnt_ptr<epp_DomainStatusType> epp_DomainStatusType_ref;
00057    
00058    enum epp_DomainPeriodUnitType {
00059       YEAR,
00060       MONTH,
00061    };
00062    typedef refcnt_ptr<epp_DomainPeriodUnitType> epp_DomainPeriodUnitType_ref;
00063 
00064    enum epp_DomainContactType {
00065       ADMIN,
00066       BILLING,
00067       TECH,
00068    };
00069    typedef refcnt_ptr<epp_DomainContactType> epp_DomainContactType_ref;
00070    
00071    // Pure typedefs:
00072    
00073    class epp_DomainStatus; // Forward declaration...
00074    typedef vector<epp_DomainStatus> epp_domain_status_seq;
00075    typedef refcnt_ptr<epp_domain_status_seq> epp_domain_status_seq_ref;
00076    
00077    class epp_DomainContact; // Forward declaration...
00078    typedef vector<epp_DomainContact> epp_domain_contact_seq;
00079    typedef refcnt_ptr<epp_domain_contact_seq> epp_domain_contact_seq_ref;
00080 
00081 }}
00082 #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