Genivia Home Documentation
addressStub.h Source File

updated Tue Jul 11 2017 by Robert van Engelen
 
addressStub.h
Go to the documentation of this file.
1 /* addressStub.h
2  Generated by gSOAP 2.8.49 for ./address.h
3 
4 gSOAP XML Web services tools
5 Copyright (C) 2000-2017, Robert van Engelen, Genivia Inc. All Rights Reserved.
6 The soapcpp2 tool and its generated software are released under the GPL.
7 This program is released under the GPL with the additional exemption that
8 compiling, linking, and/or using OpenSSL is allowed.
9 --------------------------------------------------------------------------------
10 A commercial use license is available from Genivia Inc., contact@genivia.com
11 --------------------------------------------------------------------------------
12 */
13 
14 #include <deque>
15 #include <list>
16 #include <vector>
17 #include <set>
18 #define SOAP_NAMESPACE_OF_a "urn:address-book-example"
19 
20 #ifndef addressStub_H
21 #define addressStub_H
22 #include "stdsoap2.h"
23 #if GSOAP_VERSION != 20849
24 # error "GSOAP VERSION 20849 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
25 #endif
26 
27 
28 /******************************************************************************\
29  * *
30  * Enumeration Types *
31  * *
32 \******************************************************************************/
33 
34 
35 /* ./address.h:170 */
36 #ifndef SOAP_TYPE_a__ISO_country
37 #define SOAP_TYPE_a__ISO_country (13)
38 /* a:ISO-country */
51 };
52 #endif
53 
54 /******************************************************************************\
55  * *
56  * Types with Custom Serializers *
57  * *
58 \******************************************************************************/
59 
60 
61 /******************************************************************************\
62  * *
63  * Classes, Structs and Unions *
64  * *
65 \******************************************************************************/
66 
67 class a__address; /* ./address.h:150 */
68 class _a__address_book; /* ./address.h:153 */
69 
70 /* ./address.h:150 */
71 #ifndef SOAP_TYPE_a__address
72 #define SOAP_TYPE_a__address (11)
73 /* complex XSD type 'a:address': */
74 class SOAP_CMAC a__address {
75  public:
77  std::string name;
79  std::string street;
81  std::string city;
83  std::string zip;
85  enum a__ISO_country country;
86  std::string *phone;
89  std::string *mobile;
91  time_t *dob;
93  int ID;
95  struct soap *soap;
96  public:
98  virtual int soap_type(void) const { return SOAP_TYPE_a__address; }
100  virtual void soap_default(struct soap*);
102  virtual void soap_serialize(struct soap*) const;
104  virtual int soap_put(struct soap*, const char *tag, const char *type) const;
106  virtual int soap_out(struct soap*, const char *tag, int id, const char *type) const;
108  virtual void *soap_get(struct soap*, const char *tag, const char *type);
110  virtual void *soap_in(struct soap*, const char *tag, const char *type);
112  virtual a__address *soap_alloc(void) const { return SOAP_NEW(a__address); }
113  public:
115  a__address() : name(), street(), city(), zip(), country((enum a__ISO_country)10), phone(), mobile(), dob(), ID(), soap()
116  { }
117  virtual ~a__address() { }
119  friend SOAP_FMAC1 a__address * SOAP_FMAC2 address_instantiate_a__address(struct soap*, int, const char*, const char*, size_t*);
120 };
121 #endif
122 
123 /* ./address.h:153 */
124 #ifndef SOAP_TYPE__a__address_book
125 #define SOAP_TYPE__a__address_book (12)
126 /* complex XSD type 'a:address-book': */
127 class SOAP_CMAC _a__address_book {
128  public:
132  struct soap *soap;
133  public:
135  virtual int soap_type(void) const { return SOAP_TYPE__a__address_book; }
137  virtual void soap_default(struct soap*);
139  virtual void soap_serialize(struct soap*) const;
141  virtual int soap_put(struct soap*, const char *tag, const char *type) const;
143  virtual int soap_out(struct soap*, const char *tag, int id, const char *type) const;
145  virtual void *soap_get(struct soap*, const char *tag, const char *type);
147  virtual void *soap_in(struct soap*, const char *tag, const char *type);
149  virtual _a__address_book *soap_alloc(void) const { return SOAP_NEW(_a__address_book); }
150  public:
152  _a__address_book() : address(), soap()
153  { }
154  virtual ~_a__address_book() { }
156  friend SOAP_FMAC1 _a__address_book * SOAP_FMAC2 address_instantiate__a__address_book(struct soap*, int, const char*, const char*, size_t*);
157 };
158 #endif
159 
160 /* ./address.h:336 */
161 #ifndef WITH_NOGLOBAL
162 #ifndef SOAP_TYPE_SOAP_ENV__Header
163 #define SOAP_TYPE_SOAP_ENV__Header (21)
164 /* SOAP_ENV__Header: */
165 struct SOAP_CMAC SOAP_ENV__Header {
166  public:
168  int soap_type() const { return SOAP_TYPE_SOAP_ENV__Header; }
171  { }
173  friend SOAP_FMAC1 SOAP_ENV__Header * SOAP_FMAC2 address_instantiate_SOAP_ENV__Header(struct soap*, int, const char*, const char*, size_t*);
174 };
175 #endif
176 #endif
177 
178 /* ./address.h:336 */
179 #ifndef WITH_NOGLOBAL
180 #ifndef SOAP_TYPE_SOAP_ENV__Code
181 #define SOAP_TYPE_SOAP_ENV__Code (22)
182 /* Type SOAP_ENV__Code is a recursive data type, (in)directly referencing itself through its (base or derived class) members */
183 /* SOAP_ENV__Code: */
184 struct SOAP_CMAC SOAP_ENV__Code {
185  public:
190  public:
192  int soap_type() const { return SOAP_TYPE_SOAP_ENV__Code; }
194  SOAP_ENV__Code() : SOAP_ENV__Value(), SOAP_ENV__Subcode()
195  { }
197  friend SOAP_FMAC1 SOAP_ENV__Code * SOAP_FMAC2 address_instantiate_SOAP_ENV__Code(struct soap*, int, const char*, const char*, size_t*);
198 };
199 #endif
200 #endif
201 
202 /* ./address.h:336 */
203 #ifndef WITH_NOGLOBAL
204 #ifndef SOAP_TYPE_SOAP_ENV__Detail
205 #define SOAP_TYPE_SOAP_ENV__Detail (24)
206 /* SOAP_ENV__Detail: */
207 struct SOAP_CMAC SOAP_ENV__Detail {
208  public:
209  char *__any;
212  int __type;
213  void *fault;
214  public:
216  int soap_type() const { return SOAP_TYPE_SOAP_ENV__Detail; }
218  SOAP_ENV__Detail() : __any(), __type(), fault()
219  { }
221  friend SOAP_FMAC1 SOAP_ENV__Detail * SOAP_FMAC2 address_instantiate_SOAP_ENV__Detail(struct soap*, int, const char*, const char*, size_t*);
222 };
223 #endif
224 #endif
225 
226 /* ./address.h:336 */
227 #ifndef WITH_NOGLOBAL
228 #ifndef SOAP_TYPE_SOAP_ENV__Reason
229 #define SOAP_TYPE_SOAP_ENV__Reason (27)
230 /* SOAP_ENV__Reason: */
231 struct SOAP_CMAC SOAP_ENV__Reason {
232  public:
235  public:
237  int soap_type() const { return SOAP_TYPE_SOAP_ENV__Reason; }
239  SOAP_ENV__Reason() : SOAP_ENV__Text()
240  { }
242  friend SOAP_FMAC1 SOAP_ENV__Reason * SOAP_FMAC2 address_instantiate_SOAP_ENV__Reason(struct soap*, int, const char*, const char*, size_t*);
243 };
244 #endif
245 #endif
246 
247 /* ./address.h:336 */
248 #ifndef WITH_NOGLOBAL
249 #ifndef SOAP_TYPE_SOAP_ENV__Fault
250 #define SOAP_TYPE_SOAP_ENV__Fault (28)
251 /* SOAP_ENV__Fault: */
252 struct SOAP_CMAC SOAP_ENV__Fault {
253  public:
255  char *faultcode;
257  char *faultstring;
259  char *faultactor;
272  public:
274  int soap_type() const { return SOAP_TYPE_SOAP_ENV__Fault; }
276  SOAP_ENV__Fault() : faultcode(), faultstring(), faultactor(), detail(), SOAP_ENV__Code(), SOAP_ENV__Reason(), SOAP_ENV__Node(), SOAP_ENV__Role(), SOAP_ENV__Detail()
277  { }
279  friend SOAP_FMAC1 SOAP_ENV__Fault * SOAP_FMAC2 address_instantiate_SOAP_ENV__Fault(struct soap*, int, const char*, const char*, size_t*);
280 };
281 #endif
282 #endif
283 
284 /******************************************************************************\
285  * *
286  * Typedefs *
287  * *
288 \******************************************************************************/
289 
290 
291 /* ./address.h:101 */
292 #ifndef SOAP_TYPE__XML
293 #define SOAP_TYPE__XML (5)
294 typedef char *_XML;
295 #endif
296 
297 /* ./address.h:101 */
298 #ifndef SOAP_TYPE__QName
299 #define SOAP_TYPE__QName (6)
300 typedef char *_QName;
301 #endif
302 
303 /******************************************************************************\
304  * *
305  * Serializable Types *
306  * *
307 \******************************************************************************/
308 
309 
310 /* char has binding name 'byte' for type 'xsd:byte' */
311 #ifndef SOAP_TYPE_byte
312 #define SOAP_TYPE_byte (3)
313 #endif
314 
315 /* int has binding name 'int' for type 'xsd:int' */
316 #ifndef SOAP_TYPE_int
317 #define SOAP_TYPE_int (1)
318 #endif
319 
320 /* time_t has binding name 'dateTime' for type 'xsd:dateTime' */
321 #ifndef SOAP_TYPE_dateTime
322 #define SOAP_TYPE_dateTime (16)
323 #endif
324 
325 /* enum a__ISO_country has binding name 'a__ISO_country' for type 'a:ISO-country' */
326 #ifndef SOAP_TYPE_a__ISO_country
327 #define SOAP_TYPE_a__ISO_country (13)
328 #endif
329 
330 /* std::string has binding name 'std__string' for type 'xsd:string' */
331 #ifndef SOAP_TYPE_std__string
332 #define SOAP_TYPE_std__string (14)
333 #endif
334 
335 /* _a__address_book has binding name '_a__address_book' for type '' */
336 #ifndef SOAP_TYPE__a__address_book
337 #define SOAP_TYPE__a__address_book (12)
338 #endif
339 
340 /* a__address has binding name 'a__address' for type 'a:address' */
341 #ifndef SOAP_TYPE_a__address
342 #define SOAP_TYPE_a__address (11)
343 #endif
344 
345 /* struct SOAP_ENV__Fault has binding name 'SOAP_ENV__Fault' for type '' */
346 #ifndef SOAP_TYPE_SOAP_ENV__Fault
347 #define SOAP_TYPE_SOAP_ENV__Fault (28)
348 #endif
349 
350 /* struct SOAP_ENV__Reason has binding name 'SOAP_ENV__Reason' for type '' */
351 #ifndef SOAP_TYPE_SOAP_ENV__Reason
352 #define SOAP_TYPE_SOAP_ENV__Reason (27)
353 #endif
354 
355 /* struct SOAP_ENV__Detail has binding name 'SOAP_ENV__Detail' for type '' */
356 #ifndef SOAP_TYPE_SOAP_ENV__Detail
357 #define SOAP_TYPE_SOAP_ENV__Detail (24)
358 #endif
359 
360 /* struct SOAP_ENV__Code has binding name 'SOAP_ENV__Code' for type '' */
361 #ifndef SOAP_TYPE_SOAP_ENV__Code
362 #define SOAP_TYPE_SOAP_ENV__Code (22)
363 #endif
364 
365 /* struct SOAP_ENV__Header has binding name 'SOAP_ENV__Header' for type '' */
366 #ifndef SOAP_TYPE_SOAP_ENV__Header
367 #define SOAP_TYPE_SOAP_ENV__Header (21)
368 #endif
369 
370 /* struct SOAP_ENV__Reason * has binding name 'PointerToSOAP_ENV__Reason' for type '' */
371 #ifndef SOAP_TYPE_PointerToSOAP_ENV__Reason
372 #define SOAP_TYPE_PointerToSOAP_ENV__Reason (30)
373 #endif
374 
375 /* struct SOAP_ENV__Detail * has binding name 'PointerToSOAP_ENV__Detail' for type '' */
376 #ifndef SOAP_TYPE_PointerToSOAP_ENV__Detail
377 #define SOAP_TYPE_PointerToSOAP_ENV__Detail (29)
378 #endif
379 
380 /* struct SOAP_ENV__Code * has binding name 'PointerToSOAP_ENV__Code' for type '' */
381 #ifndef SOAP_TYPE_PointerToSOAP_ENV__Code
382 #define SOAP_TYPE_PointerToSOAP_ENV__Code (23)
383 #endif
384 
385 /* a__address * has binding name 'PointerToa__address' for type 'a:address' */
386 #ifndef SOAP_TYPE_PointerToa__address
387 #define SOAP_TYPE_PointerToa__address (19)
388 #endif
389 
390 /* time_t * has binding name 'PointerTodateTime' for type 'xsd:dateTime' */
391 #ifndef SOAP_TYPE_PointerTodateTime
392 #define SOAP_TYPE_PointerTodateTime (17)
393 #endif
394 
395 /* std::string * has binding name 'PointerTostd__string' for type 'xsd:string' */
396 #ifndef SOAP_TYPE_PointerTostd__string
397 #define SOAP_TYPE_PointerTostd__string (15)
398 #endif
399 
400 /* _QName has binding name '_QName' for type 'xsd:QName' */
401 #ifndef SOAP_TYPE__QName
402 #define SOAP_TYPE__QName (6)
403 #endif
404 
405 /* _XML has binding name '_XML' for type '' */
406 #ifndef SOAP_TYPE__XML
407 #define SOAP_TYPE__XML (5)
408 #endif
409 
410 /* char * has binding name 'string' for type 'xsd:string' */
411 #ifndef SOAP_TYPE_string
412 #define SOAP_TYPE_string (4)
413 #endif
414 
415 /* std::vector<a__address *> has binding name 'std__vectorTemplateOfPointerToa__address' for type 'a:address' */
416 #ifndef SOAP_TYPE_std__vectorTemplateOfPointerToa__address
417 #define SOAP_TYPE_std__vectorTemplateOfPointerToa__address (20)
418 #endif
419 
420 /******************************************************************************\
421  * *
422  * Externals *
423  * *
424 \******************************************************************************/
425 
426 
427 #endif
428 
429 /* End of addressStub.h */
a__ISO_country
"urn:address-book-example":ISO-country is a simpleType restriction of XSD type xs:string.
Definition: address.h:169
SOAP_FMAC1 struct SOAP_ENV__Fault *SOAP_FMAC2 address_instantiate_SOAP_ENV__Fault(struct soap *, int, const char *, const char *, size_t *)
char * faultstring
Definition: addressStub.h:257
#define SOAP_TYPE_SOAP_ENV__Fault
Definition: addressStub.h:250
int soap_type() const
Definition: addressStub.h:274
struct SOAP_ENV__Detail * SOAP_ENV__Detail
Definition: addressStub.h:271
struct SOAP_ENV__Code * SOAP_ENV__Code
Definition: addressStub.h:263
virtual int soap_type(void) const
Return unique type id SOAP_TYPE_a__address.
Definition: addressStub.h:98
SOAP_FMAC1 struct SOAP_ENV__Detail *SOAP_FMAC2 address_instantiate_SOAP_ENV__Detail(struct soap *, int, const char *, const char *, size_t *)
char * _XML
Definition: addressStub.h:294
int soap_type() const
Definition: addressStub.h:216
virtual int soap_type(void) const
Return unique type id SOAP_TYPE__a__address_book.
Definition: addressStub.h:135
#define SOAP_TYPE_SOAP_ENV__Code
Definition: addressStub.h:181
SOAP_FMAC1 struct SOAP_ENV__Header *SOAP_FMAC2 address_instantiate_SOAP_ENV__Header(struct soap *, int, const char *, const char *, size_t *)
virtual _a__address_book * soap_alloc(void) const
Return a new object of type _a__address_book, default initialized and not managed by a soap context...
Definition: addressStub.h:149
int soap_type() const
Definition: addressStub.h:192
#define SOAP_TYPE_a__address
Definition: addressStub.h:72
_a__address_book()
Constructor with initializations.
Definition: addressStub.h:152
int soap_type() const
Definition: addressStub.h:168
int soap_type() const
Definition: addressStub.h:237
#define SOAP_TYPE_SOAP_ENV__Reason
Definition: addressStub.h:229
char * SOAP_ENV__Node
Definition: addressStub.h:267
std::vector< a__address * > address
Optional element &#39;address&#39; of XSD type &#39;a:address&#39;.
Definition: addressStub.h:130
struct SOAP_ENV__Reason * SOAP_ENV__Reason
Definition: addressStub.h:265
"urn:address-book-example":address is a complexType.
Definition: address.h:207
struct SOAP_ENV__Code * SOAP_ENV__Subcode
Definition: addressStub.h:189
virtual a__address * soap_alloc(void) const
Return a new object of type a__address, default initialized and not managed by a soap context...
Definition: addressStub.h:112
char * _QName
Definition: addressStub.h:300
#define SOAP_TYPE__a__address_book
Definition: addressStub.h:125
char * SOAP_ENV__Value
Definition: addressStub.h:187
#define SOAP_TYPE_SOAP_ENV__Header
Definition: addressStub.h:163
SOAP_FMAC1 struct SOAP_ENV__Reason *SOAP_FMAC2 address_instantiate_SOAP_ENV__Reason(struct soap *, int, const char *, const char *, size_t *)
char * SOAP_ENV__Text
Definition: addressStub.h:234
SOAP_FMAC1 struct SOAP_ENV__Code *SOAP_FMAC2 address_instantiate_SOAP_ENV__Code(struct soap *, int, const char *, const char *, size_t *)
Top-level root element "urn:address-book-example":address-book.
Definition: address.h:247
struct SOAP_ENV__Detail * detail
Definition: addressStub.h:261
a__address()
Constructor with initializations.
Definition: addressStub.h:115
SOAP_FMAC1 _a__address_book *SOAP_FMAC2 address_instantiate__a__address_book(struct soap *, int, const char *, const char *, size_t *)
char * SOAP_ENV__Role
Definition: addressStub.h:269
#define SOAP_TYPE_SOAP_ENV__Detail
Definition: addressStub.h:205
virtual ~a__address()
Definition: addressStub.h:117
SOAP_FMAC1 a__address *SOAP_FMAC2 address_instantiate_a__address(struct soap *, int, const char *, const char *, size_t *)
virtual ~_a__address_book()
Definition: addressStub.h:154