te::xsd Namespace Reference

Namespaces

 serialize
 

Classes

class  AbstractAttribute
 This is the base class for XML Schema Attribute classes. More...
 
class  All
 This class models an XML Schema all element. More...
 
class  Annotated
 A base class for XSD classes that may allow annotation. More...
 
class  Annotation
 A class that models a XSD annotation element. More...
 
class  AnnotationItem
 A base class for XSD annotation elements. More...
 
class  Any
 It models the XML Schema any element. More...
 
class  AnyAttribute
 It models an XML anyAttribute element. More...
 
class  AppInfo
 This class models an object that specifies information to be used by applications. More...
 
class  Attribute
 It models a XML Schema attribute. More...
 
class  AttributeGroup
 
class  Choice
 This class models the XML Schema choice element. More...
 
class  ComplexContent
 It models an XML Schema complexContent element. More...
 
class  ComplexType
 It models a XML Schema Complex Type definition. More...
 
class  Content
 A base class for elements that are not definitions nor declarations. This class is just for creating a hierarchy for All, Choice, Group and Sequence classes. More...
 
class  Documentation
 A class that models a documentation element used to enter text comments in annotations. More...
 
class  Element
 This class models the element of a XML Schema. More...
 
class  Extension
 This class models an extension element that can be used to extend an existing simpleType or complexType element. More...
 
class  Facet
 This class can be used to model a facet (a constraint in the range of values). More...
 
class  Field
 It models the field element of an XML Schema. More...
 
class  Group
 This class models a group element in a XML Schema. More...
 
class  Identifiable
 A base class for XSD classes that must provide a unique ID property. More...
 
class  IdentityConstraint
 This is the base class for XML Schema elements that are related to identity constraint. More...
 
class  Import
 It models a XML Schema import. More...
 
class  Include
 It models a XML Schema include. More...
 
class  Key
 This class models a key element from an XML Schema. More...
 
class  KeyRef
 This class models a keyref element from a XML Schema element. More...
 
class  List
 It is used to define a simple type element as a list of values. More...
 
class  Notation
 This class models a notation element from a XML Schema. More...
 
class  Occurs
 A base class for XSD classes that have occurs attributes. More...
 
class  QName
 A class to be used to represent XML qualified names. More...
 
class  Redefine
 It models a XML Schema redefine. More...
 
class  Restriction4ComplexContent
 The restriction class can be used to define restrictions on a complexContent. More...
 
class  Restriction4SimpleContent
 This restriction class defines restrictions on a simpleContent. More...
 
class  Restriction4SimpleType
 The restriction element defines restrictions on a simpleType definition. More...
 
class  Schema
 A class that models a XML schema (XSD). More...
 
class  Selector
 It models the selector element of an XML Schema. More...
 
class  Sequence
 This class models a sequence element in a XML Schema. More...
 
class  SimpleBuiltInType
 A class for representing built-in XML Schema types. More...
 
class  SimpleContent
 A class that models an XML Schema simpleContent element. More...
 
class  SimpleType
 It models a XML Schema SimpleType element. More...
 
class  SimpleTypeConstructor
 A base class for SympleType elements. List, Union and Restriction4SimpleType is derived from this base class. More...
 
class  Type
 An abstract class for modeling the definition of a new XML Schema Type. More...
 
class  TypeDerivation
 SimpleType, SimpleContent and ComplexContent can be extend other types. This is just a base class for the type extension mechanism. More...
 
class  Union
 It defines a simple type as a collection (union) of values from specified simple data types. More...
 
class  Unique
 It models the unique element in an XML Schema. More...
 

Enumerations

enum  AttributeUse { REQUIRED, OPTIONAL, PROHIBITED }
 It specifies how the attribute is used. More...
 
enum  BuiltInType { TODO }
 It enumerates the available built-in types. More...
 
enum  DerivationType {
  UNKNOWN = 0, EXTENSION = 1, RESTRICTION = 2, SUBSTITUTION = 4,
  LIST = 8, UNION = 16, ALL = 32
}
 It specifies the list of possible derivation types. More...
 
enum  FacetType {
  Enumeration, FractionDigits, Length, MaxExclusive,
  MaxInclusive, MaxLength, MinExclusive, MinInclusive,
  MinLength, Pattern, TotalDigits, WhiteSpace
}
 It enumerates the available facet types. More...
 
enum  Form { Qualified, Unqualified }
 It specifies the form for the attribute. More...
 
enum  ProcessContents { STRICT, LAX, SKIP }
 It enumerates the possible ways that the XML processor should handle validation against the elements specified by an any element. More...
 

Functions

int ExtractExtension (const char *value)
 It extracts an integer value that is a combination of: #all|list of (extension|restriction|substitution). More...
 
TEXSDEXPORT SchemaRead (const std::string &file_name)
 

Enumeration Type Documentation

It specifies how the attribute is used.

Enumerator
REQUIRED 

It indicates that the attribute use is required.

OPTIONAL 

It indicates that the attribute use is optional. This is the default.

PROHIBITED 

It indicates that the attribute cannot be used.

Definition at line 69 of file Enums.h.

It enumerates the available built-in types.

Enumerator
TODO 

TODO.

Definition at line 81 of file Enums.h.

It specifies the list of possible derivation types.

Enumerator
UNKNOWN 
EXTENSION 
RESTRICTION 
SUBSTITUTION 
LIST 
UNION 
ALL 

Definition at line 53 of file Enums.h.

It enumerates the available facet types.

Enumerator
Enumeration 

Defines a list of acceptable values.

FractionDigits 

Specifies the maximum number of decimal places allowed.

Length 

Specifies the exact number of characters or list items allowed.

MaxExclusive 

Specifies the upper bounds for numeric values. (<)

MaxInclusive 

Specifies the upper bounds for numeric values. (<=)

MaxLength 

Specifies the maximum number of characters or list items allowed.

MinExclusive 

Specifies the lower bounds for numeric values. (>)

MinInclusive 

Specifies the lower bounds for numeric values. (>=)

MinLength 

Specifies the minimum number of characters or list items allowed.

Pattern 

Defines the exact sequence of characters that are acceptable.

TotalDigits 

Specifies the maximum number of digits allowed.

WhiteSpace 

Specifies how white space (line feeds, tabs, spaces and carriage returns) is handled.

Definition at line 91 of file Enums.h.

It specifies the form for the attribute.

Enumerator
Qualified 

It indicates that the attribute attribute must be qualified with the namespace prefix and the no-colon-name (NCName) of the attribute.

Unqualified 

It indicates that the attribute attribute is not required to be qualified with the namespace prefix and is matched against the (NCName) of the attribute.

Definition at line 112 of file Enums.h.

It enumerates the possible ways that the XML processor should handle validation against the elements specified by an any element.

Enumerator
STRICT 

The XML processor must obtain the schema for the required namespaces and validate the elements (this is default).

LAX 

Same as strict but; if the schema cannot be obtained, no errors will occur.

SKIP 

The XML processor does not attempt to validate any elements from the specified namespaces.

Definition at line 123 of file Enums.h.

Function Documentation

int te::xsd::ExtractExtension ( const char *  value)
inline

It extracts an integer value that is a combination of: #all|list of (extension|restriction|substitution).

Returns
An integer value that is a combination of: #all|list of (extension|restriction|substitution).
See also
DerivationType

Definition at line 47 of file Utils.h.

References ALL, EXTENSION, RESTRICTION, and SUBSTITUTION.

TEXSDEXPORT Schema* te::xsd::Read ( const std::string &  file_name)