~ifolder-dev/simias/trunk-packaging

« back to all changes in this revision

Viewing changes to tools/gsoap/gsoap-linux-2.7/samples/xml-rpc/.svn/text-base/xml-rpc-iters.h.svn-base

  • Committer: Jorge O. Castro
  • Date: 2007-12-03 06:56:46 UTC
  • Revision ID: jorge@ubuntu.com-20071203065646-mupcnjcwgm5mnhyt
* Remove a bunch of .svn directories we no longer need.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 
3
 
XML-RPC iterator definitions for C++
4
 
 
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
 
--------------------------------------------------------------------------------
11
 
GPL license.
12
 
 
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
16
 
version.
17
 
 
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.
21
 
 
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
25
 
 
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
 
--------------------------------------------------------------------------------
31
 
*/
32
 
 
33
 
#ifndef XML_RPC_ITERS_H
34
 
#define XML_RPC_ITERS_H
35
 
 
36
 
#ifdef __cplusplus
37
 
 
38
 
class _struct_iterator
39
 
{
40
 
private:
41
 
  struct member*        member;
42
 
public:
43
 
                        _struct_iterator();
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);
51
 
};
52
 
 
53
 
class _array_iterator
54
 
{
55
 
private:
56
 
  struct value*         start;
57
 
  struct value*         value;
58
 
public:
59
 
                        _array_iterator();
60
 
                        _array_iterator(const struct _array*);
61
 
  bool                  operator==(const _array_iterator&) const;
62
 
  bool                  operator!=(const _array_iterator&) const;
63
 
  int                   index() const;
64
 
  struct value&         operator*() const;
65
 
  _array_iterator&      operator++();
66
 
  _array_iterator&      operator+=(int);
67
 
};
68
 
 
69
 
class params_iterator
70
 
{
71
 
private:
72
 
  struct param*         start;
73
 
  struct param*         param;
74
 
public:
75
 
                        params_iterator();
76
 
                        params_iterator(const struct params*);
77
 
  bool                  operator==(const params_iterator&) const;
78
 
  bool                  operator!=(const params_iterator&) const;
79
 
  int                   index() const;
80
 
  struct value&         operator*() const;
81
 
  params_iterator&      operator++();
82
 
  params_iterator&      operator+=(int);
83
 
};
84
 
 
85
 
#endif
86
 
#endif