move Query interface to Lib
This commit is contained in:
parent
baefd74ae7
commit
b5a7055f29
8 changed files with 15 additions and 19 deletions
|
|
@ -21,15 +21,11 @@
|
|||
* *****************************************************/
|
||||
|
||||
|
||||
#include "proc/mobject/session/query-resolver.hpp"
|
||||
#include "lib/query-resolver.hpp"
|
||||
#include "lib/multifact-arg.hpp"
|
||||
|
||||
namespace proc {
|
||||
namespace mobject {
|
||||
namespace session {
|
||||
namespace lib {
|
||||
|
||||
using lib::factory::MultiFact;
|
||||
using lib::factory::BuildRefcountPtr;
|
||||
|
||||
|
||||
/* generate vtables here... */
|
||||
|
|
@ -123,4 +119,4 @@ namespace session {
|
|||
|
||||
|
||||
|
||||
}}} // namespace proc::mobject::session
|
||||
} // namespace lib
|
||||
|
|
@ -43,13 +43,12 @@
|
|||
//using std::vector;
|
||||
//using std::string;
|
||||
|
||||
namespace proc {
|
||||
namespace mobject {
|
||||
namespace session {
|
||||
namespace lib {
|
||||
|
||||
using lib::IxID;
|
||||
using util::unConst;
|
||||
using boost::noncopyable;
|
||||
using boost::lexical_cast;
|
||||
using boost::scoped_ptr;
|
||||
using std::tr1::function;
|
||||
using std::string;
|
||||
|
|
@ -185,7 +184,7 @@ namespace session {
|
|||
: Goal (defineQueryTypeID())
|
||||
{ }
|
||||
|
||||
static QueryBuilder
|
||||
static Builder
|
||||
build (Kind queryType = Goal::GENERIC);
|
||||
|
||||
|
||||
|
|
@ -239,7 +238,7 @@ namespace session {
|
|||
asKey() const
|
||||
{
|
||||
return "type("
|
||||
+ lexial_cast<string> (getResultTypeID<RES>())
|
||||
+ lexical_cast<string> (getResultTypeID<RES>())
|
||||
+ "), "+predicateForm_;
|
||||
}
|
||||
|
||||
|
|
@ -357,5 +356,5 @@ namespace session {
|
|||
}
|
||||
|
||||
|
||||
}}} // namespace proc::mobject::session
|
||||
} // namespace lib
|
||||
#endif
|
||||
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
|
||||
#include <string>
|
||||
#include <cctype>
|
||||
#include <typeinfo>
|
||||
|
||||
#include "lib/symbol.hpp"
|
||||
|
|
@ -36,7 +37,6 @@ namespace lumiera {
|
|||
using lib::Symbol;
|
||||
using lib::Literal;
|
||||
using std::string;
|
||||
using boost::format;
|
||||
|
||||
/* ==== common definitions for rule based queries ==== */
|
||||
|
||||
|
|
|
|||
|
|
@ -57,9 +57,10 @@
|
|||
#define MOBJECT_SESSION_PLACEMENT_INDEX_QUERY_RESOLVER_H
|
||||
|
||||
#include "proc/mobject/session/placement-index.hpp"
|
||||
#include "proc/mobject/session/query-resolver.hpp"
|
||||
#include "proc/mobject/session/scope-query.hpp"
|
||||
|
||||
#include "lib/query.hpp"
|
||||
|
||||
#include <tr1/functional>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
|
||||
#include "proc/mobject/placement.hpp"
|
||||
#include "proc/mobject/session/query-resolver.hpp"
|
||||
#include "lib/query-resolver.hpp"
|
||||
|
||||
#include <tr1/functional>
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
#define MOBJECT_SESSION_SESSION_SERVICE_EXPLORE_SCOPE_H
|
||||
|
||||
#include "proc/mobject/placement.hpp"
|
||||
#include "proc/mobject/session/query-resolver.hpp"
|
||||
#include "lib/query-resolver.hpp"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -22,11 +22,11 @@
|
|||
|
||||
|
||||
#include "lib/test/run.hpp"
|
||||
#include "proc/mobject/session/query-resolver.hpp"
|
||||
#include "proc/mobject/session/scope-query.hpp"
|
||||
#include "proc/mobject/session/session-service-explore-scope.hpp"
|
||||
#include "proc/mobject/session/placement-index-query-resolver.hpp"
|
||||
#include "proc/mobject/session/test-scopes.hpp"
|
||||
#include "lib/query-resolver.hpp"
|
||||
#include "lib/util.hpp"
|
||||
|
||||
#include <iostream>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include "lib/test/run.hpp"
|
||||
#include "lib/test/test-helper.hpp"
|
||||
#include "proc/mobject/session/query-resolver.hpp"
|
||||
#include "lib/query-resolver.hpp"
|
||||
#include "lib/singleton.hpp"
|
||||
|
||||
#include <iostream>
|
||||
|
|
|
|||
Loading…
Reference in a new issue