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,
std::
int32_t typeId) -
void Set(const dictKey_t& key,
const std::
int64_t& value) - void Set(const dictKey_t& key, const double& value)
-
auto Get(const dictKey_t& key,
void* value,
std::
int32_t typeId) const -> bool -
auto Get(const dictKey_t& key,
std::
int64_t& 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 -> std::
int32_t - 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() -> std::
int32_t - void SetGCFlag()
- auto GetGCFlag() -> bool
- void EnumReferences(asIScriptEngine* engine)
- void ReleaseAllReferences(asIScriptEngine* engine)
Protected functions
- void Init(asIScriptEngine* engine)