kDB: Knowledge DataBase
Loading...
Searching...
No Matches
kdb
kDB
SPARQL
Algebra
Visitors
Inverter.h
1
#include <kDB/SPARQL/Algebra/NodeVisitorImplementation.h>
2
3
namespace
kDB::SPARQL::Algebra::Visitors
4
{
5
6
// TODO remove and reuse the one from NodeVisitorImplementation
7
#undef __KDB_SPARQL_ALGEBRA_NODE_VISITOR_OVERLOAD
8
#define __KDB_SPARQL_ALGEBRA_NODE_VISITOR_OVERLOAD(_NAME_, _I_) \
9
NodeCSP visit(_NAME_ ## CSP _node) override;
10
14
class
Inverter
:
public
kDB::SPARQL::Algebra::NodeVisitorImplementation
<NodeCSP>
15
{
16
friend
class
NodeVisitorImplementation
<
NodeCSP
>;
17
public
:
18
Inverter
();
19
~Inverter
();
23
static
NodeCSP
invert
(
NodeCSP
_node);
24
protected
:
25
NodeCSP
visitDefault(
NodeCSP
_node)
override
;
26
KDB_SPARQL_ALGEBRA_NODE_VISITOR_OVERLOAD(InsertData, DeleteData);
27
private
:
28
struct
Private
;
29
Private
*
const
d;
30
};
31
}
32
33
#undef __KDB_SPARQL_ALGEBRA_NODE_VISITOR_OVERLOAD
kDB::SPARQL::Algebra::NodeVisitorImplementation
Definition
NodeVisitorImplementation.h:22
kDB::SPARQL::Algebra::Visitors::Inverter
Definition
Inverter.h:15
kDB::SPARQL::Algebra::Visitors::Inverter::invert
static NodeCSP invert(NodeCSP _node)
Definition
Inverter.cpp:20
knowCore::ConstExplicitlySharedDataPointer< Node >
kDB::SPARQL::Algebra::Visitors::Inverter::Private
Definition
Inverter.cpp:9
Generated by
1.12.0