BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
StringUtils.h File Reference

Defines a few helper functions. More...

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

bool mumufit::stringUtils::matchesPattern (const std::string &text, const std::string &wildcardPattern)
 Returns true if text matches pattern with wildcards '*' and '?'. More...
 
template<typename T >
std::string mumufit::stringUtils::scientific (const 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 &delimeter)
 Split string into vector of string using delimeter. More...
 

Detailed 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.

Macro Definition Documentation

◆ BORNAGAIN_FIT_TOOLS_STRINGUTILS_H

#define BORNAGAIN_FIT_TOOLS_STRINGUTILS_H

Definition at line 21 of file StringUtils.h.