Go to the documentation of this file.
9 std::optional<armem::clazz::ObjectClass>
15 mid.providerSegmentName = providerName;
16 mid.entityName =
id.str();
20 if (i.has_value() && i->size() == 1)
22 auto& instance = i->getInstance(0);
23 auto aron = instance.dataAs<armarx::armem::arondto::ObjectClass>();
34 std::map<ObjectID, armem::clazz::ObjectClass>
44 for (
const ObjectID& objectID : objectIDs)
55 std::map<ObjectID, armem::clazz::ObjectClass> objectClasses;
61 auto aron = instance.
dataAs<armarx::armem::arondto::ObjectClass>();
73 return "classReader.";
std::map< armarx::ObjectID, armem::clazz::ObjectClass > getObjectClasses(const std::vector< armarx::ObjectID > &objectIDs)
Get object class information for object class IDs.
SnapshotSelector & latest()
const Properties & properties() const
EntitySelector & entities()
Start specifying entities.
A known object ID of the form "Dataset/ClassName" or "Dataset/ClassName/InstanceName".
wm::Memory memory
The slice of the memory that matched the query.
static ObjectID FromString(const std::string &idString)
Construct from a string produced by str(), e.g. ("mydataset/myobject", "mydataset/myclass/myinstance"...
Client-side working entity instance.
SnapshotSelector & snapshots()
Start specifying entity snapshots.
Properties defaultProperties() const final
std::string propertyPrefix() const final
AronDtoT dataAs() const
Get the data converted to a generated Aron DTO class.
std::optional< armem::clazz::ObjectClass > getObjectClass(const std::string &providerName, const armarx::ObjectID &id)
CoreSegmentSelector & coreSegments()
Start specifying core segments.
std::string coreSegmentName
CoreSegmentSelector & withName(const std::string &name) override
const armem::client::Reader & memoryReader() const
EntitySelector & withName(const std::string &name) override
bool forEachInstance(InstanceFunctionT &&func)
Indicates that a query resulted in an Error.
The query::Builder class provides a fluent-style specification of hierarchical queries.
ProviderSegmentSelector & providerSegments()
Start specifying provider segments.
void fromAron(const armarx::armem::arondto::Feature &dto, Feature &bo)
ProviderSegmentSelector & all() override
std::optional< wm::EntitySnapshot > getLatestSnapshotIn(const MemoryID &id, armem::query::DataMode dataMode=armem::query::DataMode::WithData) const
Get the latest snapshot under the given memory ID.
QueryResult query(const QueryInput &input) const
Perform a query.
const armem::MemoryID MemoryID