ScummVM API documentation
Titanic::TTmapEntryArray Class Reference
Inheritance diagram for Titanic::TTmapEntryArray:
Common::Array< TTmapEntry >

Public Member Functions

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

Additional Inherited Members

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

Member Function Documentation

◆ find()

int Titanic::TTmapEntryArray::find ( uint  id) const

Finds a record by Id, and returns it's associated value


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