MCPcopy Create free account
hub / github.com/boutproject/BOUT-dev / lowercase

Function lowercase

src/sys/utils.cxx:57–62  ·  view source on GitHub ↗

Convert a string to lower case

Source from the content-addressed store, hash-verified

55
56// Convert a string to lower case
57const std::string lowercase(const std::string& str) {
58 std::string strlow(str);
59
60 std::transform(strlow.begin(), strlow.end(), strlow.begin(), ::tolower);
61 return strlow;
62}
63
64// Convert a string to upper case
65const std::string uppercase(const std::string& str) {

Callers 14

handleFactoryHelpFunction · 0.85
addMethod · 0.85
addModMethod · 0.85
findBoundaryOpMethod · 0.85
findBoundaryModMethod · 0.85
findBoundaryOpParMethod · 0.85
setParallelTransformMethod · 0.85
fuzzyFindMethod · 0.85
fuzzyFindMethod · 0.85
TESTFunction · 0.85
LoadMetricFunction · 0.85
LoadMetricMethod · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68