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
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.
It models an XML Schema complexContent element.
AnyAttribute * m_anyAttr
A pointer to a anyAttribute. If m_sContent or m_cContent is present, this must be NULL...
A base class for XSD classes that may allow annotation.
A base class for XSD classes that may allow annotation.
bool m_mixed
It specifies whether character data is allowed to appear between the child elements of this complexTy...
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.
A base class for elements that are not definitions nor declarations. This class is just for creating ...
int m_final
It sets the default value of the final attribute on the element element. This attribute cannot be use...
It models an XML anyAttribute element.
This is the base class for XML Schema Attribute classes.
int m_block
It prevents an element with a specified type of derivation from being used in place of this element...
It models a XML Schema Complex Type definition.
std::string * m_name
The type name if it is not an unonoymous type (declared inside a element definition).
A base class for XSD classes that must provide a unique ID property.
SimpleContent * m_sContent
SimpleContent. If m_cContent is present this must be NULL. Likewise if m_content or m_attributes or m...
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.
ComplexContent * m_cContent
ComplexContent. If m_sContent is present this must be NULL. Likewise if m_content or m_attributes or ...
A class that models an XML Schema simpleContent element.
boost::ptr_vector< AbstractAttribute > m_attributeVec
It can be: (attribute|attributeGroup)*. If m_sContent or m_cContent is present, this must be NULL...
A class that models a XSD annotation element.
An abstract class for modeling the definition of a new XML Schema Type.