|
Soprano
2.7.5
|
QueryResultIteratorBackend is the actual working horse behind QueryResultIterator. More...
#include <Soprano/QueryResultIteratorBackend>
Inheritance diagram for Soprano::QueryResultIteratorBackend:Public Member Functions | |
| virtual | ~QueryResultIteratorBackend () |
| virtual bool | next ()=0 |
| virtual BindingSet | current () const |
| virtual Statement | currentStatement () const =0 |
| virtual Node | binding (const QString &name) const =0 |
| virtual Node | binding (int offset) const =0 |
| virtual int | bindingCount () const =0 |
| virtual QStringList | bindingNames () const =0 |
| virtual bool | isGraph () const =0 |
| virtual bool | isBinding () const =0 |
| virtual bool | isBool () const =0 |
| virtual bool | boolValue () const =0 |
Protected Member Functions | |
| QueryResultIteratorBackend () | |
QueryResultIteratorBackend is the actual working horse behind QueryResultIterator.
Each Backend implementation has to have its own version of QueryResultIteratorBackend.
Definition at line 46 of file queryresultiteratorbackend.h.
| virtual Soprano::QueryResultIteratorBackend::~QueryResultIteratorBackend | ( | ) | [virtual] |
| Soprano::QueryResultIteratorBackend::QueryResultIteratorBackend | ( | ) | [protected] |
| virtual bool Soprano::QueryResultIteratorBackend::next | ( | ) | [pure virtual] |
For boolean results implementations needs to always return false to avoid endless loops in client applications that omit to check the result type.
Implements Soprano::IteratorBackend< BindingSet >.
| virtual BindingSet Soprano::QueryResultIteratorBackend::current | ( | ) | const [virtual] |
The default implementation constructs the BindingSet using binding() and bindingNames()
Implements Soprano::IteratorBackend< BindingSet >.
| virtual Statement Soprano::QueryResultIteratorBackend::currentStatement | ( | ) | const [pure virtual] |
| virtual Node Soprano::QueryResultIteratorBackend::binding | ( | const QString & | name | ) | const [pure virtual] |
| virtual Node Soprano::QueryResultIteratorBackend::binding | ( | int | offset | ) | const [pure virtual] |
| virtual int Soprano::QueryResultIteratorBackend::bindingCount | ( | ) | const [pure virtual] |
| virtual QStringList Soprano::QueryResultIteratorBackend::bindingNames | ( | ) | const [pure virtual] |
| virtual bool Soprano::QueryResultIteratorBackend::isGraph | ( | ) | const [pure virtual] |
| virtual bool Soprano::QueryResultIteratorBackend::isBinding | ( | ) | const [pure virtual] |
| virtual bool Soprano::QueryResultIteratorBackend::isBool | ( | ) | const [pure virtual] |
| virtual bool Soprano::QueryResultIteratorBackend::boolValue | ( | ) | const [pure virtual] |
1.7.6.1