class
CScriptDictionaryAngelScript 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)