BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
StringUtils.h File Reference

Description

Defines a few helper functions.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file StringUtils.h.

Include dependency graph for StringUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mumufit
 The multi-library, multi-algorithm fit wrapper library.
 
 mumufit::stringUtils
 Utility functions to analyze or modify strings.
 

Macros

#define BORNAGAIN_FIT_TOOLS_STRINGUTILS_H
 

Functions

template<typename T >
std::string mumufit::stringUtils::scientific (T value, int n=10)
 Returns scientific string representing given value of any numeric type. More...
 
std::vector< std::string > mumufit::stringUtils::split (const std::string &text, const std::string &delimiter)
 Split string into vector of string using delimeter. More...
 

Macro Definition Documentation

◆ BORNAGAIN_FIT_TOOLS_STRINGUTILS_H

#define BORNAGAIN_FIT_TOOLS_STRINGUTILS_H

Definition at line 21 of file StringUtils.h.