DisCostiC v2.0.0
Distributed Cost in Cluster: a cross-architecture simulator for massively parallel MPI programs
Loading...
Searching...
No Matches
UserInterface::Conversion Class Reference

a wrapper class which contain function for the conversion of std::string to primitive types (int, float, double, etc.,) More...

#include <ConfigParser.hpp>

Static Public Member Functions

template<typename T >
static T stringTOScalarT (std::string const &val)
 
template<typename T >
static std::vector< T > stringTOArray (std::string const &val)
 

Detailed Description

a wrapper class which contain function for the conversion of std::string to primitive types (int, float, double, etc.,)

Definition at line 28 of file ConfigParser.hpp.

Member Function Documentation

◆ stringTOArray()

template<typename T >
static std::vector< T > UserInterface::Conversion::stringTOArray ( std::string const & val)
inlinestatic

Definition at line 41 of file ConfigParser.hpp.

◆ stringTOScalarT()

template<typename T >
static T UserInterface::Conversion::stringTOScalarT ( std::string const & val)
inlinestatic

Definition at line 32 of file ConfigParser.hpp.

Referenced by UserInterface::ConfigParser::getValue(), and UserInterface::NetworkConfigParser::getValue().

+ Here is the caller graph for this function:

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