wsdlpull
1.23
Main Page
Namespaces
Classes
Files
File List
File Members
src
schemaparser
Group.cpp
Go to the documentation of this file.
1
/*
2
* wsdlpull - A C++ parser for WSDL (Web services description language)
3
* Copyright (C) 2005-2007 Vivek Krishna
4
*
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Library General Public
7
* License as published by the Free Software Foundation; either
8
* version 2 of the License, or (at your option) any later version.
9
*
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Library General Public License for more details.
14
*
15
* You should have received a copy of the GNU Library General Public
16
* License along with this library; if not, write to the Free
17
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
*
19
*/
20
21
// *********************************************************************
22
// Include files:
23
// *********************************************************************
24
#include "
schemaparser/Element.h
"
25
#include "
schemaparser/Group.h
"
26
27
namespace
Schema
{
28
Group::Group
()
29
:maxOccurs_(1),
30
minOccurs_(1)
31
{
32
}
33
34
Group::Group
(
const
std::string & n,
35
int
minimum,
36
int
maximum)
37
:maxOccurs_(maximum),
38
minOccurs_(minimum),
39
name_(n),
40
cm_(0),
41
ref_(false)
42
{
43
}
44
45
Group::Group
(
const
Group
& g)
46
:maxOccurs_(g.maxOccurs_),
47
minOccurs_(g.minOccurs_),
48
name_(g.name_),
49
cm_(g.cm_),
50
ref_(true)
51
{
52
}
53
54
Group::~Group
()
55
{
56
if
(ref_==
false
&& cm_)
57
delete
cm_;
58
}
59
}
Schema::Group::Group
Group()
Definition:
Group.cpp:28
Group.h
Schema::Group
Definition:
Group.h:33
Schema::Group::~Group
~Group()
Definition:
Group.cpp:54
Schema
Definition:
Annotation.h:27
Element.h
Generated by
1.8.9.1