Genivia Home Documentation
addressStub.h Source File

updated Tue Apr 19 2016
 
addressStub.h
Go to the documentation of this file.
1 /* addressStub.h
2  Generated by gSOAP 2.8.30 for ./address.h
3 
4 gSOAP XML Web services tools
5 Copyright (C) 2000-2016, 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 != 20830
24 # error "GSOAP VERSION 20830 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:
116  {
117  country = (enum a__ISO_country)10;
118  phone = (std::string *)0;
119  mobile = (std::string *)0;
120  dob = (time_t *)0;
121  ID = (int)0;
122  soap = (struct soap *)0;
123  }
124  virtual ~a__address() { }
126  friend SOAP_FMAC1 a__address * SOAP_FMAC2 address_instantiate_a__address(struct soap*, int, const char*, const char*, size_t*);
127 };
128 #endif
129 
130 /* ./address.h:153 */
131 #ifndef SOAP_TYPE__a__address_book
132 #define SOAP_TYPE__a__address_book (12)
133 /* complex XSD type 'a:address-book': */
134 class SOAP_CMAC _a__address_book {
135  public:
139  struct soap *soap;
140  public:
142  virtual int soap_type(void) const { return SOAP_TYPE__a__address_book; }
144  virtual void soap_default(struct soap*);
146  virtual void soap_serialize(struct soap*) const;
148  virtual int soap_put(struct soap*, const char *tag, const char *type) const;
150  virtual int soap_out(struct soap*, const char *tag, int id, const char *type) const;
152  virtual void *soap_get(struct soap*, const char *tag, const char *type);
154  virtual void *soap_in(struct soap*, const char *tag, const char *type);
156  virtual _a__address_book *soap_alloc(void) const { return SOAP_NEW(_a__address_book); }
157  public:
160  {
161  soap = (struct soap *)0;
162  }
163  virtual ~_a__address_book() { }
165  friend SOAP_FMAC1 _a__address_book * SOAP_FMAC2 address_instantiate__a__address_book(struct soap*, int, const char*, const char*, size_t*);
166 };
167 #endif
168 
169 /* ./address.h:329 */
170 #ifndef WITH_NOGLOBAL
171 #ifndef SOAP_TYPE_SOAP_ENV__Header
172 #define SOAP_TYPE_SOAP_ENV__Header (21)
173 /* SOAP_ENV__Header: */
175  public:
177  int soap_type() const { return SOAP_TYPE_SOAP_ENV__Header; }
180  {
181  }
183  friend SOAP_FMAC1 SOAP_ENV__Header * SOAP_FMAC2 address_instantiate_SOAP_ENV__Header(struct soap*, int, const char*, const char*, size_t*);
184 };
185 #endif
186 #endif
187 
188 /* ./address.h:329 */
189 #ifndef WITH_NOGLOBAL
190 #ifndef SOAP_TYPE_SOAP_ENV__Code
191 #define SOAP_TYPE_SOAP_ENV__Code (22)
192 /* Type SOAP_ENV__Code is a recursive data type, (in)directly referencing itself through its (base or derived class) members */
193 /* SOAP_ENV__Code: */
195  public:
200  public:
202  int soap_type() const { return SOAP_TYPE_SOAP_ENV__Code; }
205  {
206  SOAP_ENV__Value = (char *)0;
207  SOAP_ENV__Subcode = (struct SOAP_ENV__Code *)0;
208  }
210  friend SOAP_FMAC1 SOAP_ENV__Code * SOAP_FMAC2 address_instantiate_SOAP_ENV__Code(struct soap*, int, const char*, const char*, size_t*);
211 };
212 #endif
213 #endif
214 
215 /* ./address.h:329 */
216 #ifndef WITH_NOGLOBAL
217 #ifndef SOAP_TYPE_SOAP_ENV__Detail
218 #define SOAP_TYPE_SOAP_ENV__Detail (24)
219 /* SOAP_ENV__Detail: */
221  public:
222  char *__any;
225  int __type;
226  void *fault;
227  public:
229  int soap_type() const { return SOAP_TYPE_SOAP_ENV__Detail; }
232  {
233  __any = (char *)0;
234  __type = 0;
235  fault = NULL;
236  }
238  friend SOAP_FMAC1 SOAP_ENV__Detail * SOAP_FMAC2 address_instantiate_SOAP_ENV__Detail(struct soap*, int, const char*, const char*, size_t*);
239 };
240 #endif
241 #endif
242 
243 /* ./address.h:329 */
244 #ifndef WITH_NOGLOBAL
245 #ifndef SOAP_TYPE_SOAP_ENV__Reason
246 #define SOAP_TYPE_SOAP_ENV__Reason (27)
247 /* SOAP_ENV__Reason: */
249  public:
252  public:
254  int soap_type() const { return SOAP_TYPE_SOAP_ENV__Reason; }
257  {
258  SOAP_ENV__Text = (char *)0;
259  }
261  friend SOAP_FMAC1 SOAP_ENV__Reason * SOAP_FMAC2 address_instantiate_SOAP_ENV__Reason(struct soap*, int, const char*, const char*, size_t*);
262 };
263 #endif
264 #endif
265 
266 /* ./address.h:329 */
267 #ifndef WITH_NOGLOBAL
268 #ifndef SOAP_TYPE_SOAP_ENV__Fault
269 #define SOAP_TYPE_SOAP_ENV__Fault (28)
270 /* SOAP_ENV__Fault: */
272  public:
274  char *faultcode;
276  char *faultstring;
278  char *faultactor;
291  public:
293  int soap_type() const { return SOAP_TYPE_SOAP_ENV__Fault; }
296  {
297  faultcode = (char *)0;
298  faultstring = (char *)0;
299  faultactor = (char *)0;
300  detail = (struct SOAP_ENV__Detail *)0;
301  SOAP_ENV__Code = (struct SOAP_ENV__Code *)0;
302  SOAP_ENV__Reason = (struct SOAP_ENV__Reason *)0;
303  SOAP_ENV__Node = (char *)0;
304  SOAP_ENV__Role = (char *)0;
305  SOAP_ENV__Detail = (struct SOAP_ENV__Detail *)0;
306  }
308  friend SOAP_FMAC1 SOAP_ENV__Fault * SOAP_FMAC2 address_instantiate_SOAP_ENV__Fault(struct soap*, int, const char*, const char*, size_t*);
309 };
310 #endif
311 #endif
312 
313 /******************************************************************************\
314  * *
315  * Typedefs *
316  * *
317 \******************************************************************************/
318 
319 
320 /* ./address.h:101 */
321 #ifndef SOAP_TYPE__QName
322 #define SOAP_TYPE__QName (5)
323 typedef char *_QName;
324 #endif
325 
326 /* ./address.h:101 */
327 #ifndef SOAP_TYPE__XML
328 #define SOAP_TYPE__XML (6)
329 typedef char *_XML;
330 #endif
331 
332 /******************************************************************************\
333  * *
334  * Serializable Types *
335  * *
336 \******************************************************************************/
337 
338 
339 /* char has binding name 'byte' for type 'xsd:byte' */
340 #ifndef SOAP_TYPE_byte
341 #define SOAP_TYPE_byte (3)
342 #endif
343 
344 /* int has binding name 'int' for type 'xsd:int' */
345 #ifndef SOAP_TYPE_int
346 #define SOAP_TYPE_int (1)
347 #endif
348 
349 /* time_t has binding name 'dateTime' for type 'xsd:dateTime' */
350 #ifndef SOAP_TYPE_dateTime
351 #define SOAP_TYPE_dateTime (16)
352 #endif
353 
354 /* enum a__ISO_country has binding name 'a__ISO_country' for type 'a:ISO-country' */
355 #ifndef SOAP_TYPE_a__ISO_country
356 #define SOAP_TYPE_a__ISO_country (13)
357 #endif
358 
359 /* std::string has binding name 'std__string' for type 'xsd:string' */
360 #ifndef SOAP_TYPE_std__string
361 #define SOAP_TYPE_std__string (14)
362 #endif
363 
364 /* _a__address_book has binding name '_a__address_book' for type '' */
365 #ifndef SOAP_TYPE__a__address_book
366 #define SOAP_TYPE__a__address_book (12)
367 #endif
368 
369 /* a__address has binding name 'a__address' for type 'a:address' */
370 #ifndef SOAP_TYPE_a__address
371 #define SOAP_TYPE_a__address (11)
372 #endif
373 
374 /* struct SOAP_ENV__Fault has binding name 'SOAP_ENV__Fault' for type '' */
375 #ifndef SOAP_TYPE_SOAP_ENV__Fault
376 #define SOAP_TYPE_SOAP_ENV__Fault (28)
377 #endif
378 
379 /* struct SOAP_ENV__Reason has binding name 'SOAP_ENV__Reason' for type '' */
380 #ifndef SOAP_TYPE_SOAP_ENV__Reason
381 #define SOAP_TYPE_SOAP_ENV__Reason (27)
382 #endif
383 
384 /* struct SOAP_ENV__Detail has binding name 'SOAP_ENV__Detail' for type '' */
385 #ifndef SOAP_TYPE_SOAP_ENV__Detail
386 #define SOAP_TYPE_SOAP_ENV__Detail (24)
387 #endif
388 
389 /* struct SOAP_ENV__Code has binding name 'SOAP_ENV__Code' for type '' */
390 #ifndef SOAP_TYPE_SOAP_ENV__Code
391 #define SOAP_TYPE_SOAP_ENV__Code (22)
392 #endif
393 
394 /* struct SOAP_ENV__Header has binding name 'SOAP_ENV__Header' for type '' */
395 #ifndef SOAP_TYPE_SOAP_ENV__Header
396 #define SOAP_TYPE_SOAP_ENV__Header (21)
397 #endif
398 
399 /* struct SOAP_ENV__Reason * has binding name 'PointerToSOAP_ENV__Reason' for type '' */
400 #ifndef SOAP_TYPE_PointerToSOAP_ENV__Reason
401 #define SOAP_TYPE_PointerToSOAP_ENV__Reason (30)
402 #endif
403 
404 /* struct SOAP_ENV__Detail * has binding name 'PointerToSOAP_ENV__Detail' for type '' */
405 #ifndef SOAP_TYPE_PointerToSOAP_ENV__Detail
406 #define SOAP_TYPE_PointerToSOAP_ENV__Detail (29)
407 #endif
408 
409 /* struct SOAP_ENV__Code * has binding name 'PointerToSOAP_ENV__Code' for type '' */
410 #ifndef SOAP_TYPE_PointerToSOAP_ENV__Code
411 #define SOAP_TYPE_PointerToSOAP_ENV__Code (23)
412 #endif
413 
414 /* a__address * has binding name 'PointerToa__address' for type 'a:address' */
415 #ifndef SOAP_TYPE_PointerToa__address
416 #define SOAP_TYPE_PointerToa__address (19)
417 #endif
418 
419 /* time_t * has binding name 'PointerTodateTime' for type 'xsd:dateTime' */
420 #ifndef SOAP_TYPE_PointerTodateTime
421 #define SOAP_TYPE_PointerTodateTime (17)
422 #endif
423 
424 /* std::string * has binding name 'PointerTostd__string' for type 'xsd:string' */
425 #ifndef SOAP_TYPE_PointerTostd__string
426 #define SOAP_TYPE_PointerTostd__string (15)
427 #endif
428 
429 /* _XML has binding name '_XML' for type '' */
430 #ifndef SOAP_TYPE__XML
431 #define SOAP_TYPE__XML (6)
432 #endif
433 
434 /* _QName has binding name '_QName' for type 'xsd:QName' */
435 #ifndef SOAP_TYPE__QName
436 #define SOAP_TYPE__QName (5)
437 #endif
438 
439 /* char * has binding name 'string' for type 'xsd:string' */
440 #ifndef SOAP_TYPE_string
441 #define SOAP_TYPE_string (4)
442 #endif
443 
444 /* std::vector<a__address *> has binding name 'std__vectorTemplateOfPointerToa__address' for type 'a:address' */
445 #ifndef SOAP_TYPE_std__vectorTemplateOfPointerToa__address
446 #define SOAP_TYPE_std__vectorTemplateOfPointerToa__address (20)
447 #endif
448 
449 /******************************************************************************\
450  * *
451  * Externals *
452  * *
453 \******************************************************************************/
454 
455 
456 #endif
457 
458 /* End of addressStub.h */
int soap_type() const
Definition: addressStub.h:293
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:276
#define SOAP_TYPE_SOAP_ENV__Fault
Definition: addressStub.h:269
int soap_type() const
Definition: addressStub.h:177
struct SOAP_ENV__Detail * SOAP_ENV__Detail
Definition: addressStub.h:290
struct SOAP_ENV__Code * SOAP_ENV__Code
Definition: addressStub.h:282
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:329
int soap_type() const
Definition: addressStub.h:229
#define SOAP_TYPE_SOAP_ENV__Code
Definition: addressStub.h:191
SOAP_FMAC1 struct SOAP_ENV__Header *SOAP_FMAC2 address_instantiate_SOAP_ENV__Header(struct soap *, int, const char *, const char *, size_t *)
a__ISO_country
Definition: addressStub.h:39
#define SOAP_TYPE_a__address
Definition: addressStub.h:72
_a__address_book()
Constructor with initializations.
Definition: addressStub.h:159
#define SOAP_TYPE_SOAP_ENV__Reason
Definition: addressStub.h:246
char * SOAP_ENV__Node
Definition: addressStub.h:286
int soap_type() const
Definition: addressStub.h:202
struct SOAP_ENV__Reason * SOAP_ENV__Reason
Definition: addressStub.h:284
"urn:address-book-example":address is a complexType.
Definition: address.h:207
struct SOAP_ENV__Code * SOAP_ENV__Subcode
Definition: addressStub.h:199
virtual int soap_type(void) const
Return unique type id SOAP_TYPE__a__address_book.
Definition: addressStub.h:142
char * _QName
Definition: addressStub.h:323
#define SOAP_TYPE__a__address_book
Definition: addressStub.h:132
char * SOAP_ENV__Value
Definition: addressStub.h:197
#define SOAP_TYPE_SOAP_ENV__Header
Definition: addressStub.h:172
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
virtual int soap_type(void) const
Return unique type id SOAP_TYPE_a__address.
Definition: addressStub.h:98
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:251
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:280
a__address()
Constructor with initializations.
Definition: addressStub.h:115
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:156
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:288
#define SOAP_TYPE_SOAP_ENV__Detail
Definition: addressStub.h:218
int soap_type() const
Definition: addressStub.h:254
virtual ~a__address()
Definition: addressStub.h:124
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:163