52 #ifndef Patternist_DynamicContext_H 53 #define Patternist_DynamicContext_H 70 template<
typename T>
class QVector;
74 class DayTimeDuration;
123 const Item &newValue) = 0;
virtual NamePool::Ptr namePool() const =0
virtual void addNodeModel(const QAbstractXmlNodeModel::Ptr &nm)=0
A push interface for the XPath Data Model. Similar to SAX's ContentHandler.
#define QT_END_NAMESPACE
This macro expands to.
QHash< QXmlName, QExplicitlySharedDataPointer< Expression > > TemplateParameterHash
Carries template parameters at runtime.
#define it(className, varName)
virtual QExplicitlySharedDataPointer< DayTimeDuration > implicitTimezone() const =0
virtual ItemSequenceCacheCell::Vector & globalItemSequenceCacheCells(const VariableSlotID slot)=0
Due to strong interdependencies, this file contains the definitions for the classes Item...
virtual Item rangeVariable(const VariableSlotID slot) const =0
DynamicContext::Ptr createStack()
virtual Item::Iterator::Ptr positionIterator(const VariableSlotID slot) const =0
virtual void setExpressionVariable(const VariableSlotID slot, const QExplicitlySharedDataPointer< Expression > &newValue)=0
The QUrl class provides a convenient interface for working with URLs.
The QHash class is a template class that provides a hash-table-based dictionary.
virtual xsInteger contextPosition() const =0
The QVector class is a template class that provides a dynamic array.
virtual void setPositionIterator(const VariableSlotID slot, const Item::Iterator::Ptr &newValue)=0
DynamicContext::Ptr createFocus()
virtual Item contextItem() const =0
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual ItemSequenceCacheCell::Vector & itemSequenceCacheCells(const VariableSlotID slot)=0
virtual DynamicContext::Ptr previousContext() const =0
Returns the previous DynamicContext. If this context is the top-level one, null is returned...
The namespace for the internal API of QtXmlPatterns.
virtual void setFocusIterator(const Item::Iterator::Ptr &it)=0
Represents a cache entry for a single Item, as opposed to for a sequence of items.
virtual void setRangeVariable(const VariableSlotID slot, const Item &newValue)=0
virtual ItemCacheCell & globalItemCacheCell(const VariableSlotID slot)=0
virtual QExplicitlySharedDataPointer< Expression > expressionVariable(const VariableSlotID slot) const =0
The QDateTime class provides date and time functions.
Represents an item in the XPath 2.0 Data Model.
virtual ExternalVariableLoader::Ptr externalVariableLoader() const =0
virtual Item::Iterator::Ptr focusIterator() const =0
QExplicitlySharedDataPointer< DynamicContext > Ptr
Contains enumerators and typedefs applying for Patternist on a global scale, as well as central docum...
DynamicContext::Ptr createReceiverContext(QAbstractXmlReceiver *const receiver)
virtual NodeBuilder::Ptr nodeBuilder(const QUrl &baseURI) const =0
A callback for reporting errors.
virtual ~DynamicContext()
virtual QAbstractXmlReceiver * outputReceiver() const =0
virtual QExplicitlySharedDataPointer< TemplateMode > currentTemplateMode() const =0
Returns the current template mode that is in effect.
virtual Item currentItem() const =0
Returns the item that fn:current() returns.
virtual ItemCacheCell & itemCacheCell(const VariableSlotID slot)=0
virtual ResourceLoader::Ptr resourceLoader() const =0
Carries information and facilities used at runtime, and hence provides a state for that stage in a th...
virtual xsInteger contextSize()=0
virtual TemplateParameterHash & templateParameterStore()=0
When a template is called, this member carries the template parameters.
virtual QDateTime currentDateTime() const =0