Returns the type id of the stored value
| 356 | |
| 357 | // Returns the type id of the stored value |
| 358 | int 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 | |
| 368 | bool CScriptDictionary::Get(const dictKey_t &key, asINT64 &value) const |
| 369 | { |