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 {
12  return std::make_shared<QueryContext>();
13  }
14 
16  return std::make_shared<QueryContext>(QUERY_FLAG_ONE_SOLUTION);
17  }
18 }
QueryContextPtr DefaultQueryContext()
Definition: Query.cpp:11
@ QUERY_FLAG_ONE_SOLUTION
Definition: QueryFlag.h:17
QueryContextPtr OneSolutionContext()
Definition: Query.cpp:15
std::shared_ptr< const QueryContext > QueryContextPtr
Definition: QueryContext.h:41