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

#include <value_constraint.hpp>

Inheritance diagram for openscenario_interpreter::syntax::ValueConstraint:
Inheritance graph
[legend]
Collaboration diagram for openscenario_interpreter::syntax::ValueConstraint:
Collaboration graph
[legend]

Public Member Functions

 ValueConstraint (const pugi::xml_node &, Scope &)
 
auto evaluate (const Object &) const -> bool
 
- Public Member Functions inherited from openscenario_interpreter::Pointer< Expression >
decltype(auto) rebind (Ts &&... xs)
 
decltype(auto) binding () const
 
auto type () const -> const std::type_info &
 
auto is () const -> bool
 
auto is_also () const
 
auto as () const -> U &
 
decltype(auto) evaluate (Ts &&... xs) const
 
decltype(auto) accomplished (Ts &&... xs) const
 
decltype(auto) description (Ts &&... xs) const
 

Public Attributes

const Rule rule
 
const String value
 

Additional Inherited Members

- Static Public Member Functions inherited from openscenario_interpreter::Pointer< Expression >
static Pointer bind (Ts &&... xs)
 

Constructor & Destructor Documentation

◆ ValueConstraint()

openscenario_interpreter::syntax::ValueConstraint::ValueConstraint ( const pugi::xml_node &  node,
Scope scope 
)
explicit

Member Function Documentation

◆ evaluate()

auto openscenario_interpreter::syntax::ValueConstraint::evaluate ( const Object object) const -> bool

Member Data Documentation

◆ rule

const Rule openscenario_interpreter::syntax::ValueConstraint::rule

◆ value

const String openscenario_interpreter::syntax::ValueConstraint::value

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