15 #ifndef OPENSCENARIO_INTERPRETER__SYNTAX__TRIGGERING_ENTITIES_RULE_HPP_
16 #define OPENSCENARIO_INTERPRETER__SYNTAX__TRIGGERING_ENTITIES_RULE_HPP_
24 inline namespace syntax
55 template <
typename... Ts>
56 constexpr
auto apply(Ts &&...
xs)
const -> decltype(
auto)
60 return std::all_of(std::forward<decltype(
xs)>(
xs)...);
63 return std::any_of(std::forward<decltype(
xs)>(
xs)...);
66 return std::none_of(std::forward<decltype(
xs)>(
xs)...);
Definition: escape_sequence.hpp:22
Definition: junit5.hpp:25
Definition: triggering_entities_rule.hpp:44
TriggeringEntitiesRule()=default
constexpr auto apply(Ts &&... xs) const -> decltype(auto)
Definition: triggering_entities_rule.hpp:56
auto description() const -> std::string
Definition: triggering_entities_rule.cpp:26
enum openscenario_interpreter::syntax::TriggeringEntitiesRule::value_type value
value_type
Definition: triggering_entities_rule.hpp:45
@ none
Definition: triggering_entities_rule.hpp:48
@ any
Definition: triggering_entities_rule.hpp:47
@ all
Definition: triggering_entities_rule.hpp:46