ScummVM API documentation
MM::MM1::ItemsArray Struct Reference
Inheritance diagram for MM::MM1::ItemsArray:
Common::Array< Item > MM::MM1::TextParser

Public Member Functions

bool load ()
 
ItemgetItem (byte index) const
 
- Public Member Functions inherited from Common::Array< Item >
 Array (size_type count)
 
 Array (size_type count, const Item &value)
 
 Array (const Array< Item > &array)
 
 Array (Array< Item > &&old)
 
 Array (std::initializer_list< Item > list)
 
 Array (const T2 *array, size_type n)
 
void emplace (const_iterator pos, TArgs &&... args)
 
void emplace_back (TArgs &&...args)
 
void push_back (const Item &element)
 
void push_back (Item &&element)
 
void push_back (const Array< Item > &array)
 
void pop_back ()
 
const Item * data () const
 
Item * data ()
 
Item & front ()
 
const Item & front () const
 
Item & back ()
 
const Item & back () const
 
void insert_at (size_type idx, const Item &element)
 
void insert_at (size_type idx, const Array< Item > &array)
 
void insert (iterator pos, const Item &element)
 
Item remove_at (size_type idx)
 
Item & operator[] (size_type idx)
 
const Item & operator[] (size_type idx) const
 
Array< Item > & operator= (const Array< Item > &array)
 
Arrayoperator= (Array< Item > &&old)
 
size_type size () const
 
void clear ()
 
iterator erase (iterator pos)
 
iterator erase (iterator first, iterator last)
 
bool empty () const
 
bool operator== (const Array< Item > &other) const
 
bool operator!= (const Array< Item > &other) const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
void reserve (size_type newCapacity)
 
void resize (size_type newSize)
 
void resize (size_type newSize, const Item value)
 
void assign (const_iterator first, const_iterator last)
 
void swap (Array &arr)
 

Additional Inherited Members

- Public Types inherited from Common::Array< Item >
typedef Item * iterator
 
typedef const Item * const_iterator
 
typedef Item value_type
 
typedef uint size_type
 
- Static Public Member Functions inherited from MM::MM1::TextParser
static uint getNextValue (Common::String &line)
 
- Protected Member Functions inherited from Common::Array< Item >
void allocCapacity (size_type capacity)
 
void freeStorage (Item *storage, const size_type elements)
 
iterator insert_aux (iterator pos, const_iterator first, const_iterator last)
 
- Static Protected Member Functions inherited from Common::Array< Item >
static size_type roundUpCapacity (size_type capacity)
 
- Protected Attributes inherited from Common::Array< Item >
size_type _capacity
 
size_type _size
 
Item * _storage
 

Member Function Documentation

◆ load()

bool MM::MM1::ItemsArray::load ( )

Loads the items array

◆ getItem()

Item* MM::MM1::ItemsArray::getItem ( byte  index) const

Gets an item


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