Result of a QueryInput.
More...
#include <RobotAPI/libraries/armem/client/Query.h>
|
| armem::query::data::Result | toIce () const |
| |
Result of a QueryInput.
If success is false, an error occurred during the query. In this case, errorMessage can contain more information.
- Note
- An empty result is valid, i.e. successful. In other words, an empty result is not a failure. To check whether any entity snapshot matched the query, use
memory.hasSnapshots() or memory.hasInstances().
- See also
- wm::Memory::hasInstances(), wm::Memory::hasSnapshots()
Definition at line 50 of file Query.h.
◆ fromIce()
| QueryResult fromIce |
( |
const armem::query::data::Result & |
ice | ) |
|
|
static |
◆ toIce()
| armem::query::data::Result toIce |
( |
| ) |
const |
◆ operator<<
| std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const QueryResult & |
rhs |
|
) |
| |
|
friend |
◆ memory
The slice of the memory that matched the query.
To check whether the memory contains any snapshots or instances, use memory.hasSnapshots() or memory.hasInstances().
Definition at line 58 of file Query.h.
The documentation for this struct was generated from the following files:
- RobotAPI/libraries/armem/client/Query.h
- RobotAPI/libraries/armem/client/Query.cpp