Genivia Home Documentation
graphStub.h Source File

updated Fri Jan 12 2018 by Robert van Engelen
 
graphStub.h
Go to the documentation of this file.
1 /* graphStub.h
2  Generated by gSOAP 2.8.33 for graph.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 <vector>
15 
16 #ifndef graphStub_H
17 #define graphStub_H
18 #include "stdsoap2.h"
19 #if GSOAP_VERSION != 20833
20 # error "GSOAP VERSION 20833 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
21 #endif
22 
23 
24 /******************************************************************************\
25  * *
26  * Types with Custom Serializers *
27  * *
28 \******************************************************************************/
29 
30 
31 /******************************************************************************\
32  * *
33  * Classes, Structs and Unions *
34  * *
35 \******************************************************************************/
36 
37 class Graph; /* graph.h:40 */
38 
39 /* graph.h:40 */
40 #ifndef SOAP_TYPE_Graph
41 #define SOAP_TYPE_Graph (8)
42 /* Type g:Graph is a recursive data type, (in)directly referencing itself through its (base or derived class) members */
43 /* complex XSD type 'g:Graph': */
44 class SOAP_CMAC Graph {
45  public:
47  std::vector<Graph *> edges;
48  public:
50  virtual int soap_type(void) const { return SOAP_TYPE_Graph; }
52  virtual void soap_default(struct soap*);
54  virtual void soap_serialize(struct soap*) const;
56  virtual int soap_put(struct soap*, const char *tag, const char *type) const;
58  virtual int soap_out(struct soap*, const char *tag, int id, const char *type) const;
60  virtual void *soap_get(struct soap*, const char *tag, const char *type);
62  virtual void *soap_in(struct soap*, const char *tag, const char *type);
64  virtual Graph *soap_alloc(void) const { return SOAP_NEW(Graph); }
65  public:
68  {
69  }
70  virtual ~Graph() { }
72  friend SOAP_FMAC1 Graph * SOAP_FMAC2 graph_instantiate_Graph(struct soap*, int, const char*, const char*, size_t*);
73 };
74 #endif
75 
76 /* graph.h:45 */
77 #ifndef WITH_NOGLOBAL
78 #ifndef SOAP_TYPE_SOAP_ENV__Header
79 #define SOAP_TYPE_SOAP_ENV__Header (11)
80 /* SOAP_ENV__Header: */
81 struct SOAP_ENV__Header {
82  public:
84  int soap_type() const { return SOAP_TYPE_SOAP_ENV__Header; }
87  {
88  }
90  friend SOAP_FMAC1 SOAP_ENV__Header * SOAP_FMAC2 graph_instantiate_SOAP_ENV__Header(struct soap*, int, const char*, const char*, size_t*);
91 };
92 #endif
93 #endif
94 
95 /* graph.h:45 */
96 #ifndef WITH_NOGLOBAL
97 #ifndef SOAP_TYPE_SOAP_ENV__Code
98 #define SOAP_TYPE_SOAP_ENV__Code (12)
99 /* Type SOAP_ENV__Code is a recursive data type, (in)directly referencing itself through its (base or derived class) members */
100 /* SOAP_ENV__Code: */
101 struct SOAP_ENV__Code {
102  public:
104  char *SOAP_ENV__Value;
107  public:
109  int soap_type() const { return SOAP_TYPE_SOAP_ENV__Code; }
112  {
113  SOAP_ENV__Value = (char *)0;
114  SOAP_ENV__Subcode = (struct SOAP_ENV__Code *)0;
115  }
117  friend SOAP_FMAC1 SOAP_ENV__Code * SOAP_FMAC2 graph_instantiate_SOAP_ENV__Code(struct soap*, int, const char*, const char*, size_t*);
118 };
119 #endif
120 #endif
121 
122 /* graph.h:45 */
123 #ifndef WITH_NOGLOBAL
124 #ifndef SOAP_TYPE_SOAP_ENV__Detail
125 #define SOAP_TYPE_SOAP_ENV__Detail (14)
126 /* SOAP_ENV__Detail: */
127 struct SOAP_ENV__Detail {
128  public:
129  char *__any;
132  int __type;
133  void *fault;
134  public:
136  int soap_type() const { return SOAP_TYPE_SOAP_ENV__Detail; }
139  {
140  __any = (char *)0;
141  __type = 0;
142  fault = NULL;
143  }
145  friend SOAP_FMAC1 SOAP_ENV__Detail * SOAP_FMAC2 graph_instantiate_SOAP_ENV__Detail(struct soap*, int, const char*, const char*, size_t*);
146 };
147 #endif
148 #endif
149 
150 /* graph.h:45 */
151 #ifndef WITH_NOGLOBAL
152 #ifndef SOAP_TYPE_SOAP_ENV__Reason
153 #define SOAP_TYPE_SOAP_ENV__Reason (17)
154 /* SOAP_ENV__Reason: */
155 struct SOAP_ENV__Reason {
156  public:
158  char *SOAP_ENV__Text;
159  public:
161  int soap_type() const { return SOAP_TYPE_SOAP_ENV__Reason; }
164  {
165  SOAP_ENV__Text = (char *)0;
166  }
168  friend SOAP_FMAC1 SOAP_ENV__Reason * SOAP_FMAC2 graph_instantiate_SOAP_ENV__Reason(struct soap*, int, const char*, const char*, size_t*);
169 };
170 #endif
171 #endif
172 
173 /* graph.h:45 */
174 #ifndef WITH_NOGLOBAL
175 #ifndef SOAP_TYPE_SOAP_ENV__Fault
176 #define SOAP_TYPE_SOAP_ENV__Fault (18)
177 /* SOAP_ENV__Fault: */
178 struct SOAP_ENV__Fault {
179  public:
181  char *faultcode;
183  char *faultstring;
185  char *faultactor;
187  struct SOAP_ENV__Detail *detail;
193  char *SOAP_ENV__Node;
195  char *SOAP_ENV__Role;
198  public:
200  int soap_type() const { return SOAP_TYPE_SOAP_ENV__Fault; }
203  {
204  faultcode = (char *)0;
205  faultstring = (char *)0;
206  faultactor = (char *)0;
207  detail = (struct SOAP_ENV__Detail *)0;
208  SOAP_ENV__Code = (struct SOAP_ENV__Code *)0;
209  SOAP_ENV__Reason = (struct SOAP_ENV__Reason *)0;
210  SOAP_ENV__Node = (char *)0;
211  SOAP_ENV__Role = (char *)0;
212  SOAP_ENV__Detail = (struct SOAP_ENV__Detail *)0;
213  }
215  friend SOAP_FMAC1 SOAP_ENV__Fault * SOAP_FMAC2 graph_instantiate_SOAP_ENV__Fault(struct soap*, int, const char*, const char*, size_t*);
216 };
217 #endif
218 #endif
219 
220 /******************************************************************************\
221  * *
222  * Typedefs *
223  * *
224 \******************************************************************************/
225 
226 
227 /* stlvector.h:53 */
228 #ifndef SOAP_TYPE__QName
229 #define SOAP_TYPE__QName (5)
230 typedef char *_QName;
231 #endif
232 
233 /* stlvector.h:53 */
234 #ifndef SOAP_TYPE__XML
235 #define SOAP_TYPE__XML (6)
236 typedef char *_XML;
237 #endif
238 
239 /******************************************************************************\
240  * *
241  * Serializable Types *
242  * *
243 \******************************************************************************/
244 
245 
246 /* char has binding name 'byte' for type 'xsd:byte' */
247 #ifndef SOAP_TYPE_byte
248 #define SOAP_TYPE_byte (3)
249 #endif
250 
251 /* int has binding name 'int' for type 'xsd:int' */
252 #ifndef SOAP_TYPE_int
253 #define SOAP_TYPE_int (1)
254 #endif
255 
256 /* Graph has binding name 'Graph' for type 'g:Graph' */
257 #ifndef SOAP_TYPE_Graph
258 #define SOAP_TYPE_Graph (8)
259 #endif
260 
261 /* struct SOAP_ENV__Fault has binding name 'SOAP_ENV__Fault' for type '' */
262 #ifndef SOAP_TYPE_SOAP_ENV__Fault
263 #define SOAP_TYPE_SOAP_ENV__Fault (18)
264 #endif
265 
266 /* struct SOAP_ENV__Reason has binding name 'SOAP_ENV__Reason' for type '' */
267 #ifndef SOAP_TYPE_SOAP_ENV__Reason
268 #define SOAP_TYPE_SOAP_ENV__Reason (17)
269 #endif
270 
271 /* struct SOAP_ENV__Detail has binding name 'SOAP_ENV__Detail' for type '' */
272 #ifndef SOAP_TYPE_SOAP_ENV__Detail
273 #define SOAP_TYPE_SOAP_ENV__Detail (14)
274 #endif
275 
276 /* struct SOAP_ENV__Code has binding name 'SOAP_ENV__Code' for type '' */
277 #ifndef SOAP_TYPE_SOAP_ENV__Code
278 #define SOAP_TYPE_SOAP_ENV__Code (12)
279 #endif
280 
281 /* struct SOAP_ENV__Header has binding name 'SOAP_ENV__Header' for type '' */
282 #ifndef SOAP_TYPE_SOAP_ENV__Header
283 #define SOAP_TYPE_SOAP_ENV__Header (11)
284 #endif
285 
286 /* struct SOAP_ENV__Reason * has binding name 'PointerToSOAP_ENV__Reason' for type '' */
287 #ifndef SOAP_TYPE_PointerToSOAP_ENV__Reason
288 #define SOAP_TYPE_PointerToSOAP_ENV__Reason (20)
289 #endif
290 
291 /* struct SOAP_ENV__Detail * has binding name 'PointerToSOAP_ENV__Detail' for type '' */
292 #ifndef SOAP_TYPE_PointerToSOAP_ENV__Detail
293 #define SOAP_TYPE_PointerToSOAP_ENV__Detail (19)
294 #endif
295 
296 /* struct SOAP_ENV__Code * has binding name 'PointerToSOAP_ENV__Code' for type '' */
297 #ifndef SOAP_TYPE_PointerToSOAP_ENV__Code
298 #define SOAP_TYPE_PointerToSOAP_ENV__Code (13)
299 #endif
300 
301 /* Graph * has binding name 'PointerToGraph' for type 'g:Graph' */
302 #ifndef SOAP_TYPE_PointerToGraph
303 #define SOAP_TYPE_PointerToGraph (9)
304 #endif
305 
306 /* _XML has binding name '_XML' for type '' */
307 #ifndef SOAP_TYPE__XML
308 #define SOAP_TYPE__XML (6)
309 #endif
310 
311 /* _QName has binding name '_QName' for type 'xsd:QName' */
312 #ifndef SOAP_TYPE__QName
313 #define SOAP_TYPE__QName (5)
314 #endif
315 
316 /* char * has binding name 'string' for type 'xsd:string' */
317 #ifndef SOAP_TYPE_string
318 #define SOAP_TYPE_string (4)
319 #endif
320 
321 /* std::vector<Graph *> has binding name 'std__vectorTemplateOfPointerToGraph' for type 'g:Graph' */
322 #ifndef SOAP_TYPE_std__vectorTemplateOfPointerToGraph
323 #define SOAP_TYPE_std__vectorTemplateOfPointerToGraph (10)
324 #endif
325 
326 /******************************************************************************\
327  * *
328  * Externals *
329  * *
330 \******************************************************************************/
331 
332 
333 #endif
334 
335 /* End of graphStub.h */
int soap_type() const
Definition: graphStub.h:200
char * _XML
Definition: graphStub.h:236
SOAP_FMAC1 Graph *SOAP_FMAC2 graph_instantiate_Graph(struct soap *, int, const char *, const char *, size_t *)
int soap_type() const
Definition: graphStub.h:84
#define SOAP_TYPE_SOAP_ENV__Header
Definition: graphStub.h:79
#define SOAP_TYPE_Graph
Definition: graphStub.h:41
int soap_type() const
Definition: graphStub.h:136
virtual Graph * soap_alloc(void) const
Return a new object of type Graph, default initialized and not managed by a soap context.
Definition: graphStub.h:64
SOAP_FMAC1 struct SOAP_ENV__Header *SOAP_FMAC2 graph_instantiate_SOAP_ENV__Header(struct soap *, int, const char *, const char *, size_t *)
virtual int soap_type(void) const
Return unique type id SOAP_TYPE_Graph.
Definition: graphStub.h:50
SOAP_FMAC1 struct SOAP_ENV__Detail *SOAP_FMAC2 graph_instantiate_SOAP_ENV__Detail(struct soap *, int, const char *, const char *, size_t *)
Graph()
Constructor with initializations.
Definition: graphStub.h:67
SOAP_FMAC1 struct SOAP_ENV__Reason *SOAP_FMAC2 graph_instantiate_SOAP_ENV__Reason(struct soap *, int, const char *, const char *, size_t *)
int soap_type() const
Definition: graphStub.h:109
std::vector< Graph * > edges
Optional element &#39;edges&#39; of XSD type &#39;g:Graph&#39;.
Definition: graphStub.h:47
SOAP_FMAC1 struct SOAP_ENV__Fault *SOAP_FMAC2 graph_instantiate_SOAP_ENV__Fault(struct soap *, int, const char *, const char *, size_t *)
char * _QName
Definition: graphStub.h:230
SOAP_FMAC1 struct SOAP_ENV__Code *SOAP_FMAC2 graph_instantiate_SOAP_ENV__Code(struct soap *, int, const char *, const char *, size_t *)
#define SOAP_TYPE_SOAP_ENV__Reason
Definition: graphStub.h:153
virtual ~Graph()
Definition: graphStub.h:70
#define SOAP_TYPE_SOAP_ENV__Detail
Definition: graphStub.h:125
#define SOAP_TYPE_SOAP_ENV__Fault
Definition: graphStub.h:176
#define SOAP_TYPE_SOAP_ENV__Code
Definition: graphStub.h:98
struct SOAP_ENV__Code * SOAP_ENV__Subcode
Definition: addressStub.h:196
int soap_type() const
Definition: graphStub.h:161