Genivia Home Documentation
addressStub.h Source File

updated Tue Feb 23 2016
 
addressStub.h
Go to the documentation of this file.
1 /* addressStub.h
2  Generated by gSOAP 2.8.28 from ./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 != 20828
24 # error "GSOAP VERSION 20828 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
25 #endif
26 
27 
28 /******************************************************************************\
29  * *
30  * Enumerations *
31  * *
32 \******************************************************************************/
33 
34 
35 /* ./address.h:169 */
36 #ifndef SOAP_TYPE_a__ISO_country
37 #define SOAP_TYPE_a__ISO_country (13)
38 /* a:ISO-country */
40 {
52 };
53 #endif
54 
55 /******************************************************************************\
56  * *
57  * Types with Custom Serializers *
58  * *
59 \******************************************************************************/
60 
61 
62 /******************************************************************************\
63  * *
64  * Classes, Structs, and Unions *
65  * *
66 \******************************************************************************/
67 
68 class a__address; /* ./address.h:149 */
69 class _a__address_book; /* ./address.h:152 */
70 
71 /* ./address.h:149 */
72 #ifndef SOAP_TYPE_a__address
73 #define SOAP_TYPE_a__address (11)
74 /* a:address complex type: */
75 class SOAP_CMAC a__address
76 {
77 public:
78  std::string name; /* required element of XSD type xsd:string */
79  std::string street; /* required element of XSD type xsd:string */
80  std::string city; /* required element of XSD type xsd:string */
81  std::string zip; /* required element of XSD type xsd:string */
82  enum a__ISO_country country; /* optional element of XSD type a:ISO-country */
83  std::string *phone; /* optional element of XSD type xsd:string */
84  std::string *mobile; /* optional element of XSD type xsd:string */
85  time_t *dob; /* optional element of XSD type xsd:dateTime */
86  int ID; /* required attribute of XSD type xsd:int */
87  struct soap *soap; /* transient (not serialized) */
88 public:
90  virtual int soap_type(void) const { return 11; }
92  virtual void soap_default(struct soap*);
94  virtual void soap_serialize(struct soap*) const;
96  virtual int soap_put(struct soap*, const char *tag, const char *type) const;
98  virtual int soap_out(struct soap*, const char *tag, int id, const char *type) const;
100  virtual void *soap_get(struct soap*, const char *tag, const char *type);
102  virtual void *soap_in(struct soap*, const char *tag, const char *type);
104  virtual a__address *soap_alloc(void) const { return SOAP_NEW(a__address); }
106  virtual ~a__address() { }
107  friend SOAP_FMAC1 a__address * SOAP_FMAC2 soap_instantiate_a__address(struct soap*, int, const char*, const char*, size_t*);
108 };
109 #endif
110 
111 /* ./address.h:152 */
112 #ifndef SOAP_TYPE__a__address_book
113 #define SOAP_TYPE__a__address_book (12)
114 /* a:address-book complex type: */
115 class SOAP_CMAC _a__address_book
116 {
117 public:
118  std::vector<a__address *> address; /* optional element of XSD type a:address */
119  struct soap *soap; /* transient (not serialized) */
120 public:
122  virtual int soap_type(void) const { return 12; }
124  virtual void soap_default(struct soap*);
126  virtual void soap_serialize(struct soap*) const;
128  virtual int soap_put(struct soap*, const char *tag, const char *type) const;
130  virtual int soap_out(struct soap*, const char *tag, int id, const char *type) const;
132  virtual void *soap_get(struct soap*, const char *tag, const char *type);
134  virtual void *soap_in(struct soap*, const char *tag, const char *type);
136  virtual _a__address_book *soap_alloc(void) const { return SOAP_NEW(_a__address_book); }
138  virtual ~_a__address_book() { }
139  friend SOAP_FMAC1 _a__address_book * SOAP_FMAC2 soap_instantiate__a__address_book(struct soap*, int, const char*, const char*, size_t*);
140 };
141 #endif
142 
143 /* ./address.h:328 */
144 #ifndef WITH_NOGLOBAL
145 #ifndef SOAP_TYPE_SOAP_ENV__Header
146 #define SOAP_TYPE_SOAP_ENV__Header (21)
147 /* SOAP Header: */
149 {
150 public:
151  int soap_type() const { return 21; } /* = unique type id SOAP_TYPE_SOAP_ENV__Header */
153  friend SOAP_FMAC1 SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Header(struct soap*, int, const char*, const char*, size_t*);
154 };
155 #endif
156 #endif
157 
158 /* ./address.h:328 */
159 #ifndef WITH_NOGLOBAL
160 #ifndef SOAP_TYPE_SOAP_ENV__Code
161 #define SOAP_TYPE_SOAP_ENV__Code (22)
162 /* Type SOAP_ENV__Code is a recursive data type (in)directly referencing itself through its (base) class members */
163 /* SOAP Fault Code: */
165 {
166 public:
167  char *SOAP_ENV__Value; /* optional element of XSD type xsd:QName */
168  struct SOAP_ENV__Code *SOAP_ENV__Subcode; /* optional element of XSD type SOAP-ENV:Code */
169 public:
170  int soap_type() const { return 22; } /* = unique type id SOAP_TYPE_SOAP_ENV__Code */
171  SOAP_ENV__Code();
172  friend SOAP_FMAC1 SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(struct soap*, int, const char*, const char*, size_t*);
173 };
174 #endif
175 #endif
176 
177 /* ./address.h:328 */
178 #ifndef WITH_NOGLOBAL
179 #ifndef SOAP_TYPE_SOAP_ENV__Detail
180 #define SOAP_TYPE_SOAP_ENV__Detail (24)
181 /* SOAP-ENV:Detail complex type: */
183 {
184 public:
185  char *__any;
186  int __type; /* any type of element <fault> (defined below)
187  WARNING: do not create a cyclic data structure graph throught this element unless SOAP encoding or SOAP_XML_GRAPH are used for id-ref serialization */
188  void *fault; /* transient (not serialized) */
189 public:
190  int soap_type() const { return 24; } /* = unique type id SOAP_TYPE_SOAP_ENV__Detail */
192  friend SOAP_FMAC1 SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detail(struct soap*, int, const char*, const char*, size_t*);
193 };
194 #endif
195 #endif
196 
197 /* ./address.h:328 */
198 #ifndef WITH_NOGLOBAL
199 #ifndef SOAP_TYPE_SOAP_ENV__Reason
200 #define SOAP_TYPE_SOAP_ENV__Reason (27)
201 /* SOAP-ENV:Reason complex type: */
203 {
204 public:
205  char *SOAP_ENV__Text; /* optional element of XSD type xsd:string */
206 public:
207  int soap_type() const { return 27; } /* = unique type id SOAP_TYPE_SOAP_ENV__Reason */
209  friend SOAP_FMAC1 SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reason(struct soap*, int, const char*, const char*, size_t*);
210 };
211 #endif
212 #endif
213 
214 /* ./address.h:328 */
215 #ifndef WITH_NOGLOBAL
216 #ifndef SOAP_TYPE_SOAP_ENV__Fault
217 #define SOAP_TYPE_SOAP_ENV__Fault (28)
218 /* SOAP Fault: */
220 {
221 public:
222  char *faultcode; /* optional element of XSD type xsd:QName */
223  char *faultstring; /* optional element of XSD type xsd:string */
224  char *faultactor; /* optional element of XSD type xsd:string */
225  struct SOAP_ENV__Detail *detail; /* optional element of XSD type SOAP-ENV:Detail */
226  struct SOAP_ENV__Code *SOAP_ENV__Code; /* optional element of XSD type SOAP-ENV:Code */
227  struct SOAP_ENV__Reason *SOAP_ENV__Reason; /* optional element of XSD type SOAP-ENV:Reason */
228  char *SOAP_ENV__Node; /* optional element of XSD type xsd:string */
229  char *SOAP_ENV__Role; /* optional element of XSD type xsd:string */
230  struct SOAP_ENV__Detail *SOAP_ENV__Detail; /* optional element of XSD type SOAP-ENV:Detail */
231 public:
232  int soap_type() const { return 28; } /* = unique type id SOAP_TYPE_SOAP_ENV__Fault */
233  SOAP_ENV__Fault();
234  friend SOAP_FMAC1 SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault(struct soap*, int, const char*, const char*, size_t*);
235 };
236 #endif
237 #endif
238 
239 /******************************************************************************\
240  * *
241  * Typedefs *
242  * *
243 \******************************************************************************/
244 
245 
246 /* ./address.h:100 */
247 #ifndef SOAP_TYPE__QName
248 #define SOAP_TYPE__QName (5)
249 typedef char *_QName;
250 #endif
251 
252 /* ./address.h:100 */
253 #ifndef SOAP_TYPE__XML
254 #define SOAP_TYPE__XML (6)
255 typedef char *_XML;
256 #endif
257 
258 /******************************************************************************\
259  * *
260  * Externals *
261  * *
262 \******************************************************************************/
263 
264 
265 #endif
266 
267 /* End of addressStub.h */
int soap_type() const
Definition: addressStub.h:232
SOAP_FMAC1 struct SOAP_ENV__Detail *SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detail(struct soap *, int, const char *, const char *, size_t *)
a__ISO_country
"urn:address-book-example":ISO-country is a simpleType restriction of XSD type xs:string.
Definition: address.h:168
char * faultstring
Definition: addressStub.h:223
SOAP_FMAC1 struct SOAP_ENV__Fault *SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault(struct soap *, int, const char *, const char *, size_t *)
int soap_type() const
Definition: addressStub.h:151
struct SOAP_ENV__Detail * SOAP_ENV__Detail
Definition: addressStub.h:230
struct SOAP_ENV__Code * SOAP_ENV__Code
Definition: addressStub.h:226
char * _XML
Definition: addressStub.h:255
int soap_type() const
Definition: addressStub.h:190
SOAP_FMAC1 struct SOAP_ENV__Code *SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(struct soap *, int, const char *, const char *, size_t *)
virtual void soap_default(struct soap *)
Set object&#39;s data members to default values.
char * SOAP_ENV__Node
Definition: addressStub.h:228
int soap_type() const
Definition: addressStub.h:170
struct SOAP_ENV__Reason * SOAP_ENV__Reason
Definition: addressStub.h:227
SOAP_FMAC1 struct SOAP_ENV__Header *SOAP_FMAC2 soap_instantiate_SOAP_ENV__Header(struct soap *, int, const char *, const char *, size_t *)
"urn:address-book-example":address is a complexType.
Definition: address.h:206
virtual void soap_default(struct soap *)
Set object&#39;s data members to default values.
struct SOAP_ENV__Code * SOAP_ENV__Subcode
Definition: addressStub.h:168
SOAP_FMAC1 struct SOAP_ENV__Reason *SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reason(struct soap *, int, const char *, const char *, size_t *)
virtual int soap_type(void) const
Return the unique type ID value SOAP_TYPE__a__address_book (12)
Definition: addressStub.h:122
char * _QName
Definition: addressStub.h:249
SOAP_FMAC1 a__address *SOAP_FMAC2 soap_instantiate_a__address(struct soap *, int, const char *, const char *, size_t *)
char * SOAP_ENV__Value
Definition: addressStub.h:167
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:104
virtual int soap_type(void) const
Return the unique type ID value SOAP_TYPE_a__address (11)
Definition: addressStub.h:90
char * SOAP_ENV__Text
Definition: addressStub.h:205
Top-level root element "urn:address-book-example":address-book.
Definition: address.h:246
struct SOAP_ENV__Detail * detail
Definition: addressStub.h:225
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:136
char * SOAP_ENV__Role
Definition: addressStub.h:229
int soap_type() const
Definition: addressStub.h:207
virtual ~a__address()
Definition: addressStub.h:106
SOAP_FMAC1 _a__address_book *SOAP_FMAC2 soap_instantiate__a__address_book(struct soap *, int, const char *, const char *, size_t *)
virtual ~_a__address_book()
Definition: addressStub.h:138