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