MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/MaterialX / stringToLower

Function stringToLower

source/MaterialXCore/Util.cpp:121–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121string stringToLower(string str)
122{
123 std::transform(str.begin(), str.end(), str.begin(), [](unsigned char c)
124 {
125 return (char) std::tolower(c);
126 });
127 return str;
128}
129
130bool stringStartsWith(const std::string& str, const std::string& prefix)
131{

Callers 3

CoreUtil.cppFile · 0.85
loadImageMethod · 0.85
loadMethod · 0.85

Calls 3

transformFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected