ScummVM API documentation
Wintermute::BaseArrayBase< TYPE > Class Template Reference
Inheritance diagram for Wintermute::BaseArrayBase< TYPE >:
Common::Array< TYPE > Wintermute::BaseArray< TYPE >

Public Member Functions

int add (TYPE newElement)
 
void remove_at (uint32 idx)
 
void remove_at (uint32 idx, uint32 num)
 
template<typename T2 >
void copy (const BaseArrayBase< T2 > &src)
 
- Public Member Functions inherited from Common::Array< TYPE >
 Array (size_type count)
 
 Array (size_type count, const TYPE &value)
 
 Array (const Array< TYPE > &array)
 
 Array (Array< TYPE > &&old)
 
 Array (std::initializer_list< TYPE > list)
 
 Array (const T2 *array, size_type n)
 
void emplace (const_iterator pos, TArgs &&... args)
 
void emplace_back (TArgs &&...args)
 
void push_back (const TYPE &element)
 
void push_back (TYPE &&element)
 
void push_back (const Array< TYPE > &array)
 
void pop_back ()
 
const TYPE * data () const
 
TYPE * data ()
 
TYPE & front ()
 
const TYPE & front () const
 
TYPE & back ()
 
const TYPE & back () const
 
void insert_at (size_type idx, const TYPE &element)
 
void insert_at (size_type idx, const Array< TYPE > &array)
 
void insert (iterator pos, const TYPE &element)
 
TYPE remove_at (size_type idx)
 
TYPE & operator[] (size_type idx)
 
const TYPE & operator[] (size_type idx) const
 
Array< TYPE > & operator= (const Array< TYPE > &array)
 
Arrayoperator= (Array< TYPE > &&old)
 
size_type size () const
 
void clear ()
 
iterator erase (iterator pos)
 
iterator erase (iterator first, iterator last)
 
bool empty () const
 
bool operator== (const Array< TYPE > &other) const
 
bool operator!= (const Array< TYPE > &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 TYPE value)
 
void assign (const_iterator first, const_iterator last)
 
void swap (Array &arr)
 

Additional Inherited Members

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

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