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

Function split

src/IECorePython/CamelCaseBinding.cpp:54–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52{
53
54static boost::python::list split( const std::string &camelCase )
55{
56 vector<string> s;
57 CamelCase::split( camelCase, back_insert_iterator<vector<string> >( s ) );
58
59 boost::python::list result;
60 for( vector<string>::const_iterator it = s.begin(), end = s.end(); it!=end; ++it )
61 {
62 result.append( *it );
63 }
64
65 return result;
66}
67
68static std::string join( object words, CamelCase::Caps caps, const std::string &separator )
69{

Callers 7

split1Function · 0.85
split2Function · 0.85
registerWriterMethod · 0.85
FileNameParameterMethod · 0.85
registerReaderMethod · 0.85
toSpacedMethod · 0.85
fromSpacedMethod · 0.85

Calls 3

appendMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected