52 #ifndef Patternist_GenericDynamicContext_H 53 #define Patternist_GenericDynamicContext_H
ResourceLoader::Ptr m_resourceLoader
A DynamicContext supplying basic information that always is used.
virtual xsInteger contextPosition() const
virtual void setFocusIterator(const Item::Iterator::Ptr &it)
A push interface for the XPath Data Model. Similar to SAX's ContentHandler.
#define QT_END_NAMESPACE
This macro expands to.
virtual Item::Iterator::Ptr focusIterator() const
#define it(className, varName)
virtual QAbstractXmlReceiver * outputReceiver() const
const QAbstractUriResolver * m_uriResolver
The QExplicitlySharedDataPointer class represents a pointer to an explicitly shared object...
virtual void addNodeModel(const QAbstractXmlNodeModel::Ptr &nm)
const LocationHash m_locations
The QUrl class provides a convenient interface for working with URLs.
virtual QDateTime currentDateTime() const
virtual QExplicitlySharedDataPointer< TemplateMode > currentTemplateMode() const
Returns the current template mode that is in effect.
The QHash class is a template class that provides a hash-table-based dictionary.
virtual const QAbstractUriResolver * uriResolver() const
The URI resolver in use.
virtual ItemSequenceCacheCell::Vector & globalItemSequenceCacheCells(const VariableSlotID slot)
virtual xsInteger contextSize()
virtual NodeBuilder::Ptr nodeBuilder(const QUrl &baseURI) const
The QAbstractUriResolver class is a callback interface for resolving Uniform Resource Identifiers...
#define QT_BEGIN_NAMESPACE
This macro expands to.
const QDateTime m_currentDateTime
virtual Item contextItem() const
void setResourceLoader(const ResourceLoader::Ptr &loader)
Base class for all DynamicContext classes that needs to supply variables. It has a new frame for loca...
NodeBuilder::Ptr m_nodeBuilder
The namespace for the internal API of QtXmlPatterns.
ExternalVariableLoader::Ptr m_externalVariableLoader
Represents a cache entry for a single Item, as opposed to for a sequence of items.
The QSourceLocation class identifies a location in a resource by URI, line, and column.
virtual ResourceLoader::Ptr resourceLoader() const
ItemCacheCell::Vector m_globalItemCacheCells
virtual NamePool::Ptr namePool() const
virtual QExplicitlySharedDataPointer< DayTimeDuration > implicitTimezone() const
QAbstractXmlNodeModel::List m_nodeModels
QAbstractXmlReceiver * m_outputReceiver
virtual ExternalVariableLoader::Ptr externalVariableLoader() const
void setExternalVariableLoader(const ExternalVariableLoader::Ptr &loader)
The QDateTime class provides date and time functions.
Represents an item in the XPath 2.0 Data Model.
The QAbstractMessageHandler class provides a callback interface for handling messages.
virtual QAbstractMessageHandler * messageHandler() const
GenericDynamicContext(const NamePool::Ptr &np, QAbstractMessageHandler *const messageHandler, const LocationHash &locations)
virtual Item currentItem() const
QExplicitlySharedDataPointer< GenericDynamicContext > Ptr
virtual QSourceLocation locationFor(const SourceLocationReflection *const reflection) const
Returns the source location applying for reflection.
void setUriResolver(const QAbstractUriResolver *const resolver)
ItemSequenceCacheCell::Vector m_globalItemSequenceCacheCells
virtual ItemCacheCell & globalItemCacheCell(const VariableSlotID slot)
void setNodeBuilder(NodeBuilder::Ptr &builder)
void setOutputReceiver(QAbstractXmlReceiver *const receiver)
const DayTimeDuration::Ptr m_zoneOffset
QAbstractMessageHandler * m_messageHandler
virtual DynamicContext::Ptr previousContext() const
Returns always null, since we're always a top-level context.
Base class for all instances that represents something at a certain location.