26 #ifndef __TERRALIB_XSD_INTERNAL_REDEFINE_H
27 #define __TERRALIB_XSD_INTERNAL_REDEFINE_H
33 #include <boost/ptr_container/ptr_vector.hpp>
62 Redefine(
const std::string& schemaLocation, std::string*
id = 0);
92 const std::string& getSchemaLocation()
const;
99 const boost::ptr_vector<Annotation>& getAnnotations()
const;
106 const boost::ptr_vector<Type>& getTypes()
const;
113 const boost::ptr_vector<Group>& getGroups()
const;
120 const boost::ptr_vector<AttributeGroup>& getAttributeGroups()
const;
127 void setSchemaLocation(
const std::string& schemaLocation);
145 void addType(
Type* t);
154 void addGroup(
Group* g);
177 #endif // __TERRALIB_XSD_INTERNAL_REDEFINE_H
boost::ptr_vector< Type > m_typeVec
The list of simple and complex types at redefine element. (Optional)
boost::ptr_vector< AttributeGroup > m_attributeGroupVec
The list of attribute group declarations at redefine element. (Optional)
std::string m_schemaLocation
It specifies a URI to the location of a schema document. (Required)
boost::ptr_vector< Annotation > m_annotationVec
The list of annotations at redefine element. (Optional)
It models a XML Schema redefine.
boost::ptr_vector< Group > m_groupVec
The list of group declarations at redefine element. (Optional)
A base class for XSD classes that must provide a unique ID property.
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.
A class that models a XSD annotation element.
This class models a group element in a XML Schema.
An abstract class for modeling the definition of a new XML Schema Type.