MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / _moduleListToString

Method _moduleListToString

Engine/source/core/module.cpp:118–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116//-----------------------------------------------------------------------------
117
118String EngineModuleManager::_moduleListToString( Vector< Module* >& moduleList )
119{
120 StringBuilder str;
121
122 const U32 numModules = moduleList.size();
123 bool isFirst = true;
124 for( U32 i = 0; i < numModules; ++ i )
125 {
126 if( !isFirst )
127 str.append( " -> " );
128
129 str.append( moduleList[ i ]->getName() );
130
131 isFirst = false;
132 }
133
134 return str.end();
135}
136
137//-----------------------------------------------------------------------------
138

Callers

nothing calls this directly

Calls 4

sizeMethod · 0.45
appendMethod · 0.45
getNameMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected