wsdlpull
1.23
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
src
schemaparser
Schema.h
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
#ifndef SCHEMA_H
22
23
#define SCHEMA_H
24
// *********************************************************************
25
// Include files:
26
// *********************************************************************
27
#include <string>
28
29
namespace
Schema {
30
31
// enums ,compositors
32
typedef
enum
{
33
Sequence
,
34
Choice
,
35
All
36
}
Compositor
;
37
38
typedef
enum
{
39
Restriction
,
40
Extension
41
}
Derivation
;
42
43
//Content Model
44
typedef
enum
{
45
None
,
46
Simple
,
47
Complex
,
48
Mixed
49
}
ContentModelType
;
50
51
typedef
enum
{
52
NoConstraint
,
53
Key
,
54
Keyref
,
55
Unique
56
}
ConstraintType
;
57
58
//List of primitive types
59
typedef
enum
60
{
61
XSD_INVALID
,
62
XSD_SCHEMA
,
63
XSD_STRING
,
64
XSD_INTEGER
,
65
XSD_INT
,
66
XSD_BYTE
,
67
XSD_POSINT
,
68
XSD_UINT
,
69
XSD_LONG
,
70
XSD_ULONG
,
71
XSD_SHORT
,
72
XSD_USHORT
,
73
XSD_DECIMAL
,
74
XSD_FLOAT
,
75
XSD_DOUBLE
,
76
XSD_BOOLEAN
,
77
XSD_TIME
,
78
XSD_DATETIME
,
79
XSD_DATE
,
80
XSD_TOKEN
,
81
XSD_QNAME
,
82
XSD_NCNAME
,
83
XSD_NMTOKEN
,
84
XSD_NMTOKENS
,
85
XSD_BASE64BIN
,
86
XSD_HEXBIN
,
87
XSD_ANY
,
88
XSD_ANYTYPE
,
89
XSD_ANYURI
90
}
Type
;
91
92
const
std::string
SchemaUri
=
"http://www.w3.org/2001/XMLSchema"
;
93
const
std::string
SchemaInstaceUri
=
"http://www.w3.org/2001/XMLSchema-instance"
;
94
}
95
#endif // SCHEMA_H
Schema::XSD_POSINT
Definition:
Schema.h:67
Schema::XSD_NMTOKEN
Definition:
Schema.h:83
Schema::XSD_INT
Definition:
Schema.h:65
Schema::XSD_BOOLEAN
Definition:
Schema.h:76
Schema::XSD_HEXBIN
Definition:
Schema.h:86
Schema::XSD_TIME
Definition:
Schema.h:77
Schema::Restriction
Definition:
Schema.h:39
Schema::NoConstraint
Definition:
Schema.h:52
Schema::Unique
Definition:
Schema.h:55
Schema::XSD_INVALID
Definition:
Schema.h:61
Schema::XSD_SHORT
Definition:
Schema.h:71
Schema::Key
Definition:
Schema.h:53
Schema::SchemaInstaceUri
const std::string SchemaInstaceUri
Definition:
Schema.h:93
Schema::Simple
Definition:
Schema.h:46
Schema::XSD_UINT
Definition:
Schema.h:68
Schema::XSD_USHORT
Definition:
Schema.h:72
Schema::XSD_SCHEMA
Definition:
Schema.h:62
Schema::Mixed
Definition:
Schema.h:48
Schema::XSD_DATE
Definition:
Schema.h:79
Schema::Extension
Definition:
Schema.h:40
Schema::XSD_NMTOKENS
Definition:
Schema.h:84
Schema::XSD_BYTE
Definition:
Schema.h:66
Schema::XSD_ANYTYPE
Definition:
Schema.h:88
Schema::ContentModelType
ContentModelType
Definition:
Schema.h:44
Schema::XSD_DOUBLE
Definition:
Schema.h:75
Schema::XSD_INTEGER
Definition:
Schema.h:64
Schema::Sequence
Definition:
Schema.h:33
Schema::XSD_BASE64BIN
Definition:
Schema.h:85
Schema::All
Definition:
Schema.h:35
Schema::XSD_FLOAT
Definition:
Schema.h:74
Schema::XSD_DATETIME
Definition:
Schema.h:78
Schema::Compositor
Compositor
Definition:
Schema.h:32
Schema::XSD_LONG
Definition:
Schema.h:69
Schema::XSD_DECIMAL
Definition:
Schema.h:73
Schema::XSD_TOKEN
Definition:
Schema.h:80
Schema::XSD_NCNAME
Definition:
Schema.h:82
Schema::XSD_QNAME
Definition:
Schema.h:81
Schema::Derivation
Derivation
Definition:
Schema.h:38
Schema::Type
Type
Definition:
Schema.h:59
Schema::XSD_ANYURI
Definition:
Schema.h:89
Schema::XSD_STRING
Definition:
Schema.h:63
Schema::Keyref
Definition:
Schema.h:54
Schema::None
Definition:
Schema.h:45
Schema::SchemaUri
const std::string SchemaUri
Definition:
Schema.h:92
Schema::ConstraintType
ConstraintType
Definition:
Schema.h:51
Schema::XSD_ULONG
Definition:
Schema.h:70
Schema::Choice
Definition:
Schema.h:34
Schema::XSD_ANY
Definition:
Schema.h:87
Schema::Complex
Definition:
Schema.h:47
Generated by
1.8.7