Qt 4.8
Public Types | Public Functions | List of all members
QPatternist::DeviceResourceLoader Class Referenceabstract

Base class for resource loaders that manage device variables. More...

#include <qdeviceresourceloader_p.h>

Inheritance diagram for QPatternist::DeviceResourceLoader:
QPatternist::ResourceLoader QSharedData QPatternist::AccelTreeResourceLoader QPatternist::ResourceDelegator

Public Types

typedef QExplicitlySharedDataPointer< DeviceResourceLoaderPtr
 
- Public Types inherited from QPatternist::ResourceLoader
typedef QExplicitlySharedDataPointer< ResourceLoaderPtr
 
enum  Usage { MayUse, WillUse }
 

Public Functions

virtual QSet< QUrldeviceURIs () 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
 

Detailed Description

Base class for resource loaders that manage device variables.

Author
Frans Englich frans.nosp@m..eng.nosp@m.lich@.nosp@m.noki.nosp@m.a.com
Since
4.5

Definition at line 71 of file qdeviceresourceloader_p.h.

Typedefs

◆ Ptr

Definition at line 74 of file qdeviceresourceloader_p.h.

Functions

◆ deviceURIs()

virtual QSet<QUrl> QPatternist::DeviceResourceLoader::deviceURIs ( ) const
pure virtual

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().


The documentation for this class was generated from the following file: