49 : m_namePool(namePool)
53 , m_elementDescriptions(setupElementDescriptions())
95 ReservedForElements = 60
99 elementDescriptions.reserve(ReservedForElements);
XsdSchemaParserContext(const NamePool::Ptr &namePool, const XsdSchemaContext::Ptr &context)
#define QT_END_NAMESPACE
This macro expands to.
XsdSchema::Ptr schema() const
XsdSchemaResolver::Ptr resolver() const
Represents a XSD schema object.
bool ref()
Atomically increments the value of this QAtomicInt.
The QString class provides a Unicode character string.
QXmlName createAnonymousName(const QString &targetNamespace) const
const ElementDescription< XsdSchemaToken, XsdTagScope::Type >::Hash m_elementDescriptions
#define QT_BEGIN_NAMESPACE
This macro expands to.
Encapsulates the resolving of type/element references in a schema after parsing has finished...
XsdSchemaChecker::Ptr m_checker
NamePool::Ptr namePool() const
The namespace for the internal API of QtXmlPatterns.
const_iterator insert(const T &value)
Encapsulates the checking of schema valitity after reference resolving has finished.
XsdSchemaResolver::Ptr m_resolver
ElementDescription< XsdSchemaToken, XsdTagScope::Type >::Hash elementDescriptions() const
#define Q_ASSERT_X(cond, where, what)
static ElementDescription< XsdSchemaToken, XsdTagScope::Type >::Hash setupElementDescriptions()
QString arg(qlonglong a, int fieldwidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
The QXmlName class represents the name of an XML node, in an efficient, namespace-aware way...
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...
QXmlName allocateQName(const QString &uri, const QString &localName, const QString &prefix=QString())
QSet< typename TokenLookupClass::NodeName > requiredAttributes
XsdSchemaChecker::Ptr checker() const
QSet< typename TokenLookupClass::NodeName > optionalAttributes
A structure that lists the optional and required attributes of an element. Used with MaintainingReade...
#define qPrintable(string)
QAtomicInt m_anonymousNameCounter