Home
Developer Center
Data Bindings
Main Page
Related Pages
Classes
Files
File List
File Members
addressStub.h
Go to the documentation of this file.
1
/* addressStub.h
2
Generated by gSOAP 2.8.22 from address.h
3
4
Copyright(C) 2000-2015, Robert van Engelen, Genivia Inc. All Rights Reserved.
5
The generated code is released under one of the following licenses:
6
GPL or Genivia's license for commercial use.
7
This program is released under the GPL with the additional exemption that
8
compiling, linking, and/or using OpenSSL is allowed.
9
*/
10
11
#ifndef addressStub_H
12
#define addressStub_H
13
#include <vector>
14
#define SOAP_NAMESPACE_OF_a "urn:address-book-example"
15
#include "stdsoap2.h"
16
#if GSOAP_VERSION != 20822
17
# error "GSOAP VERSION 20822 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
18
#endif
19
20
21
/******************************************************************************\
22
* *
23
* Enumerations *
24
* *
25
\******************************************************************************/
26
27
28
#ifndef SOAP_TYPE_a__ISO_country
29
#define SOAP_TYPE_a__ISO_country (10)
30
/* a:ISO-country */
31
enum
a__ISO_country
{
a__ISO_country__be
= 0,
a__ISO_country__ca
= 1,
a__ISO_country__de
= 2,
a__ISO_country__en
= 3,
a__ISO_country__gb
= 4,
a__ISO_country__it
= 5,
a__ISO_country__nl
= 6,
a__ISO_country__no
= 7,
a__ISO_country__ru
= 8,
a__ISO_country__se
= 9,
a__ISO_country__us
= 10 };
32
#endif
33
34
/******************************************************************************\
35
* *
36
* Types with Custom Serializers *
37
* *
38
\******************************************************************************/
39
40
41
/******************************************************************************\
42
* *
43
* Classes and Structs *
44
* *
45
\******************************************************************************/
46
47
48
#if 0
/* volatile type: do not declare here, declared elsewhere */
49
50
#endif
51
52
#if 0
/* volatile type: do not declare here, declared elsewhere */
53
54
#endif
55
56
#ifndef SOAP_TYPE_a__address
57
#define SOAP_TYPE_a__address (8)
58
/* a:address */
59
class
SOAP_CMAC
a__address
60
{
61
public
:
62
std::string name;
/* required element of type xsd:string */
63
std::string street;
/* required element of type xsd:string */
64
std::string city;
/* required element of type xsd:string */
65
std::string zip;
/* required element of type xsd:string */
66
enum
a__ISO_country
country;
/* optional element of type a:ISO-country */
67
std::string *phone;
/* optional element of type xsd:string */
68
std::string *mobile;
/* optional element of type xsd:string */
69
time_t *dob;
/* optional element of type xsd:dateTime */
70
int
ID;
/* required attribute */
71
struct
soap *soap;
/* transient */
72
public
:
73
virtual
int
soap_type
()
const
{
return
8; }
/* = unique type id SOAP_TYPE_a__address */
74
virtual
void
soap_default(
struct
soap*);
75
virtual
void
soap_serialize(
struct
soap*)
const
;
76
virtual
int
soap_put(
struct
soap*,
const
char
*,
const
char
*)
const
;
77
virtual
int
soap_out(
struct
soap*,
const
char
*,
int
,
const
char
*)
const
;
78
virtual
void
*soap_get(
struct
soap*,
const
char
*,
const
char
*);
79
virtual
void
*soap_in(
struct
soap*,
const
char
*,
const
char
*);
80
a__address
() {
a__address::soap_default
(NULL); }
81
virtual
~a__address
() { }
82
};
83
#endif
84
85
#ifndef SOAP_TYPE__a__address_book
86
#define SOAP_TYPE__a__address_book (9)
87
/* a:address-book */
88
class
SOAP_CMAC
_a__address_book
89
{
90
public
:
91
std::vector<a__address * >address;
/* optional element of type a:address */
92
struct
soap *soap;
/* transient */
93
public
:
94
virtual
int
soap_type
()
const
{
return
9; }
/* = unique type id SOAP_TYPE__a__address_book */
95
virtual
void
soap_default(
struct
soap*);
96
virtual
void
soap_serialize(
struct
soap*)
const
;
97
virtual
int
soap_put(
struct
soap*,
const
char
*,
const
char
*)
const
;
98
virtual
int
soap_out(
struct
soap*,
const
char
*,
int
,
const
char
*)
const
;
99
virtual
void
*soap_get(
struct
soap*,
const
char
*,
const
char
*);
100
virtual
void
*soap_in(
struct
soap*,
const
char
*,
const
char
*);
101
_a__address_book
() {
_a__address_book::soap_default
(NULL); }
102
virtual
~_a__address_book
() { }
103
};
104
#endif
105
106
#ifndef WITH_NOGLOBAL
107
108
#ifndef SOAP_TYPE_SOAP_ENV__Header
109
#define SOAP_TYPE_SOAP_ENV__Header (18)
110
/* SOAP Header: */
111
struct
SOAP_ENV__Header
112
{
113
public
:
114
int
soap_type
()
const
{
return
18; }
/* = unique type id SOAP_TYPE_SOAP_ENV__Header */
115
};
116
#endif
117
118
#endif
119
120
#ifndef WITH_NOGLOBAL
121
122
#ifndef SOAP_TYPE_SOAP_ENV__Code
123
#define SOAP_TYPE_SOAP_ENV__Code (19)
124
/* SOAP Fault Code: */
125
struct
SOAP_ENV__Code
126
{
127
public
:
128
char
*
SOAP_ENV__Value
;
/* optional element of type xsd:QName */
129
struct
SOAP_ENV__Code
*
SOAP_ENV__Subcode
;
/* optional element of type SOAP-ENV:Code */
130
public
:
131
int
soap_type
()
const
{
return
19; }
/* = unique type id SOAP_TYPE_SOAP_ENV__Code */
132
};
133
#endif
134
135
#endif
136
137
#ifndef WITH_NOGLOBAL
138
139
#ifndef SOAP_TYPE_SOAP_ENV__Detail
140
#define SOAP_TYPE_SOAP_ENV__Detail (21)
141
/* SOAP-ENV:Detail */
142
struct
SOAP_ENV__Detail
143
{
144
public
:
145
char
*
__any
;
146
int
__type
;
/* any type of element <fault> (defined below) */
147
void
*
fault
;
/* transient */
148
public
:
149
int
soap_type
()
const
{
return
21; }
/* = unique type id SOAP_TYPE_SOAP_ENV__Detail */
150
};
151
#endif
152
153
#endif
154
155
#ifndef WITH_NOGLOBAL
156
157
#ifndef SOAP_TYPE_SOAP_ENV__Reason
158
#define SOAP_TYPE_SOAP_ENV__Reason (24)
159
/* SOAP-ENV:Reason */
160
struct
SOAP_ENV__Reason
161
{
162
public
:
163
char
*
SOAP_ENV__Text
;
/* optional element of type xsd:string */
164
public
:
165
int
soap_type
()
const
{
return
24; }
/* = unique type id SOAP_TYPE_SOAP_ENV__Reason */
166
};
167
#endif
168
169
#endif
170
171
#ifndef WITH_NOGLOBAL
172
173
#ifndef SOAP_TYPE_SOAP_ENV__Fault
174
#define SOAP_TYPE_SOAP_ENV__Fault (25)
175
/* SOAP Fault: */
176
struct
SOAP_ENV__Fault
177
{
178
public
:
179
char
*
faultcode
;
/* optional element of type xsd:QName */
180
char
*
faultstring
;
/* optional element of type xsd:string */
181
char
*
faultactor
;
/* optional element of type xsd:string */
182
struct
SOAP_ENV__Detail
*
detail
;
/* optional element of type SOAP-ENV:Detail */
183
struct
SOAP_ENV__Code
*
SOAP_ENV__Code
;
/* optional element of type SOAP-ENV:Code */
184
struct
SOAP_ENV__Reason
*
SOAP_ENV__Reason
;
/* optional element of type SOAP-ENV:Reason */
185
char
*
SOAP_ENV__Node
;
/* optional element of type xsd:string */
186
char
*
SOAP_ENV__Role
;
/* optional element of type xsd:string */
187
struct
SOAP_ENV__Detail
*
SOAP_ENV__Detail
;
/* optional element of type SOAP-ENV:Detail */
188
public
:
189
int
soap_type
()
const
{
return
25; }
/* = unique type id SOAP_TYPE_SOAP_ENV__Fault */
190
};
191
#endif
192
193
#endif
194
195
/******************************************************************************\
196
* *
197
* Typedefs *
198
* *
199
\******************************************************************************/
200
201
#ifndef SOAP_TYPE__QName
202
#define SOAP_TYPE__QName (5)
203
typedef
char
*
_QName
;
204
#endif
205
206
#ifndef SOAP_TYPE__XML
207
#define SOAP_TYPE__XML (6)
208
typedef
char
*
_XML
;
209
#endif
210
211
212
/******************************************************************************\
213
* *
214
* Externals *
215
* *
216
\******************************************************************************/
217
218
219
#endif
220
221
/* End of addressStub.h */
Generated on Sun Oct 25 2015 13:20:11 for
Genivia
documentation of Data Bindings by
Doxygen
1.8.3