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

#include <parameter_declaration.hpp>

Collaboration diagram for openscenario_interpreter::syntax::ParameterDeclaration:
Collaboration graph
[legend]

Public Member Functions

 ParameterDeclaration ()=default
 
 ParameterDeclaration (const pugi::xml_node &, Scope &)
 
auto evaluate () const -> Object
 

Public Attributes

const String name
 
const ParameterType parameter_type
 
std::list< ValueConstraintGroupconstraint_groups
 
const String value
 

Constructor & Destructor Documentation

◆ ParameterDeclaration() [1/2]

openscenario_interpreter::syntax::ParameterDeclaration::ParameterDeclaration ( )
default

◆ ParameterDeclaration() [2/2]

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

Member Function Documentation

◆ evaluate()

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

Member Data Documentation

◆ constraint_groups

std::list<ValueConstraintGroup> openscenario_interpreter::syntax::ParameterDeclaration::constraint_groups

◆ name

const String openscenario_interpreter::syntax::ParameterDeclaration::name

◆ parameter_type

const ParameterType openscenario_interpreter::syntax::ParameterDeclaration::parameter_type

◆ value

const String openscenario_interpreter::syntax::ParameterDeclaration::value

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