ScummVM API documentation
AGS3::ScriptDictBase Class Referenceabstract
Inheritance diagram for AGS3::ScriptDictBase:
AGS3::AGSCCDynamicObject AGS3::CCBasicObject AGS3::IScriptObject AGS3::ScriptDictImpl< TDict, is_sorted, is_casesensitive >

Public Member Functions

int Dispose (void *address, bool force) override
 
const char * GetType () override
 
void Unserialize (int index, AGS::Shared::Stream *in, size_t data_sz) override
 
virtual bool IsCaseSensitive () const =0
 
virtual bool IsSorted () const =0
 
virtual void Clear ()=0
 
virtual bool Contains (const char *key)=0
 
virtual const char * Get (const char *key)=0
 
virtual bool Remove (const char *key)=0
 
virtual bool Set (const char *key, const char *value)=0
 
virtual int GetItemCount ()=0
 
virtual void GetKeys (std::vector< const char *> &buf) const =0
 
virtual void GetValues (std::vector< const char *> &buf) const =0
 
- Public Member Functions inherited from AGS3::AGSCCDynamicObject
int Serialize (void *address, uint8_t *buffer, int bufsize) override
 
- Public Member Functions inherited from AGS3::CCBasicObject
void * GetFieldPtr (void *address, intptr_t offset) override
 
void Read (void *address, intptr_t offset, uint8_t *dest, size_t size) override
 
uint8_t ReadInt8 (void *address, intptr_t offset) override
 
int16_t ReadInt16 (void *address, intptr_t offset) override
 
int32_t ReadInt32 (void *address, intptr_t offset) override
 
float ReadFloat (void *address, intptr_t offset) override
 
void Write (void *address, intptr_t offset, const uint8_t *src, size_t size) override
 
void WriteInt8 (void *address, intptr_t offset, uint8_t val) override
 
void WriteInt16 (void *address, intptr_t offset, int16_t val) override
 
void WriteInt32 (void *address, intptr_t offset, int32_t val) override
 
void WriteFloat (void *address, intptr_t offset, float val) override
 

Protected Member Functions

size_t CalcSerializeSize (const void *address) override
 
void Serialize (const void *address, AGS::Shared::Stream *out) override
 

The documentation for this class was generated from the following file: