Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
storm::parser::ValueParser< ValueType > Class Template Reference

Parser for values according to their ValueType. More...

#include <ValueParser.h>

Public Member Functions

ValueType parseValue (std::string const &value) const
 Parse ValueType from string.
 
void addParameter (std::string const &parameter)
 Add declaration of parameter.
 
void addParameter (std::string const &parameter)
 
storm::RationalFunction parseValue (std::string const &value) const
 

Detailed Description

template<typename ValueType>
class storm::parser::ValueParser< ValueType >

Parser for values according to their ValueType.

Definition at line 23 of file ValueParser.h.

Member Function Documentation

◆ addParameter() [1/2]

void storm::parser::ValueParser< storm::RationalFunction >::addParameter ( std::string const &  parameter)

Definition at line 33 of file ValueParser.cpp.

◆ addParameter() [2/2]

template<typename ValueType >
void storm::parser::ValueParser< ValueType >::addParameter ( std::string const &  parameter)

Add declaration of parameter.

Parameters
parameterNew parameter.

Definition at line 28 of file ValueParser.cpp.

◆ parseValue() [1/2]

storm::RationalFunction storm::parser::ValueParser< storm::RationalFunction >::parseValue ( std::string const &  value) const

Definition at line 41 of file ValueParser.cpp.

◆ parseValue() [2/2]

template<typename ValueType >
ValueType storm::parser::ValueParser< ValueType >::parseValue ( std::string const &  value) const

Parse ValueType from string.

Parameters
valueString containing the value.
Returns
ValueType

Definition at line 48 of file ValueParser.cpp.


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