SG++-Doxygen-Documentation
sgpp::datadriven::RefinementFunctorTypeParser Class Reference

#include <RefinementFunctorTypeParser.hpp>

Static Public Member Functions

static RefinementFunctorType parse (const std::string &input)
 Convert strings to values sgpp::base::RefinementFunctorType. More...
 
static const std::string & toString (RefinementFunctorType type)
 generate string representations for values of sgpp::base::RefinementFunctorType. More...
 

Member Function Documentation

◆ parse()

RefinementFunctorType sgpp::datadriven::RefinementFunctorTypeParser::parse ( const std::string &  input)
static

Convert strings to values sgpp::base::RefinementFunctorType.

Throws if there is no valid representation

Parameters
inputcase insensitive string representation of a sgpp::base::RefinementFunctorType.
Returns
the corresponding sgpp::base::RefinementFunctorType.

Referenced by sgpp::datadriven::DataMiningConfigParser::getFitterAdaptivityConfig().

◆ toString()

const std::string & sgpp::datadriven::RefinementFunctorTypeParser::toString ( RefinementFunctorType  type)
static

generate string representations for values of sgpp::base::RefinementFunctorType.

Parameters
typeenum value.
Returns
string representation of a sgpp::base::RefinementFunctorType.

Referenced by sgpp::datadriven::DataMiningConfigParser::getFitterAdaptivityConfig().


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