MCPcopy Create free account
hub / github.com/anjo76/angelscript / GetTypeId

Method GetTypeId

sdk/add_on/scriptdictionary/scriptdictionary.cpp:358–366  ·  view source on GitHub ↗

Returns the type id of the stored value

Source from the content-addressed store, hash-verified

356
357// Returns the type id of the stored value
358int CScriptDictionary::GetTypeId(const dictKey_t &key) const
359{
360 dictMap_t::const_iterator it;
361 it = dict.find(key);
362 if( it != dict.end() )
363 return it->second.m_typeId;
364
365 return -1;
366}
367
368bool CScriptDictionary::Get(const dictKey_t &key, asINT64 &value) const
369{

Callers

nothing calls this directly

Calls 2

findMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected