BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Defines class CLASS? More...
Go to the source code of this file.
Namespaces | |
ModelView | |
ModelView ::Utils | |
Functions | |
MVVM_MODEL_EXPORT std::string | ModelView ::Utils::DoubleToString (double input, int precision=12) |
Returns string representation of double with given precision. More... | |
MVVM_MODEL_EXPORT std::vector< double > | ModelView ::Utils::ParseSpaceSeparatedDoubles (const std::string &str) |
Parses string for double values and returns result as a vector. More... | |
MVVM_MODEL_EXPORT void | ModelView ::Utils::ParseSpaceSeparatedDoubles (const std::string &str, std::vector< double > &result) |
Parses string for double values and stores result in a vector. More... | |
MVVM_MODEL_EXPORT std::string | ModelView ::Utils::RemoveRepeatedSpaces (std::string str) |
Removes repeating spaces for a string. More... | |
MVVM_MODEL_EXPORT std::string | ModelView ::Utils::ScientificDoubleToString (double input, int precision=6) |
Returns string representation of scientific double. More... | |
MVVM_MODEL_EXPORT std::vector< std::string > | ModelView ::Utils::SplitString (const std::string &str, const std::string &delimeter) |
Split string on substring using given delimeter. Reproduces Python's str.split() behavior. More... | |
MVVM_MODEL_EXPORT std::optional< double > | ModelView ::Utils::StringToDouble (const std::string &str) |
Converts string to double value using classc locale and returns it in the form of optional. More... | |
MVVM_MODEL_EXPORT std::optional< int > | ModelView ::Utils::StringToInteger (const std::string &str) |
Converts string to integer. More... | |
MVVM_MODEL_EXPORT std::string | ModelView ::Utils::TrimWhitespace (const std::string &str) |
Returns string after trimming whitespace surrounding, including tabs and carriage returns. More... | |
Defines class CLASS?
Definition in file stringutils.h.