Jazz2::Scripting::CScriptDictionary class

AngelScript dictionary

Public types

class CIterator
AngelScript dictionary iterator

Public static functions

static auto Create(asIScriptEngine* engine) -> CScriptDictionary*
static auto Create(asBYTE* buffer) -> CScriptDictionary*

Constructors, destructors, conversion operators

CScriptDictionary(asIScriptEngine* engine) protected
CScriptDictionary(asBYTE* buffer) protected
~CScriptDictionary() protected virtual

Public functions

void AddRef() const
void Release() const
auto operator=(const CScriptDictionary& other) -> CScriptDictionary&
void Set(const dictKey_t& key, void* value, int typeId)
void Set(const dictKey_t& key, const asINT64& value)
void Set(const dictKey_t& key, const double& value)
auto Get(const dictKey_t& key, void* value, int typeId) const -> bool
auto Get(const dictKey_t& key, asINT64& value) const -> bool
auto Get(const dictKey_t& key, double& value) const -> bool
auto operator[](const dictKey_t& key) -> CScriptDictValue*
auto operator[](const dictKey_t& key) const -> const CScriptDictValue*
auto GetTypeId(const dictKey_t& key) const -> int
auto Exists(const dictKey_t& key) const -> bool
auto IsEmpty() const -> bool
auto GetSize() const -> asUINT
auto Delete(const dictKey_t& key) -> bool
void DeleteAll()
auto GetKeys() const -> CScriptArray*
auto begin() const -> CIterator
auto end() const -> CIterator
auto find(const dictKey_t& key) const -> CIterator
auto GetRefCount() -> int
void SetGCFlag()
auto GetGCFlag() -> bool
void EnumReferences(asIScriptEngine* engine)
void ReleaseAllReferences(asIScriptEngine* engine)

Protected functions

void Init(asIScriptEngine* engine)

Protected variables

asIScriptEngine* engine
int refCount
bool gcFlag
dictMap_t dict