wsdlpull
svntrunk
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
Definition:
Annotation.h:27
Schema::ConstraintType
ConstraintType
Definition:
Schema.h:51
Schema::Keyref
@ Keyref
Definition:
Schema.h:54
Schema::Key
@ Key
Definition:
Schema.h:53
Schema::NoConstraint
@ NoConstraint
Definition:
Schema.h:52
Schema::Unique
@ Unique
Definition:
Schema.h:55
Schema::Compositor
Compositor
Definition:
Schema.h:32
Schema::Sequence
@ Sequence
Definition:
Schema.h:33
Schema::Choice
@ Choice
Definition:
Schema.h:34
Schema::All
@ All
Definition:
Schema.h:35
Schema::Derivation
Derivation
Definition:
Schema.h:38
Schema::Extension
@ Extension
Definition:
Schema.h:40
Schema::Restriction
@ Restriction
Definition:
Schema.h:39
Schema::SchemaUri
const std::string SchemaUri
Definition:
Schema.h:92
Schema::ContentModelType
ContentModelType
Definition:
Schema.h:44
Schema::Mixed
@ Mixed
Definition:
Schema.h:48
Schema::None
@ None
Definition:
Schema.h:45
Schema::Simple
@ Simple
Definition:
Schema.h:46
Schema::Complex
@ Complex
Definition:
Schema.h:47
Schema::Type
Type
Definition:
Schema.h:60
Schema::XSD_POSINT
@ XSD_POSINT
Definition:
Schema.h:67
Schema::XSD_INVALID
@ XSD_INVALID
Definition:
Schema.h:61
Schema::XSD_NCNAME
@ XSD_NCNAME
Definition:
Schema.h:82
Schema::XSD_UINT
@ XSD_UINT
Definition:
Schema.h:68
Schema::XSD_NMTOKENS
@ XSD_NMTOKENS
Definition:
Schema.h:84
Schema::XSD_ANYTYPE
@ XSD_ANYTYPE
Definition:
Schema.h:88
Schema::XSD_USHORT
@ XSD_USHORT
Definition:
Schema.h:72
Schema::XSD_DOUBLE
@ XSD_DOUBLE
Definition:
Schema.h:75
Schema::XSD_LONG
@ XSD_LONG
Definition:
Schema.h:69
Schema::XSD_HEXBIN
@ XSD_HEXBIN
Definition:
Schema.h:86
Schema::XSD_BASE64BIN
@ XSD_BASE64BIN
Definition:
Schema.h:85
Schema::XSD_NMTOKEN
@ XSD_NMTOKEN
Definition:
Schema.h:83
Schema::XSD_QNAME
@ XSD_QNAME
Definition:
Schema.h:81
Schema::XSD_TOKEN
@ XSD_TOKEN
Definition:
Schema.h:80
Schema::XSD_SHORT
@ XSD_SHORT
Definition:
Schema.h:71
Schema::XSD_DATETIME
@ XSD_DATETIME
Definition:
Schema.h:78
Schema::XSD_SCHEMA
@ XSD_SCHEMA
Definition:
Schema.h:62
Schema::XSD_TIME
@ XSD_TIME
Definition:
Schema.h:77
Schema::XSD_FLOAT
@ XSD_FLOAT
Definition:
Schema.h:74
Schema::XSD_DECIMAL
@ XSD_DECIMAL
Definition:
Schema.h:73
Schema::XSD_BYTE
@ XSD_BYTE
Definition:
Schema.h:66
Schema::XSD_ULONG
@ XSD_ULONG
Definition:
Schema.h:70
Schema::XSD_INTEGER
@ XSD_INTEGER
Definition:
Schema.h:64
Schema::XSD_INT
@ XSD_INT
Definition:
Schema.h:65
Schema::XSD_STRING
@ XSD_STRING
Definition:
Schema.h:63
Schema::XSD_DATE
@ XSD_DATE
Definition:
Schema.h:79
Schema::XSD_BOOLEAN
@ XSD_BOOLEAN
Definition:
Schema.h:76
Schema::XSD_ANY
@ XSD_ANY
Definition:
Schema.h:87
Schema::XSD_ANYURI
@ XSD_ANYURI
Definition:
Schema.h:89
Schema::SchemaInstaceUri
const std::string SchemaInstaceUri
Definition:
Schema.h:93
Generated by
1.9.2