26 #ifndef __TERRALIB_XSD_INTERNAL_RESTRICTION4SIMPLETYPE_H
27 #define __TERRALIB_XSD_INTERNAL_RESTRICTION4SIMPLETYPE_H
34 #include <boost/ptr_container/ptr_vector.hpp>
95 QName* getBase()
const;
102 const boost::ptr_vector<Facet>& getFacets()
const;
109 void setBase(
QName* base);
124 void addFacet(
FacetType fType,
const std::string& value);
133 void addFacet(
Facet* f);
147 #endif // __TERRALIB_XSD_INTERNAL_RESTRICTION4SIMPLETYPE_H
boost::ptr_vector< Facet > m_facetVec
The list of facets. (Optional)
A base class for SympleType elements. List, Union and Restriction4SimpleType is derived from this bas...
SimpleType * m_simpleType
Optional.
A base class for SimpleType elements. List, Union and Restriction4SimpleType is derived from this bas...
#define TEXSDEXPORT
You can use this macro in order to export/import classes and functions from this module.
A class to be used to represent XML qualified names.
FacetType
It enumerates the available facet types.
The restriction element defines restrictions on a simpleType definition.
This class can be used to model a facet (a constraint in the range of values).
A class that models a XSD annotation element.
It models a XML Schema SimpleType element.
QName * m_base
It specifies the name of the built-in data type simpleType element that will be restricted. (Required)