ScummVM API documentation
Ultima::Ultima8::UCList Class Reference

Public Member Functions

 UCList (unsigned int elementSize, unsigned int capacity=0)
 
const uint8 * operator[] (uint32 index) const
 
uint16 getuint16 (uint32 index) const
 
void append (const uint8 *e)
 
void appenduint16 (uint16 val)
 
void remove (const uint8 *e)
 
bool inList (const uint8 *e) const
 
void appendList (const UCList &l)
 
void unionList (const UCList &l)
 
void subtractList (const UCList &l)
 
void free ()
 
uint32 getSize () const
 
unsigned int getElementSize () const
 
void assign (uint32 index, const uint8 *e)
 
void copyList (const UCList &l)
 
void freeStrings ()
 
void copyStringList (const UCList &l)
 
void unionStringList (UCList &l)
 
void subtractStringList (const UCList &l)
 
bool stringInList (uint16 str) const
 
void assignString (uint32 index, uint16 str)
 
void removeString (uint16 str, bool nodel=false)
 
uint16 getStringIndex (uint32 index) const
 
void save (Common::WriteStream *ws) const
 
bool load (Common::ReadStream *rs, uint32 version)
 

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