Go to the documentation of this file.
12 return [ ](
auto & selector)
22 return [ & ](
auto & selector)
34 return [ &name ](
auto & selector)
36 selector.withName(name);
42 return [ ®ex ](
auto & selector)
44 selector.withNamesMatching(regex);
50 return [ &
names ](
auto & selector)
52 selector.withNames(
names);
55 template <
class StringContainerT>
58 return [ &
names ](
auto & selector)
60 selector.withNames(
names);
63 template <
class IteratorT>
66 return [ begin, end ](
auto & selector)
68 selector.withNames(begin, end);
74 return [ &prefix ](
auto & selector)
76 selector.withNamesStartingWith(prefix);
81 return [ &suffix ](
auto & selector)
83 selector.withNamesEndingWith(suffix);
88 return [ &substring ](
auto & selector)
90 selector.withNamesContaining(substring);
103 selector.atTime(time);
123 selector.indexRange(first, last);
133 selector.timeRange(
min,
max);
143 selector.atTimeApprox(time, eps);
153 selector.beforeOrAtTime(time);
163 selector.beforeTime(time, nElements);
std::function< void(query::SnapshotSelector &)> indexRange(long first, long last)
std::vector< T > max(const std::vector< T > &v1, const std::vector< T > &v2)
auto withName(const std::string &name)
std::function< void(query::SnapshotSelector &)> beforeOrAtTime(Time time)
auto withNamesEndingWith(const std::string &suffix)
std::function< void(query::SnapshotSelector &)> atTimeApprox(Time time, Duration eps)
auto withNamesMatching(const std::string ®ex)
auto withNamesStartingWith(const std::string &prefix)
auto withNamesContaining(const std::string &substring)
std::function< void(query::SnapshotSelector &)> beforeTime(Time time, long nElements=1)
std::function< void(query::SnapshotSelector &)> timeRange(Time min, Time max)
auto withNames(const std::vector< std::string > &names)
std::function< void(query::SnapshotSelector &)> latest()
Represents a point in time.
const simox::meta::IntEnumNames names
std::vector< T > min(const std::vector< T > &v1, const std::vector< T > &v2)
std::function< void(query::SnapshotSelector &)> atTime(Time time)
auto withID(const MemoryID &id)