scenario_simulator_v2 C++ API
Public Types | Public Member Functions | Public Attributes | List of all members
openscenario_interpreter::syntax::Rule Struct Reference

#include <rule.hpp>

Public Types

enum  value_type {
  equalTo , greaterThan , lessThan , greaterOrEqual ,
  lessOrEqual , notEqualTo
}
 

Public Member Functions

 Rule ()=default
 
 Rule (value_type value)
 
constexpr operator value_type () const noexcept
 
template<typename T , typename U = T>
constexpr auto operator() (const T &lhs, const U &rhs) const noexcept -> typename RuleResultDeduction< T, U >::type
 

Public Attributes

enum openscenario_interpreter::syntax::Rule::value_type value
 

Member Enumeration Documentation

◆ value_type

Enumerator
equalTo 
greaterThan 
lessThan 
greaterOrEqual 
lessOrEqual 
notEqualTo 

Constructor & Destructor Documentation

◆ Rule() [1/2]

openscenario_interpreter::syntax::Rule::Rule ( )
default

◆ Rule() [2/2]

openscenario_interpreter::syntax::Rule::Rule ( value_type  value)
inlineexplicit

Member Function Documentation

◆ operator value_type()

constexpr openscenario_interpreter::syntax::Rule::operator value_type ( ) const
inlineconstexprnoexcept

◆ operator()()

template<typename T , typename U = T>
constexpr auto openscenario_interpreter::syntax::Rule::operator() ( const T &  lhs,
const U &  rhs 
) const -> typename RuleResultDeduction<T, U>::type
inlineconstexprnoexcept

Member Data Documentation

◆ value

enum openscenario_interpreter::syntax::Rule::value_type openscenario_interpreter::syntax::Rule::value

The documentation for this struct was generated from the following file: