Skip to main content

Module basic

Module basic 

Source
Expand description

Basic data types with expression and parameter support

This file contains:

  • Value enum for literals, parameters, and expressions (${param}, ${expr})
  • Implementation of all basic OpenSCENARIO types (String, Double, Boolean, etc.)
  • Parameter resolution logic and expression evaluation
  • Serde serialization/deserialization for XML attributes
  • Validation helpers for parameter names and expression syntax

Structs§

Directory
Directory path reference for catalog files
ParameterDeclaration
Individual parameter declaration
ParameterDeclarations
Parameter declarations container
Range
Value range specification
ValueConstraint
Individual parameter value constraint
ValueConstraintGroup
Parameter constraints container

Enums§

Value

Functions§

is_expression
Check if a string is an expression (contains mathematical operators)
is_valid_parameter_name
parse_parameter_reference
Parse a parameter reference from a string

Type Aliases§

Boolean
DateTime
Double
Int
OSString
UnsignedInt
UnsignedShort