2
* This file is part of Soprano Project.
4
* Copyright (C) 2006 Daniele Galdi <daniele.galdi@gmail.com>
5
* Copyright (C) 2007 Sebastian Trueg <trueg@kde.org>
7
* This library is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Library General Public
9
* License as published by the Free Software Foundation; either
10
* version 2 of the License, or (at your option) any later version.
12
* This library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Library General Public License for more details.
17
* You should have received a copy of the GNU Library General Public License
18
* along with this library; see the file COPYING.LIB. If not, write to
19
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20
* Boston, MA 02110-1301, USA.
23
#ifndef SOPRANO_BACKEND_REDLAND_QUERY_RESULT_H
24
#define SOPRANO_BACKEND_REDLAND_QUERY_RESULT_H
29
#include "queryresultiteratorbackend.h"
38
class RedlandQueryResult: public Soprano::QueryResultIteratorBackend
41
RedlandQueryResult( const RedlandModel* model, librdf_query_results *result );
43
~RedlandQueryResult();
47
Statement currentStatement() const;
49
Soprano::Node binding( const QString &name ) const;
51
Soprano::Node binding( int offset ) const;
53
int bindingCount() const;
55
QStringList bindingNames() const;
59
bool isBinding() const;
63
bool boolValue() const;
75
#endif // SOPRANO_BACKEND_REDLAND_QUERY_RESULT_H