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

Method insert

Engine/source/console/arrayObject.cpp:303–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301//-----------------------------------------------------------------------------
302
303void ArrayObject::insert( const String &key, const String &value, S32 index )
304{
305 index = mClamp( index, 0, mArray.size() );
306 mArray.insert( index, Element( key, value ) );
307}
308
309//-----------------------------------------------------------------------------
310

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