|  | Home | Documentation | address.h Source File updated Fri Jan 12 2018 by Robert van Engelen |

- Main Page
- Related Pages
- Classes
- Files

- File List
- File Members

address.h
Go to the documentation of this file.
1 /* address.h
2 Generated by wsdl2h 2.8.10 from address.xsd and addresstypemap.dat
3 2012-10-12 14:31:43 GMT
4
5 DO NOT INCLUDE THIS FILE DIRECTLY INTO YOUR PROJECT BUILDS
6 USE THE soapcpp2-GENERATED SOURCE CODE FILES FOR YOUR PROJECT BUILDS
7
8 gSOAP XML Web services tools.
9 Copyright (C) 2001-2012 Robert van Engelen, Genivia Inc. All Rights Reserved.
10 Part of this software is released under one of the following licenses:
11 GPL or Genivia's license for commercial use.
12 */
13
78 //gsoapopt w
79
80 /******************************************************************************\
81 * *
82 * Definitions *
83 * urn:address-book-example *
84 * *
85 \******************************************************************************/
86
87
88 /******************************************************************************\
89 * *
90 * Import *
91 * *
92 \******************************************************************************/
93
94
95 // STL vector containers (use option -s to remove STL dependency)
96 #import "stlvector.h"
97
98 /******************************************************************************\
99 * *
100 * Schema Namespaces *
101 * *
102 \******************************************************************************/
103
104
105 /* NOTE:
106
107 It is strongly recommended to customize the names of the namespace prefixes
108 generated by wsdl2h. To do so, modify the prefix bindings below and add the
109 modified lines to typemap.dat to rerun wsdl2h:
110
111 a = "urn:address-book-example"
112
113 */
114
116 #define SOAP_NAMESPACE_OF_a "urn:address-book-example"
117 //gsoap a schema namespace: urn:address-book-example
118 //gsoap a schema form: unqualified
119
120 /******************************************************************************\
121 * *
122 * Built-in Schema Types and Top-Level Elements and Attributes *
123 * *
124 \******************************************************************************/
125
126
127 /******************************************************************************\
128 * *
129 * Forward Declarations *
130 * *
131 \******************************************************************************/
132
133
134
135 // Forward declaration of class a__address.
136 class a__address;
137
138 // Forward declaration of class _a__address_book.
139 class _a__address_book;
140
141 /******************************************************************************\
142 * *
143 * Schema Types and Top-Level Elements and Attributes *
144 * urn:address-book-example *
145 * *
146 \******************************************************************************/
147
148
152 enum a__ISO_country
153 {
154 a__ISO_country__be,
155 a__ISO_country__ca,
156 a__ISO_country__de,
157 a__ISO_country__en,
158 a__ISO_country__gb,
159 a__ISO_country__it,
160 a__ISO_country__nl,
161 a__ISO_country__no,
162 a__ISO_country__ru,
163 a__ISO_country__se,
164 a__ISO_country__us,
165 };
166
167 /******************************************************************************\
168 * *
169 * Schema Complex Types and Top-Level Elements *
170 * urn:address-book-example *
171 * *
172 \******************************************************************************/
173
174
177 class a__address
178 { public:
180 std::string name 1;
181 std::string street 1;
183 std::string city 1;
185 std::string zip 1;
187 enum a__ISO_country country 0 = a__ISO_country__us;
189 std::string* phone 0;
191 std::string* mobile 0;
193 time_t* dob 0;
195 @int ID 1;
197 struct soap *soap ;
199 };
200
201
204
206 class _a__address_book
207 { public:
209 std::vector<a__address* > address 0;
211 struct soap *soap ;
212 };
213
214 /******************************************************************************\
215 * *
216 * Additional Top-Level Elements *
217 * urn:address-book-example *
218 * *
219 \******************************************************************************/
220
221
222 /******************************************************************************\
223 * *
224 * Additional Top-Level Attributes *
225 * urn:address-book-example *
226 * *
227 \******************************************************************************/
228
229
230 /******************************************************************************\
231 * *
232 * XML Data Binding *
233 * *
234 \******************************************************************************/
235
236
278 /* End of address.h */
a__ISO_country
a__ISO_country
ISO country codes (limited to just a few for this example) Note: enum values are prefixed with &#39;a__IS...
Definition: address.h:152
_a__address_book::soap
struct soap * soap
A handle to the soap struct that manages this instance (automatically set)
Definition: address.h:211
a__ISO_country__nl
xs:string value="nl"
Definition: address.h:160
a__address::country
enum a__ISO_country country
Element country of type "":ISO-country.
Definition: address.h:188
a__address::ID
int ID
Attribute ID of type xs:int.
Definition: address.h:196
a__ISO_country__se
xs:string value="se"
Definition: address.h:163
a__ISO_country__us
xs:string value="us"
Definition: address.h:164
a__address::street
std::string street
Element street of type xs:string.
Definition: address.h:182
a__ISO_country__no
xs:string value="no"
Definition: address.h:161
a__ISO_country__ru
xs:string value="ru"
Definition: address.h:162
a__ISO_country__en
xs:string value="en"
Definition: address.h:157
a__address::phone
std::string * phone
Element phone of type xs:string.
Definition: address.h:190
a__address
An address information item.
Definition: address.h:177
a__ISO_country__gb
xs:string value="gb"
Definition: address.h:158
a__address::name
std::string name
Element name of type xs:string.
Definition: address.h:180
a__address::city
std::string city
Element city of type xs:string.
Definition: address.h:184
a__ISO_country__be
xs:string value="be"
Definition: address.h:154
a__address::mobile
std::string * mobile
Element mobile of type xs:string.
Definition: address.h:192
_a__address_book
The root element of the address book schema.
Definition: address.h:206
a__ISO_country__ca
xs:string value="ca"
Definition: address.h:155
a__address::soap
struct soap * soap
A handle to the soap struct that manages this instance (automatically set)
Definition: address.h:198
a__ISO_country__it
xs:string value="it"
Definition: address.h:159
a__ISO_country__de
xs:string value="de"
Definition: address.h:156
a__address::dob
time_t * dob
Element dob of type xs:dateTime.
Definition: address.h:194
a__address::zip
std::string zip
Element zip of type xs:string.
Definition: address.h:186