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

#include <parameter_condition.hpp>

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

Public Member Functions

 ParameterCondition (Scope &)
 
 ParameterCondition (const pugi::xml_node &, Scope &)
 
auto description () const -> String
 
auto evaluate () const -> Object
 

Static Public Member Functions

static auto compare (const Object &, const Rule &, const String &) -> bool
 

Public Attributes

const String parameter_ref
 
const String value
 
const Rule rule
 

Constructor & Destructor Documentation

◆ ParameterCondition() [1/2]

openscenario_interpreter::syntax::ParameterCondition::ParameterCondition ( Scope )
explicit

◆ ParameterCondition() [2/2]

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

Member Function Documentation

◆ compare()

auto openscenario_interpreter::syntax::ParameterCondition::compare ( const Object parameter,
const Rule rule,
const String value 
) -> bool
static

◆ description()

auto openscenario_interpreter::syntax::ParameterCondition::description ( ) const -> String

◆ evaluate()

auto openscenario_interpreter::syntax::ParameterCondition::evaluate ( ) const -> Object

Member Data Documentation

◆ parameter_ref

const String openscenario_interpreter::syntax::ParameterCondition::parameter_ref

◆ rule

const Rule openscenario_interpreter::syntax::ParameterCondition::rule

◆ value

const String openscenario_interpreter::syntax::ParameterCondition::value

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