Skip to content
Snippets Groups Projects
Commit 00b353e2 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Move selectors into query namespace

parent 1f424b8d
No related branches found
No related tags found
2 merge requests!102ArMem Memory Updates,!100Memory QueryBuilder
......@@ -12,14 +12,14 @@ namespace armarx::armem::client
// ToDo: Make a memory selector (but this level is not in ice, yet)
class QueryBuilder :
public detail::ParentSelectorOps<QueryBuilder, CoreSegmentSelector>
public query::detail::ParentSelectorOps<QueryBuilder, query::CoreSegmentSelector>
{
public:
std::vector<data::query::MemoryQueryPtr> finalize() const
{
std::vector<data::query::MemoryQueryPtr> childQueries;
for (const CoreSegmentSelector& child : _children)
for (const query::CoreSegmentSelector& child : _children)
{
for (const data::query::MemoryQueryPtr& query : child.build())
{
......@@ -30,7 +30,7 @@ namespace armarx::armem::client
}
CoreSegmentSelector& coreSegments()
query::CoreSegmentSelector& coreSegments()
{
return _addChild();
}
......
......@@ -5,7 +5,7 @@
#include <Ice/Handle.h>
namespace armarx::armem::client::detail
namespace armarx::armem::client::query::detail
{
template <class _DerivedT, class _QueryT>
......
#include "selectors.h"
namespace armarx::armem::client
namespace armarx::armem::client::query
{
void EntitiesSelector::_setChildQueries(data::query::ProviderSegmentQueryPtr& query, const data::query::EntityQuerySeq& childQueries) const
......
......@@ -10,7 +10,7 @@
#include "SelectorOps.h"
namespace armarx::armem::client
namespace armarx::armem::client::query
{
class SnapshotsSelector :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment