knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
Query.cpp
Go to the documentation of this file.
1
/*
2
* This file is part of KnowRob, please consult
3
* https://github.com/knowrob/knowrob for license details.
4
*/
5
6
#include "knowrob/queries/Query.h"
7
8
using namespace
knowrob
;
9
10
namespace
knowrob
{
11
QueryContextPtr
DefaultQueryContext
() {
12
return
std::make_shared<QueryContext>();
13
}
14
15
QueryContextPtr
OneSolutionContext
() {
16
return
std::make_shared<QueryContext>(
QUERY_FLAG_ONE_SOLUTION
);
17
}
18
}
knowrob
Definition:
DataSource.h:13
knowrob::DefaultQueryContext
QueryContextPtr DefaultQueryContext()
Definition:
Query.cpp:11
knowrob::QUERY_FLAG_ONE_SOLUTION
@ QUERY_FLAG_ONE_SOLUTION
Definition:
QueryFlag.h:17
knowrob::OneSolutionContext
QueryContextPtr OneSolutionContext()
Definition:
Query.cpp:15
knowrob::QueryContextPtr
std::shared_ptr< const QueryContext > QueryContextPtr
Definition:
QueryContext.h:41
src
queries
Query.cpp
Generated by
1.9.1