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

Method insert

Engine/source/console/arrayObject.cpp:309–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307//-----------------------------------------------------------------------------
308
309void ArrayObject::insert( const String &key, const String &value, S32 index )
310{
311 index = mClamp( index, 0, mArray.size() );
312 mArray.insert( index, Element( key, value ) );
313}
314
315//-----------------------------------------------------------------------------
316

Callers 15

_setMethod · 0.45
setDescriptionMethod · 0.45
setSortNameMethod · 0.45
setScriptPathExpandoFunction · 0.45
writeFieldMethod · 0.45
writeFieldsMethod · 0.45
setFilenameMethod · 0.45
registerObjectMethod · 0.45
setIdMethod · 0.45
assignNameMethod · 0.45
isMethodMethod · 0.45
isFieldMethod · 0.45

Calls 3

mClampFunction · 0.85
ElementClass · 0.70
sizeMethod · 0.45

Tested by 1

TESTFunction · 0.36