50 merge(schema, otherSchema);
65 for (
int i = 0; i < elements.
count(); ++i) {
70 for (
int i = 0; i < attributes.
count(); ++i) {
75 for (
int i = 0; i < types.
count(); ++i) {
80 for (
int i = 0; i < anonymousTypes.
count(); ++i) {
85 for (
int i = 0; i < elementGroups.
count(); ++i) {
90 for (
int i = 0; i < attributeGroups.
count(); ++i) {
95 for (
int i = 0; i < notations.
count(); ++i) {
100 for (
int i = 0; i < identityConstraints.
count(); ++i) {
108 for (
int i = 0; i < elements.
count(); ++i) {
114 for (
int i = 0; i < attributes.
count(); ++i) {
120 for (
int i = 0; i < types.
count(); ++i) {
126 for (
int i = 0; i < anonymousTypes.
count(); ++i) {
132 for (
int i = 0; i < elementGroups.
count(); ++i) {
138 for (
int i = 0; i < attributeGroups.
count(); ++i) {
144 for (
int i = 0; i < notations.
count(); ++i) {
150 for (
int i = 0; i < identityConstraints.
count(); ++i) {
void addElement(const XsdElement::Ptr &element)
XsdSchema::Ptr mergedSchema() const
#define QT_END_NAMESPACE
This macro expands to.
XsdElement::Ptr element(const QXmlName &name) const
XsdAttributeGroup::Ptr attributeGroup(const QXmlName name) const
XsdIdentityConstraint::Ptr identityConstraint(const QXmlName &name) const
void addAttributeGroup(const XsdAttributeGroup::Ptr &group)
Represents a XSD schema object.
SchemaType::List anonymousTypes() const
int count(const T &t) const
Returns the number of occurrences of value in the list.
XsdModelGroup::List elementGroups() const
XsdSchemaMerger(const XsdSchema::Ptr &schema, const XsdSchema::Ptr &otherSchema)
void addIdentityConstraint(const XsdIdentityConstraint::Ptr &constraint)
#define QT_BEGIN_NAMESPACE
This macro expands to.
void addNotation(const XsdNotation::Ptr ¬ation)
XsdIdentityConstraint::List identityConstraints() const
const T & at(int i) const
Returns the item at index position i in the list.
XsdModelGroup::Ptr elementGroup(const QXmlName &name) const
XsdNotation::Ptr notation(const QXmlName &name) const
The namespace for the internal API of QtXmlPatterns.
XsdNotation::List notations() const
QExplicitlySharedDataPointer< XsdSchema > Ptr
SchemaType::Ptr type(const QXmlName &name) const
virtual QXmlName name(const NamePool::Ptr &namePool) const
XsdSchema::Ptr m_mergedSchema
void addAnonymousType(const SchemaType::Ptr &type)
XsdAttribute::List attributes() const
XsdAttribute::Ptr attribute(const QXmlName &name) const
static const QTextHtmlElement elements[Html_NumElements]
void addElementGroup(const XsdModelGroup::Ptr &group)
XsdAttributeGroup::List attributeGroups() const
void merge(const XsdSchema::Ptr &schema, const XsdSchema::Ptr &otherSchema)
void addType(const SchemaType::Ptr &type)
SchemaType::List types() const
virtual QXmlName name(const NamePool::Ptr &np) const =0
Returns the name of the type.
XsdElement::List elements() const
void addAttribute(const XsdAttribute::Ptr &attribute)
NamePool::Ptr namePool() const