52 #ifndef PATTERNIST_VARIABLELOADER_P_H 53 #define PATTERNIST_VARIABLELOADER_P_H 55 #include <QtCore/QSet> 56 #include <QtXmlPatterns/QXmlQuery> The QVariant class acts like a union for the most common Qt data types.
QHash< QXmlName, QVariant > BindingHash
VariableLoader(const NamePool::Ptr &np, const VariableLoader::Ptr &previousLoader=VariableLoader::Ptr())
#define QT_END_NAMESPACE
This macro expands to.
VariableLoader::Ptr m_previousLoader
virtual QPatternist::Item::Iterator::Ptr evaluateSequence(const QXmlName name, const QPatternist::DynamicContext::Ptr &)
virtual QPatternist::Item evaluateSingleton(const QXmlName name, const QPatternist::DynamicContext::Ptr &)
const NamePool::Ptr m_namePool
#define QT_BEGIN_NAMESPACE
This macro expands to.
void removeBinding(const QXmlName &name)
The namespace for the internal API of QtXmlPatterns.
QVariant valueFor(const QXmlName &name) const
QExplicitlySharedDataPointer< VariableLoader > Ptr
bool invalidationRequired(const QXmlName &name, const QVariant &variant) const
void addBinding(const QXmlName &name, const QVariant &value)
bool hasBinding(const QXmlName &name) const
Responsible for loading and declaring available external variables.
The QXmlName class represents the name of an XML node, in an efficient, namespace-aware way...
Represents an item in the XPath 2.0 Data Model.
virtual QPatternist::SequenceType::Ptr announceExternalVariable(const QXmlName name, const QPatternist::SequenceType::Ptr &declaredType)
QPatternist::Item itemForName(const QXmlName &name) const
bool isSameType(const QVariant &v1, const QVariant &v2) const
The QIODevice class is the base interface class of all I/O devices in Qt.
BindingHash m_bindingHash
The QXmlQuery class performs XQueries on XML data, or on non-XML data modeled to look like XML...