Addressbook 1.0
/Users/engelen/Projects/gsoap/samples/databinding/address.h
Go to the documentation of this file.
00001 /* address.h
00002    Generated by wsdl2h 2.8.10 from address.xsd and addresstypemap.dat
00003    2012-10-12 14:31:43 GMT
00004 
00005    DO NOT INCLUDE THIS FILE DIRECTLY INTO YOUR PROJECT BUILDS
00006    USE THE soapcpp2-GENERATED SOURCE CODE FILES FOR YOUR PROJECT BUILDS
00007 
00008    gSOAP XML Web services tools.
00009    Copyright (C) 2001-2012 Robert van Engelen, Genivia Inc. All Rights Reserved.
00010    Part of this software is released under one of the following licenses:
00011    GPL or Genivia's license for commercial use.
00012 */
00013 
00078 //gsoapopt w
00079 
00080 /******************************************************************************\
00081  *                                                                            *
00082  * Definitions                                                                *
00083  *   urn:address-book-example                                                 *
00084  *                                                                            *
00085 \******************************************************************************/
00086 
00087 
00088 /******************************************************************************\
00089  *                                                                            *
00090  * Import                                                                     *
00091  *                                                                            *
00092 \******************************************************************************/
00093 
00094 
00095 // STL vector containers (use option -s to remove STL dependency)
00096 #import "stlvector.h"
00097 
00098 /******************************************************************************\
00099  *                                                                            *
00100  * Schema Namespaces                                                          *
00101  *                                                                            *
00102 \******************************************************************************/
00103 
00104 
00105 /* NOTE:
00106 
00107 It is strongly recommended to customize the names of the namespace prefixes
00108 generated by wsdl2h. To do so, modify the prefix bindings below and add the
00109 modified lines to typemap.dat to rerun wsdl2h:
00110 
00111 a = "urn:address-book-example"
00112 
00113 */
00114 
00116 #define SOAP_NAMESPACE_OF_a     "urn:address-book-example"
00117 //gsoap a     schema namespace: urn:address-book-example
00118 //gsoap a     schema form:      unqualified
00119 
00120 /******************************************************************************\
00121  *                                                                            *
00122  * Built-in Schema Types and Top-Level Elements and Attributes                *
00123  *                                                                            *
00124 \******************************************************************************/
00125 
00126 
00127 /******************************************************************************\
00128  *                                                                            *
00129  * Forward Declarations                                                       *
00130  *                                                                            *
00131 \******************************************************************************/
00132 
00133 
00134 
00135 //  Forward declaration of class a__address.
00136 class a__address;
00137 
00138 //  Forward declaration of class _a__address_book.
00139 class _a__address_book;
00140 
00141 /******************************************************************************\
00142  *                                                                            *
00143  * Schema Types and Top-Level Elements and Attributes                         *
00144  *   urn:address-book-example                                                 *
00145  *                                                                            *
00146 \******************************************************************************/
00147 
00148 
00152 enum a__ISO_country
00153 {
00154         a__ISO_country__be,     
00155         a__ISO_country__ca,     
00156         a__ISO_country__de,     
00157         a__ISO_country__en,     
00158         a__ISO_country__gb,     
00159         a__ISO_country__it,     
00160         a__ISO_country__nl,     
00161         a__ISO_country__no,     
00162         a__ISO_country__ru,     
00163         a__ISO_country__se,     
00164         a__ISO_country__us,     
00165 };
00166 
00167 /******************************************************************************\
00168  *                                                                            *
00169  * Schema Complex Types and Top-Level Elements                                *
00170  *   urn:address-book-example                                                 *
00171  *                                                                            *
00172 \******************************************************************************/
00173 
00174 
00177 class a__address
00178 { public:
00180     std::string                          name                           1;      
00181 
00182     std::string                          street                         1;      
00183 
00184     std::string                          city                           1;      
00185 
00186     std::string                          zip                            1;      
00187 
00188     enum a__ISO_country                  country                        0 = a__ISO_country__us; 
00189 
00190     std::string*                         phone                          0;      
00191 
00192     std::string*                         mobile                         0;      
00193 
00194     time_t*                              dob                            0;      
00195 
00196    @int                                  ID                             1;      
00197 
00198     struct soap                         *soap                          ;
00199 };
00200 
00201 
00204 
00206 class _a__address_book
00207 { public:
00209     std::vector<a__address*            > address                        0;
00211     struct soap                         *soap                          ;
00212 };
00213 
00214 /******************************************************************************\
00215  *                                                                            *
00216  * Additional Top-Level Elements                                              *
00217  *   urn:address-book-example                                                 *
00218  *                                                                            *
00219 \******************************************************************************/
00220 
00221 
00222 /******************************************************************************\
00223  *                                                                            *
00224  * Additional Top-Level Attributes                                            *
00225  *   urn:address-book-example                                                 *
00226  *                                                                            *
00227 \******************************************************************************/
00228 
00229 
00230 /******************************************************************************\
00231  *                                                                            *
00232  * XML Data Binding                                                           *
00233  *                                                                            *
00234 \******************************************************************************/
00235 
00236 
00278 /* End of address.h */