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

Convenience class to convert strings to sgpp::datadriven::DataSourceShufflingType and generate string representations for values of sgpp::datadriven::DataSourceShufflingType. More...

#include <DataSourceShufflingTypeParser.hpp>

Static Public Member Functions

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

Detailed Description

Convenience class to convert strings to sgpp::datadriven::DataSourceShufflingType and generate string representations for values of sgpp::datadriven::DataSourceShufflingType.

Member Function Documentation

DataSourceShufflingType sgpp::datadriven::DataSourceShufflingTypeParser::parse ( const std::string &  input)
static

Convert strings to values sgpp::datadriven::DataSourceShufflingType.

Throws if there is no valid representation

Parameters
inputcase insensitive string representation of a sgpp::datadriven::DataSourceShufflingType.
Returns
the corresponding sgpp::datadriven::DataSourceShufflingType.

References sgpp::datadriven::random, and sgpp::datadriven::sequential.

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

const std::string & sgpp::datadriven::DataSourceShufflingTypeParser::toString ( DataSourceShufflingType  type)
static

generate string representations for values of sgpp::datadriven::DataSourceShufflingType.

Parameters
typeenum value.
Returns
string representation of a sgpp::datadriven::DataSourceShufflingType.

References sgpp::datadriven::random, and sgpp::datadriven::sequential.

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


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