Turok
 
Loading...
Searching...
No Matches
kDictMem Class Reference

Read only Dictionary object that holds keys and values. More...

Public Member Functions

bool GetFloat (const kStr &in key, float &out floatResult, const float defaultValue=0)
 Returns true if found the key as a float type.
 
bool GetInt (const kStr &in key, int &out intResult, const int defaultValue=0)
 Returns true if found the key as a int type.
 
bool GetBool (const kStr &in key, bool &out boolResult, const bool defaultValue=false)
 Returns true if found the key as a bool type.
 
bool GetString (const kStr &in key, kStr &out stringResult)
 Returns true if found the key as a kStr type.
 
bool GetVector (const kStr &in key, kVec3 &out vectorResult)
 Returns true if found the key as a kVec3 type.
 

Detailed Description

Read only Dictionary object that holds keys and values.

Definition at line 903 of file t1_scriptAPI.cpp.

Member Function Documentation

◆ GetBool()

bool kDictMem::GetBool ( const kStr &in key,
bool &out boolResult,
const bool defaultValue = false )

Returns true if found the key as a bool type.

◆ GetFloat()

bool kDictMem::GetFloat ( const kStr &in key,
float &out floatResult,
const float defaultValue = 0 )

Returns true if found the key as a float type.

◆ GetInt()

bool kDictMem::GetInt ( const kStr &in key,
int &out intResult,
const int defaultValue = 0 )

Returns true if found the key as a int type.

◆ GetString()

bool kDictMem::GetString ( const kStr &in key,
kStr &out stringResult )

Returns true if found the key as a kStr type.

◆ GetVector()

bool kDictMem::GetVector ( const kStr &in key,
kVec3 &out vectorResult )

Returns true if found the key as a kVec3 type.