MCPcopy Create free account
hub / github.com/ImageEngine/cortex / fromSpaced

Method fromSpaced

src/IECore/CamelCase.cpp:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47std::string CamelCase::fromSpaced( const std::string &spaced, Caps caps )
48{
49 std::vector<std::string> words;
50 boost::algorithm::split( words, spaced, boost::is_any_of( " " ) );
51 return join( words.begin(), words.end(), caps );
52}
53
54} // namespace IECore

Callers 1

testFromSpacedMethod · 0.80

Calls 4

splitFunction · 0.85
joinFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by 1

testFromSpacedMethod · 0.64