ScummVM API documentation
NGI::ObArray Class Reference
Inheritance diagram for NGI::ObArray:
Common::Array< CObject > NGI::CObject

Public Member Functions

bool load (MfcArchive &file) override
 
- Public Member Functions inherited from Common::Array< CObject >
 Array (size_type count)
 
 Array (size_type count, const CObject &value)
 
 Array (const Array< CObject > &array)
 
 Array (Array< CObject > &&old)
 
 Array (std::initializer_list< CObject > list)
 
 Array (const T2 *array, size_type n)
 
void emplace (const_iterator pos, TArgs &&... args)
 
void emplace_back (TArgs &&...args)
 
void push_back (const CObject &element)
 
void push_back (CObject &&element)
 
void push_back (const Array< CObject > &array)
 
void pop_back ()
 
const CObject * data () const
 
CObject * data ()
 
CObject & front ()
 
const CObject & front () const
 
CObject & back ()
 
const CObject & back () const
 
void insert_at (size_type idx, const CObject &element)
 
void insert_at (size_type idx, const Array< CObject > &array)
 
void insert (iterator pos, const CObject &element)
 
CObject remove_at (size_type idx)
 
CObject & operator[] (size_type idx)
 
const CObject & operator[] (size_type idx) const
 
Array< CObject > & operator= (const Array< CObject > &array)
 
Arrayoperator= (Array< CObject > &&old)
 
size_type size () const
 
void clear ()
 
iterator erase (iterator pos)
 
iterator erase (iterator first, iterator last)
 
bool empty () const
 
bool operator== (const Array< CObject > &other) const
 
bool operator!= (const Array< CObject > &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 CObject value)
 
void assign (const_iterator first, const_iterator last)
 
void swap (Array &arr)
 
- Public Member Functions inherited from NGI::CObject
virtual void save (MfcArchive &out)
 
bool loadFile (const Common::Path &fname)
 

Additional Inherited Members

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

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