Qt 4.8
|
A StaticContext that carries a specified static type for the current item, as returned by fn:current()
, but otherwise delegates to another StaticContext.
More...
#include <qstaticcurrentcontext_p.h>
Public Functions | |
virtual ItemType::Ptr | currentItemType () const |
StaticCurrentContext (const ItemType::Ptr ¤tItemType, const StaticContext::Ptr &context) | |
Public Functions inherited from QPatternist::DelegatingStaticContext | |
virtual void | addLocation (const SourceLocationReflection *const reflection, const QSourceLocation &location) |
Adds location for reflection . More... | |
virtual VariableSlotID | allocateRangeSlot () |
virtual QUrl | baseURI () const |
virtual BoundarySpacePolicy | boundarySpacePolicy () const |
virtual bool | compatModeEnabled () const |
virtual ConstructionMode | constructionMode () const |
virtual ItemType::Ptr | contextItemType () const |
The static type of the context item. More... | |
virtual StaticContext::Ptr | copy () const |
virtual VariableSlotID | currentRangeSlot () const |
virtual QUrl | defaultCollation () const |
virtual QString | defaultElementNamespace () const |
virtual QString | defaultFunctionNamespace () const |
virtual DynamicContext::Ptr | dynamicContext () const |
virtual ExternalVariableLoader::Ptr | externalVariableLoader () const |
virtual FunctionFactory::Ptr | functionSignatures () const |
virtual InheritMode | inheritMode () const |
virtual QSourceLocation | locationFor (const SourceLocationReflection *const reflection) const |
Returns the source location applying for reflection . More... | |
virtual QAbstractMessageHandler * | messageHandler () const |
virtual NamePool::Ptr | namePool () const |
virtual NamespaceResolver::Ptr | namespaceBindings () const |
virtual OrderingEmptySequence | orderingEmptySequence () const |
virtual OrderingMode | orderingMode () const |
virtual PreserveMode | preserveMode () const |
virtual ResourceLoader::Ptr | resourceLoader () const |
virtual SchemaTypeFactory::Ptr | schemaDefinitions () const |
virtual void | setBaseURI (const QUrl &uri) |
virtual void | setBoundarySpacePolicy (const BoundarySpacePolicy policy) |
virtual void | setCompatModeEnabled (const bool newVal) |
virtual void | setConstructionMode (const ConstructionMode mode) |
virtual void | setDefaultCollation (const QUrl &uri) |
virtual void | setDefaultElementNamespace (const QString &ns) |
virtual void | setDefaultFunctionNamespace (const QString &ns) |
virtual void | setInheritMode (const InheritMode mode) |
virtual void | setNamespaceBindings (const NamespaceResolver::Ptr &) |
virtual void | setOrderingEmptySequence (const OrderingEmptySequence ordering) |
virtual void | setOrderingMode (const OrderingMode mode) |
virtual void | setPreserveMode (const PreserveMode mode) |
virtual LocationHash | sourceLocations () const |
Returns a hash of the contained locations. More... | |
virtual const QAbstractUriResolver * | uriResolver () const |
The URI resolver in use. More... | |
Public Functions inherited from QPatternist::StaticContext | |
StaticContext () | |
void | wrapExpressionWith (const SourceLocationReflection *const existingNode, const QExplicitlySharedDataPointer< Expression > &newNode) |
Ensures source locations are handled in such a manner that existingNode wraps newNode . More... | |
virtual | ~StaticContext () |
Public Functions inherited from QPatternist::ReportContext | |
void | error (const QString &message, const ReportContext::ErrorCode errorCode, const QSourceLocation &sourceLocation) |
void | error (const QString &message, const ReportContext::ErrorCode errorCode, const SourceLocationReflection *const reflection) |
void | error (const QString &message, const QXmlName qName, const SourceLocationReflection *const r) |
ReportContext () | |
Default constructors. More... | |
QUrl | resolveURI (const QUrl &relative, const QUrl &baseURI) const |
void | warning (const QString &message, const QSourceLocation &sourceLocation=QSourceLocation()) |
virtual | ~ReportContext () |
Public Functions inherited from QSharedData | |
QSharedData () | |
Constructs a QSharedData object with a reference count of 0. More... | |
QSharedData (const QSharedData &) | |
Constructs a QSharedData object with reference count 0. More... | |
Properties | |
const ItemType::Ptr | m_currentItemType |
A StaticContext that carries a specified static type for the current item, as returned by fn:current()
, but otherwise delegates to another StaticContext.
Definition at line 71 of file qstaticcurrentcontext_p.h.
StaticCurrentContext::StaticCurrentContext | ( | const ItemType::Ptr & | currentItemType, |
const StaticContext::Ptr & | context | ||
) |
Definition at line 48 of file qstaticcurrentcontext.cpp.
|
virtual |
Reimplemented from QPatternist::DelegatingStaticContext.
Definition at line 55 of file qstaticcurrentcontext.cpp.
|
private |
Definition at line 82 of file qstaticcurrentcontext_p.h.
Referenced by currentItemType(), and StaticCurrentContext().