3
XML-RPC iterator definitions for C++
5
--------------------------------------------------------------------------------
6
gSOAP XML Web services tools
7
Copyright (C) 2001-2004, Robert van Engelen, Genivia, Inc. All Rights Reserved.
8
This software is released under one of the following two licenses:
9
GPL or Genivia's license for commercial use.
10
--------------------------------------------------------------------------------
13
This program is free software; you can redistribute it and/or modify it under
14
the terms of the GNU General Public License as published by the Free Software
15
Foundation; either version 2 of the License, or (at your option) any later
18
This program is distributed in the hope that it will be useful, but WITHOUT ANY
19
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
20
PARTICULAR PURPOSE. See the GNU General Public License for more details.
22
You should have received a copy of the GNU General Public License along with
23
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
24
Place, Suite 330, Boston, MA 02111-1307 USA
26
Author contact information:
27
engelen@genivia.com / engelen@acm.org
28
--------------------------------------------------------------------------------
29
A commercial use license is available from Genivia, Inc., contact@genivia.com
30
--------------------------------------------------------------------------------
33
#ifndef XML_RPC_ITERS_H
34
#define XML_RPC_ITERS_H
38
class _struct_iterator
41
struct member* member;
44
_struct_iterator(const struct _struct*);
45
bool operator==(const _struct_iterator&) const;
46
bool operator!=(const _struct_iterator&) const;
47
const char* index() const;
48
struct value& operator*() const;
49
_struct_iterator& operator++();
50
_struct_iterator& operator+=(int);
60
_array_iterator(const struct _array*);
61
bool operator==(const _array_iterator&) const;
62
bool operator!=(const _array_iterator&) const;
64
struct value& operator*() const;
65
_array_iterator& operator++();
66
_array_iterator& operator+=(int);
76
params_iterator(const struct params*);
77
bool operator==(const params_iterator&) const;
78
bool operator!=(const params_iterator&) const;
80
struct value& operator*() const;
81
params_iterator& operator++();
82
params_iterator& operator+=(int);