BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Utility functions to analyze or modify strings.
Functions | |
template<typename T > | |
std::string | scientific (T value, int n=10) |
Returns scientific string representing given value of any numeric type. More... | |
std::vector< std::string > | split (const std::string &text, const std::string &delimiter) |
Split string into vector of string using delimeter. More... | |
std::string mumufit::stringUtils::scientific | ( | T | value, |
int | n = 10 |
||
) |
Returns scientific string representing given value of any numeric type.
Definition at line 40 of file StringUtils.h.
Referenced by BaseUtils::String::scientific(), MinimizerAdapter::statusMap(), GSLLevenbergMarquardtMinimizer::statusMap(), and Minuit2Minimizer::statusMap().
std::vector< std::string > mumufit::stringUtils::split | ( | const std::string & | text, |
const std::string & | delimiter | ||
) |
Split string into vector of string using delimeter.
Returns token vector obtained by splitting string at delimiters.
Definition at line 22 of file StringUtils.cpp.
References BaseUtils::String::split().
Referenced by MinimizerOptions::processCommand(), and MinimizerOptions::setOptionString().