Soprano
2.8.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
index
indexqueryhit.h
Go to the documentation of this file.
1
/*
2
* This file is part of Soprano Project.
3
*
4
* Copyright (C) 2007 Sebastian Trueg <trueg@kde.org>
5
*
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Library General Public
8
* License as published by the Free Software Foundation; either
9
* version 2 of the License, or (at your option) any later version.
10
*
11
* This library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Library General Public License for more details.
15
*
16
* You should have received a copy of the GNU Library General Public License
17
* along with this library; see the file COPYING.LIB. If not, write to
18
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19
* Boston, MA 02110-1301, USA.
20
*/
21
22
#ifndef _SORPANO_INDEX_QUERY_HIT_H_
23
#define _SORPANO_INDEX_QUERY_HIT_H_
24
25
#include "
soprano_export.h
"
26
27
#include <QtCore/QSharedDataPointer>
28
29
namespace
Soprano {
30
31
class
Node;
32
33
namespace
Index {
40
class
SOPRANO_INDEX_EXPORT
QueryHit
41
{
42
public
:
46
QueryHit
();
47
51
QueryHit
(
const
QueryHit
& );
52
58
QueryHit
(
const
Node
& resource,
double
score
);
59
63
~
QueryHit
();
64
65
QueryHit
& operator=(
const
QueryHit
& );
66
67
double
score
()
const
;
68
Node
resource()
const
;
69
70
private
:
71
class
Private;
72
QSharedDataPointer<Private>
d;
73
};
74
}
75
}
76
77
#endif
Generated by
1.8.1.1