kDB: Knowledge DataBase
Loading...
Searching...
No Matches
kdb
kDB
RDFView
Expression.h
1
#include <kDB/Forward.h>
2
3
#include <QSharedDataPointer>
4
5
namespace
kDB::RDFView
6
{
7
class
Expression
8
{
9
public
:
10
enum class
Type
11
{
12
Unknown,
13
FunctionCall,
14
Variable,
15
Value
16
};
17
public
:
18
Expression
();
19
Expression
(
const
QString& _name,
const
QList<Expression>
& _expressions);
20
Expression
(
const
QString& _string, Type _type);
21
Expression
(
const
knowCore::Value
& _value);
22
Expression
(
const
Expression
& _rhs);
23
Expression
& operator=(
const
Expression
& _rhs);
24
~Expression
();
25
Type type()
const
;
26
QString name()
const
;
27
QList<Expression>
arguments()
const
;
28
knowCore::Value
value()
const
;
29
QString toString()
const
;
30
private
:
31
struct
Private
;
32
QSharedDataPointer<Private> d;
33
};
34
}
// namespace kDB::RDFView
35
36
#include <knowCore/MetaType.h>
37
KNOWCORE_DECLARE_FULL_METATYPE(kDB::RDFView, Expression);
QList
Definition
Revision.h:9
kDB::RDFView::Expression
Definition
Expression.h:8
knowCore::Value
Definition
Value.h:21
kDB::RDFView::Expression::Private
Definition
Expression.cpp:10
Generated by
1.12.0