Genivia - addressStub.h Source File

|  | Home | Documentation | addressStub.h Source File updated Mon Nov 12 2018 by Robert van Engelen |

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

addressStub.h
Go to the documentation of this file.
1 /* addressStub.h
2 Generated by gSOAP 2.8.62 for address.h
3
4 gSOAP XML Web services tools
5 Copyright (C) 2000-2018, 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 <vector>
15 #define SOAP_NAMESPACE_OF_a "urn:address-book-example"
16
17 #ifndef addressStub_H
18 #define addressStub_H
19 #include "stdsoap2.h"
20 #if GSOAP_VERSION != 20862
21 # error "GSOAP VERSION 20862 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
22 #endif
23
24
25 /******************************************************************************\
26 * *
27 * Enumeration Types *
28 * *
29 \******************************************************************************/
30
31
32 /* address.h:170 */
33 #ifndef SOAP_TYPE_a__ISO_country
34 #define SOAP_TYPE_a__ISO_country (10)
35 /* a:ISO-country */
36 enum a__ISO_country {
37 a__ISO_country__be = 0,
38 a__ISO_country__ca = 1,
39 a__ISO_country__de = 2,
40 a__ISO_country__en = 3,
41 a__ISO_country__gb = 4,
42 a__ISO_country__it = 5,
43 a__ISO_country__nl = 6,
44 a__ISO_country__no = 7,
45 a__ISO_country__ru = 8,
46 a__ISO_country__se = 9,
47 a__ISO_country__us = 10
48 };
49 #endif
50
51 /******************************************************************************\
52 * *
53 * Types with Custom Serializers *
54 * *
55 \******************************************************************************/
56
57
58 /******************************************************************************\
59 * *
60 * Classes, Structs and Unions *
61 * *
62 \******************************************************************************/
63
64 class a__address; /* address.h:150 */
65 class _a__address_book; /* address.h:153 */
66
67 /* address.h:150 */
68 #ifndef SOAP_TYPE_a__address
69 #define SOAP_TYPE_a__address (8)
70 /* complex XSD type 'a:address': */
71 class SOAP_CMAC a__address {
72 public:
74 std::string name;
76 std::string street;
78 std::string city;
80 std::string zip;
82 enum a__ISO_country country;
83 std::string *phone;
86 std::string *mobile;
88 time_t *dob;
90 int ID;
92 struct soap *soap;
93 public:
95 virtual long soap_type(void) const { return SOAP_TYPE_a__address; }
97 virtual void soap_default(struct soap*);
99 virtual void soap_serialize(struct soap*) const;
101 virtual int soap_put(struct soap*, const char *tag, const char *type) const;
103 virtual int soap_out(struct soap*, const char *tag, int id, const char *type) const;
105 virtual void *soap_get(struct soap*, const char *tag, const char *type);
107 virtual void *soap_in(struct soap*, const char *tag, const char *type);
109 virtual a__address *soap_alloc(void) const { return SOAP_NEW_UNMANAGED(a__address); }
110 public:
112 a__address() : name(), street(), city(), zip(), country((enum a__ISO_country)10), phone(), mobile(), dob(), ID(), soap() { }
113 virtual ~a__address() { }
115 friend SOAP_FMAC1 a__address * SOAP_FMAC2 address_instantiate_a__address(struct soap*, int, const char*, const char*, size_t*);
116 };
117 #endif
118
119 /* address.h:153 */
120 #ifndef SOAP_TYPE__a__address_book
121 #define SOAP_TYPE__a__address_book (9)
122 /* complex XSD type 'a:address-book': */
123 class SOAP_CMAC _a__address_book {
124 public:
126 std::vector<a__address *> address;
128 struct soap *soap;
129 public:
131 virtual long soap_type(void) const { return SOAP_TYPE__a__address_book; }
133 virtual void soap_default(struct soap*);
135 virtual void soap_serialize(struct soap*) const;
137 virtual int soap_put(struct soap*, const char *tag, const char *type) const;
139 virtual int soap_out(struct soap*, const char *tag, int id, const char *type) const;
141 virtual void *soap_get(struct soap*, const char *tag, const char *type);
143 virtual void *soap_in(struct soap*, const char *tag, const char *type);
145 virtual _a__address_book *soap_alloc(void) const { return SOAP_NEW_UNMANAGED(_a__address_book); }
146 public:
148 _a__address_book() : address(), soap() { }
149 virtual ~_a__address_book() { }
151 friend SOAP_FMAC1 _a__address_book * SOAP_FMAC2 address_instantiate__a__address_book(struct soap*, int, const char*, const char*, size_t*);
152 };
153 #endif
154
155 /* address.h:334 */
156 #ifndef WITH_NOGLOBAL
157 #ifndef SOAP_TYPE_SOAP_ENV__Header
158 #define SOAP_TYPE_SOAP_ENV__Header (18)
159 /* SOAP_ENV__Header: */
160 struct SOAP_CMAC SOAP_ENV__Header {
161 public:
163 long soap_type() const { return SOAP_TYPE_SOAP_ENV__Header; }
165 SOAP_ENV__Header() { }
167 friend SOAP_FMAC1 SOAP_ENV__Header * SOAP_FMAC2 address_instantiate_SOAP_ENV__Header(struct soap*, int, const char*, const char*, size_t*);
168 };
169 #endif
170 #endif
171
172 /* address.h:334 */
173 #ifndef WITH_NOGLOBAL
174 #ifndef SOAP_TYPE_SOAP_ENV__Code
175 #define SOAP_TYPE_SOAP_ENV__Code (19)
176 /* Type SOAP_ENV__Code is a recursive data type, (in)directly referencing itself through its (base or derived class) members */
177 /* SOAP_ENV__Code: */
178 struct SOAP_CMAC SOAP_ENV__Code {
179 public:
181 char *SOAP_ENV__Value;
183 struct SOAP_ENV__Code *SOAP_ENV__Subcode;
184 public:
186 long soap_type() const { return SOAP_TYPE_SOAP_ENV__Code; }
188 SOAP_ENV__Code() : SOAP_ENV__Value(), SOAP_ENV__Subcode() { }
190 friend SOAP_FMAC1 SOAP_ENV__Code * SOAP_FMAC2 address_instantiate_SOAP_ENV__Code(struct soap*, int, const char*, const char*, size_t*);
191 };
192 #endif
193 #endif
194
195 /* address.h:334 */
196 #ifndef WITH_NOGLOBAL
197 #ifndef SOAP_TYPE_SOAP_ENV__Detail
198 #define SOAP_TYPE_SOAP_ENV__Detail (21)
199 /* SOAP_ENV__Detail: */
200 struct SOAP_CMAC SOAP_ENV__Detail {
201 public:
202 char *__any;
205 int __type;
206 void *fault;
207 public:
209 long soap_type() const { return SOAP_TYPE_SOAP_ENV__Detail; }
211 SOAP_ENV__Detail() : __any(), __type(), fault() { }
213 friend SOAP_FMAC1 SOAP_ENV__Detail * SOAP_FMAC2 address_instantiate_SOAP_ENV__Detail(struct soap*, int, const char*, const char*, size_t*);
214 };
215 #endif
216 #endif
217
218 /* address.h:334 */
219 #ifndef WITH_NOGLOBAL
220 #ifndef SOAP_TYPE_SOAP_ENV__Reason
221 #define SOAP_TYPE_SOAP_ENV__Reason (24)
222 /* SOAP_ENV__Reason: */
223 struct SOAP_CMAC SOAP_ENV__Reason {
224 public:
226 char *SOAP_ENV__Text;
227 public:
229 long soap_type() const { return SOAP_TYPE_SOAP_ENV__Reason; }
231 SOAP_ENV__Reason() : SOAP_ENV__Text() { }
233 friend SOAP_FMAC1 SOAP_ENV__Reason * SOAP_FMAC2 address_instantiate_SOAP_ENV__Reason(struct soap*, int, const char*, const char*, size_t*);
234 };
235 #endif
236 #endif
237
238 /* address.h:334 */
239 #ifndef WITH_NOGLOBAL
240 #ifndef SOAP_TYPE_SOAP_ENV__Fault
241 #define SOAP_TYPE_SOAP_ENV__Fault (25)
242 /* SOAP_ENV__Fault: */
243 struct SOAP_CMAC SOAP_ENV__Fault {
244 public:
246 char *faultcode;
248 char *faultstring;
250 char *faultactor;
252 struct SOAP_ENV__Detail *detail;
254 struct SOAP_ENV__Code *SOAP_ENV__Code;
256 struct SOAP_ENV__Reason *SOAP_ENV__Reason;
258 char *SOAP_ENV__Node;
260 char *SOAP_ENV__Role;
262 struct SOAP_ENV__Detail *SOAP_ENV__Detail;
263 public:
265 long soap_type() const { return SOAP_TYPE_SOAP_ENV__Fault; }
267 SOAP_ENV__Fault() : faultcode(), faultstring(), faultactor(), detail(), SOAP_ENV__Code(), SOAP_ENV__Reason(), SOAP_ENV__Node(), SOAP_ENV__Role(), SOAP_ENV__Detail() { }
269 friend SOAP_FMAC1 SOAP_ENV__Fault * SOAP_FMAC2 address_instantiate_SOAP_ENV__Fault(struct soap*, int, const char*, const char*, size_t*);
270 };
271 #endif
272 #endif
273
274 /******************************************************************************\
275 * *
276 * Typedefs *
277 * *
278 \******************************************************************************/
279
280
281 /* (built-in):0 */
282 #ifndef SOAP_TYPE__XML
283 #define SOAP_TYPE__XML (5)
284 typedef char *_XML;
285 #endif
286
287 /* (built-in):0 */
288 #ifndef SOAP_TYPE__QName
289 #define SOAP_TYPE__QName (6)
290 typedef char *_QName;
291 #endif
292
293 /******************************************************************************\
294 * *
295 * Serializable Types *
296 * *
297 \******************************************************************************/
298
299
300 /* char has binding name 'byte' for type 'xsd:byte' */
301 #ifndef SOAP_TYPE_byte
302 #define SOAP_TYPE_byte (3)
303 #endif
304
305 /* int has binding name 'int' for type 'xsd:int' */
306 #ifndef SOAP_TYPE_int
307 #define SOAP_TYPE_int (1)
308 #endif
309
310 /* time_t has binding name 'dateTime' for type 'xsd:dateTime' */
311 #ifndef SOAP_TYPE_dateTime
312 #define SOAP_TYPE_dateTime (13)
313 #endif
314
315 /* enum a__ISO_country has binding name 'a__ISO_country' for type 'a:ISO-country' */
316 #ifndef SOAP_TYPE_a__ISO_country
317 #define SOAP_TYPE_a__ISO_country (10)
318 #endif
319
320 /* std::string has binding name 'std__string' for type 'xsd:string' */
321 #ifndef SOAP_TYPE_std__string
322 #define SOAP_TYPE_std__string (11)
323 #endif
324
325 /* _a__address_book has binding name '_a__address_book' for type '' */
326 #ifndef SOAP_TYPE__a__address_book
327 #define SOAP_TYPE__a__address_book (9)
328 #endif
329
330 /* a__address has binding name 'a__address' for type 'a:address' */
331 #ifndef SOAP_TYPE_a__address
332 #define SOAP_TYPE_a__address (8)
333 #endif
334
335 /* struct SOAP_ENV__Fault has binding name 'SOAP_ENV__Fault' for type '' */
336 #ifndef SOAP_TYPE_SOAP_ENV__Fault
337 #define SOAP_TYPE_SOAP_ENV__Fault (25)
338 #endif
339
340 /* struct SOAP_ENV__Reason has binding name 'SOAP_ENV__Reason' for type '' */
341 #ifndef SOAP_TYPE_SOAP_ENV__Reason
342 #define SOAP_TYPE_SOAP_ENV__Reason (24)
343 #endif
344
345 /* struct SOAP_ENV__Detail has binding name 'SOAP_ENV__Detail' for type '' */
346 #ifndef SOAP_TYPE_SOAP_ENV__Detail
347 #define SOAP_TYPE_SOAP_ENV__Detail (21)
348 #endif
349
350 /* struct SOAP_ENV__Code has binding name 'SOAP_ENV__Code' for type '' */
351 #ifndef SOAP_TYPE_SOAP_ENV__Code
352 #define SOAP_TYPE_SOAP_ENV__Code (19)
353 #endif
354
355 /* struct SOAP_ENV__Header has binding name 'SOAP_ENV__Header' for type '' */
356 #ifndef SOAP_TYPE_SOAP_ENV__Header
357 #define SOAP_TYPE_SOAP_ENV__Header (18)
358 #endif
359
360 /* struct SOAP_ENV__Reason * has binding name 'PointerToSOAP_ENV__Reason' for type '' */
361 #ifndef SOAP_TYPE_PointerToSOAP_ENV__Reason
362 #define SOAP_TYPE_PointerToSOAP_ENV__Reason (27)
363 #endif
364
365 /* struct SOAP_ENV__Detail * has binding name 'PointerToSOAP_ENV__Detail' for type '' */
366 #ifndef SOAP_TYPE_PointerToSOAP_ENV__Detail
367 #define SOAP_TYPE_PointerToSOAP_ENV__Detail (26)
368 #endif
369
370 /* struct SOAP_ENV__Code * has binding name 'PointerToSOAP_ENV__Code' for type '' */
371 #ifndef SOAP_TYPE_PointerToSOAP_ENV__Code
372 #define SOAP_TYPE_PointerToSOAP_ENV__Code (20)
373 #endif
374
375 /* a__address * has binding name 'PointerToa__address' for type 'a:address' */
376 #ifndef SOAP_TYPE_PointerToa__address
377 #define SOAP_TYPE_PointerToa__address (16)
378 #endif
379
380 /* time_t * has binding name 'PointerTodateTime' for type 'xsd:dateTime' */
381 #ifndef SOAP_TYPE_PointerTodateTime
382 #define SOAP_TYPE_PointerTodateTime (14)
383 #endif
384
385 /* std::string * has binding name 'PointerTostd__string' for type 'xsd:string' */
386 #ifndef SOAP_TYPE_PointerTostd__string
387 #define SOAP_TYPE_PointerTostd__string (12)
388 #endif
389
390 /* _QName has binding name '_QName' for type 'xsd:QName' */
391 #ifndef SOAP_TYPE__QName
392 #define SOAP_TYPE__QName (6)
393 #endif
394
395 /* _XML has binding name '_XML' for type '' */
396 #ifndef SOAP_TYPE__XML
397 #define SOAP_TYPE__XML (5)
398 #endif
399
400 /* char * has binding name 'string' for type 'xsd:string' */
401 #ifndef SOAP_TYPE_string
402 #define SOAP_TYPE_string (4)
403 #endif
404
405 /* std::vector<a__address *> has binding name 'std__vectorTemplateOfPointerToa__address' for type 'a:address' */
406 #ifndef SOAP_TYPE_std__vectorTemplateOfPointerToa__address
407 #define SOAP_TYPE_std__vectorTemplateOfPointerToa__address (17)
408 #endif
409
410 /******************************************************************************\
411 * *
412 * Externals *
413 * *
414 \******************************************************************************/
415
416
417 #endif
418
419 /* End of addressStub.h */
SOAP_ENV__Fault::faultactor
char * faultactor
Definition: addressStub.h:250
SOAP_ENV__Code
Definition: addressStub.h:178
a__ISO_country__en
Definition: addressStub.h:40
a__ISO_country
a__ISO_country
"urn:address-book-example":ISO-country is a simpleType restriction of XSD type xs:string.
Definition: address.h:169
address_instantiate_SOAP_ENV__Fault
SOAP_FMAC1 struct SOAP_ENV__Fault *SOAP_FMAC2 address_instantiate_SOAP_ENV__Fault(struct soap *, int, const char *, const char *, size_t *)
SOAP_ENV__Reason::soap_type
long soap_type() const
Definition: addressStub.h:229
SOAP_ENV__Header::SOAP_ENV__Header
SOAP_ENV__Header()
Definition: addressStub.h:165
SOAP_TYPE_SOAP_ENV__Fault
#define SOAP_TYPE_SOAP_ENV__Fault
Definition: addressStub.h:241
_a__address_book::soap_type
virtual long soap_type(void) const
Return unique type id SOAP_TYPE__a__address_book.
Definition: addressStub.h:131
SOAP_ENV__Code::soap_type
long soap_type() const
Definition: addressStub.h:186
address_instantiate_SOAP_ENV__Detail
SOAP_FMAC1 struct SOAP_ENV__Detail *SOAP_FMAC2 address_instantiate_SOAP_ENV__Detail(struct soap *, int, const char *, const char *, size_t *)
_XML
char * _XML
Definition: addressStub.h:284
SOAP_ENV__Code::SOAP_ENV__Value
char * SOAP_ENV__Value
Definition: addressStub.h:181
a__ISO_country__ru
Definition: addressStub.h:45
SOAP_ENV__Fault::detail
struct SOAP_ENV__Detail * detail
Definition: addressStub.h:252
SOAP_TYPE_SOAP_ENV__Code
#define SOAP_TYPE_SOAP_ENV__Code
Definition: addressStub.h:175
address_instantiate_SOAP_ENV__Header
SOAP_FMAC1 struct SOAP_ENV__Header *SOAP_FMAC2 address_instantiate_SOAP_ENV__Header(struct soap *, int, const char *, const char *, size_t *)
SOAP_ENV__Reason::SOAP_ENV__Reason
SOAP_ENV__Reason()
Definition: addressStub.h:231
SOAP_ENV__Detail::fault
void * fault
Definition: addressStub.h:206
std::vector< a__address * >
a__ISO_country__us
Definition: addressStub.h:47
SOAP_ENV__Fault::SOAP_ENV__Code
struct SOAP_ENV__Code * SOAP_ENV__Code
Definition: addressStub.h:254
SOAP_TYPE_a__address
#define SOAP_TYPE_a__address
Definition: addressStub.h:69
_a__address_book::_a__address_book
_a__address_book()
Constructor with initializations.
Definition: addressStub.h:148
a__ISO_country__gb
Definition: addressStub.h:41
a__ISO_country__de
Definition: addressStub.h:39
SOAP_ENV__Fault::SOAP_ENV__Detail
struct SOAP_ENV__Detail * SOAP_ENV__Detail
Definition: addressStub.h:262
SOAP_ENV__Code::SOAP_ENV__Code
SOAP_ENV__Code()
Definition: addressStub.h:188
SOAP_ENV__Reason
Definition: addressStub.h:223
SOAP_ENV__Fault
Definition: addressStub.h:243
SOAP_TYPE_SOAP_ENV__Reason
#define SOAP_TYPE_SOAP_ENV__Reason
Definition: addressStub.h:221
SOAP_ENV__Fault::SOAP_ENV__Role
char * SOAP_ENV__Role
Definition: addressStub.h:260
a__ISO_country__se
Definition: addressStub.h:46
SOAP_ENV__Fault::SOAP_ENV__Reason
struct SOAP_ENV__Reason * SOAP_ENV__Reason
Definition: addressStub.h:256
SOAP_ENV__Fault::faultstring
char * faultstring
Definition: addressStub.h:248
a__address
"urn:address-book-example":address is a complexType.
Definition: address.h:207
SOAP_ENV__Header
Definition: addressStub.h:160
a__ISO_country__ca
Definition: addressStub.h:38
SOAP_ENV__Header::soap_type
long soap_type() const
Definition: addressStub.h:163
_QName
char * _QName
Definition: addressStub.h:290
a__address::soap_type
virtual long soap_type(void) const
Return unique type id SOAP_TYPE_a__address.
Definition: addressStub.h:95
SOAP_TYPE__a__address_book
#define SOAP_TYPE__a__address_book
Definition: addressStub.h:121
SOAP_TYPE_SOAP_ENV__Header
#define SOAP_TYPE_SOAP_ENV__Header
Definition: addressStub.h:158
SOAP_ENV__Fault::soap_type
long soap_type() const
Definition: addressStub.h:265
a__address::soap_alloc
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:109
a__ISO_country__no
Definition: addressStub.h:44
address_instantiate_SOAP_ENV__Reason
SOAP_FMAC1 struct SOAP_ENV__Reason *SOAP_FMAC2 address_instantiate_SOAP_ENV__Reason(struct soap *, int, const char *, const char *, size_t *)
SOAP_ENV__Fault::faultcode
char * faultcode
Definition: addressStub.h:246
SOAP_ENV__Reason::SOAP_ENV__Text
char * SOAP_ENV__Text
Definition: addressStub.h:226
SOAP_ENV__Detail::__type
int __type
Definition: addressStub.h:205
a__ISO_country__be
Definition: addressStub.h:37
address_instantiate_SOAP_ENV__Code
SOAP_FMAC1 struct SOAP_ENV__Code *SOAP_FMAC2 address_instantiate_SOAP_ENV__Code(struct soap *, int, const char *, const char *, size_t *)
_a__address_book
Top-level root element "urn:address-book-example":address-book.
Definition: address.h:246
a__address::a__address
a__address()
Constructor with initializations.
Definition: addressStub.h:112
_a__address_book::soap_alloc
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:145
address_instantiate__a__address_book
SOAP_FMAC1 _a__address_book *SOAP_FMAC2 address_instantiate__a__address_book(struct soap *, int, const char *, const char *, size_t *)
SOAP_ENV__Detail::__any
char * __any
Definition: addressStub.h:202
a__ISO_country__nl
Definition: addressStub.h:43
SOAP_ENV__Detail::soap_type
long soap_type() const
Definition: addressStub.h:209
SOAP_ENV__Detail
Definition: addressStub.h:200
SOAP_ENV__Fault::SOAP_ENV__Fault
SOAP_ENV__Fault()
Definition: addressStub.h:267
a__ISO_country__it
Definition: addressStub.h:42
SOAP_TYPE_SOAP_ENV__Detail
#define SOAP_TYPE_SOAP_ENV__Detail
Definition: addressStub.h:198
SOAP_ENV__Code::SOAP_ENV__Subcode
struct SOAP_ENV__Code * SOAP_ENV__Subcode
Definition: addressStub.h:183
SOAP_ENV__Fault::SOAP_ENV__Node
char * SOAP_ENV__Node
Definition: addressStub.h:258
SOAP_ENV__Detail::SOAP_ENV__Detail
SOAP_ENV__Detail()
Definition: addressStub.h:211
a__address::~a__address
virtual ~a__address()
Definition: addressStub.h:113
address_instantiate_a__address
SOAP_FMAC1 a__address *SOAP_FMAC2 address_instantiate_a__address(struct soap *, int, const char *, const char *, size_t *)
_a__address_book::~_a__address_book
virtual ~_a__address_book()
Definition: addressStub.h:149