26 #ifndef __TERRALIB_XSD_INTERNAL_COMPLEXTYPE_H
27 #define __TERRALIB_XSD_INTERNAL_COMPLEXTYPE_H
36 #include <boost/ptr_container/ptr_vector.hpp>
43 class AbstractAttribute;
95 std::string* getName()
const;
151 const boost::ptr_vector<AbstractAttribute>& getAttributes()
const;
167 void setName(std::string* name);
174 void setAsAbstract(
bool v);
181 void setAsMixed(
bool v);
188 void setBlock(
int v);
195 void setFinal(
int v);
266 #endif // __TERRALIB_XSD_INTERNAL_COMPLEXTYPE_H
bool m_abstract
It specifies whether the complex type can be used in an instance document (optional). True indicates that an element cannot use this complex type directly but must use a complex type derived from this complex type. Default is false.
bool m_mixed
It specifies whether character data is allowed to appear between the child elements of this complexTy...
boost::ptr_vector< AbstractAttribute > m_attributeVec
It can be: (attribute|attributeGroup)*. If m_sContent or m_cContent is present, this must be NULL...
std::string * m_name
The type name if it is not an unonoymous type (declared inside a element definition).
It models an XML Schema complexContent element.
int m_block
It prevents an element with a specified type of derivation from being used in place of this element...
An abstract class for modeling the definition of a new XML Schema Type.
#define TEXSDEXPORT
You can use this macro in order to export/import classes and functions from this module.
It models a XML Schema Complex Type definition.
This is the base class for XML Schema Attribute classes.
A base class for elements that are not definitions nor declarations. This class is just for creating ...
A class that models an XML Schema simpleContent element.
A base class for XSD classes that must provide a unique ID property.
It models an XML anyAttribute element.
SimpleContent * m_sContent
SimpleContent. If m_cContent is present this must be NULL. Likewise if m_content or m_attributes or m...
A class that models a XSD annotation element.
A base class for XSD classes that must provide a unique ID property.
int m_final
It sets the default value of the final attribute on the element element. This attribute cannot be use...
A base class for XSD classes that may allow annotation.
ComplexContent * m_cContent
ComplexContent. If m_sContent is present this must be NULL. Likewise if m_content or m_attributes or ...
A base class for XSD classes that may allow annotation.
Content * m_content
It can be: group|all|choice|sequence. If m_sContent or m_cContent is present, this must be NULL...
An abstract class for modeling the definition of a new XML Schema Type.
AnyAttribute * m_anyAttr
A pointer to a anyAttribute. If m_sContent or m_cContent is present, this must be NULL...