Qt 4.8
|
Base class for resource loaders that manage device variables. More...
#include <qdeviceresourceloader_p.h>
Public Types | |
typedef QExplicitlySharedDataPointer< DeviceResourceLoader > | Ptr |
Public Types inherited from QPatternist::ResourceLoader | |
typedef QExplicitlySharedDataPointer< ResourceLoader > | Ptr |
enum | Usage { MayUse, WillUse } |
Public Functions | |
virtual QSet< QUrl > | deviceURIs () const =0 |
Returns the URIs for device variables that this ResourceLoader has loaded. More... | |
Public Functions inherited from QPatternist::ResourceLoader | |
virtual SequenceType::Ptr | announceCollection (const QUrl &uri) |
May be called by the compilation framework at compile time to report that an node collection referenced by uri will be loaded at runtime. More... | |
virtual SequenceType::Ptr | announceDocument (const QUrl &uri, const Usage usageHint) |
May be called by the compilation framework at compile time to report that an XML document referenced by uri will be loaded at runtime. More... | |
virtual ItemType::Ptr | announceUnparsedText (const QUrl &uri) |
May be called by the compilation framework at compile time to report that an unparsed text(plain text) file referenced by uri will be loaded at runtime. More... | |
virtual void | clear (const QUrl &uri) |
Asks to unload uri from its document pool, such that a subsequent request will require a new read. More... | |
virtual bool | isDocumentAvailable (const QUrl &uri) |
Calls to this function are generated by calls to the fn:doc-available() function. More... | |
virtual bool | isUnparsedTextAvailable (const QUrl &uri, const QString &encoding) |
Calls to this function are generated by calls to the fn:unparsed-text-available() function. More... | |
virtual Item::Iterator::Ptr | openCollection (const QUrl &uri) |
Calls to this function are generated by calls to the fn:collection() function. More... | |
virtual Item | openDocument (const QUrl &uri, const ReportContext::Ptr &context) |
Calls to this function are generated by calls to the fn:document() or fn:doc() function. More... | |
virtual Item | openUnparsedText (const QUrl &uri, const QString &encoding, const ReportContext::Ptr &context, const SourceLocationReflection *const where) |
Calls to this function are generated by calls to the fn:unparsed-text() function. More... | |
ResourceLoader () | |
virtual | ~ResourceLoader () |
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... | |
Additional Inherited Members | |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
Base class for resource loaders that manage device variables.
Definition at line 71 of file qdeviceresourceloader_p.h.
Definition at line 74 of file qdeviceresourceloader_p.h.
Returns the URIs for device variables that this ResourceLoader has loaded.
The returned set may be empty.
Implemented in QPatternist::AccelTreeResourceLoader, and QPatternist::ResourceDelegator.
Referenced by QPatternist::ResourceDelegator::deviceURIs().