26 #ifndef __TERRALIB_XSD_INTERNAL_RESTRICTION4SIMPLECONTENT_H
27 #define __TERRALIB_XSD_INTERNAL_RESTRICTION4SIMPLECONTENT_H
36 #include <boost/ptr_container/ptr_vector.hpp>
43 class AbstractAttribute;
96 QName* getBase()
const;
103 const boost::ptr_vector<Facet>& getFacets()
const;
110 const boost::ptr_vector<AbstractAttribute>& getAttributes()
const;
126 void setBase(
QName* base);
143 void addFacet(
FacetType fType,
const std::string& value);
152 void addFacet(
Facet* f);
187 #endif // __TERRALIB_XSD_INTERNAL_RESTRICTION4SIMPLECONTENT_H
AnyAttribute * m_anyAttr
The anyAttribute element. (Optional)
A base class for XSD classes that may allow annotation.
A base class for XSD classes that may allow annotation.
boost::ptr_vector< Facet > m_facetVec
The list of facets. (Optional)
TypeDerivation * clone() const
SimpleType, SimpleContent and ComplexContent can be used to extend other types. This is just a base c...
It models an XML anyAttribute element.
This restriction class defines restrictions on a simpleContent.
This is the base class for XML Schema Attribute classes.
A base class for XSD classes that must provide a unique ID property.
SimpleType, SimpleContent and ComplexContent can be extend other types. This is just a base class for...
A base class for XSD classes that must provide a unique ID property.
#define TEXSDEXPORT
You can use this macro in order to export/import classes and functions from this module.
boost::ptr_vector< AbstractAttribute > m_attributeVec
The list of attributes (attributes and attributeGroups). (Optional)
A class to be used to represent XML qualified names.
QName * m_base
It specifies the name of a built-in data type, simpleType element or complexType element defined in t...
FacetType
It enumerates the available facet types.
This class can be used to model a facet (a constraint in the range of values).
SimpleType * m_simpleType
Optional.
It models a XML Schema SimpleType element.