ScummVM API documentation
Xeen::CharacterArray Class Reference
Inheritance diagram for Xeen::CharacterArray:
Common::Array< Character >

Public Member Functions

int indexOf (const Character &c)
 
- Public Member Functions inherited from Common::Array< Character >
 Array (size_type count)
 
 Array (size_type count, const Character &value)
 
 Array (const Array< Character > &array)
 
 Array (Array< Character > &&old)
 
 Array (std::initializer_list< Character > list)
 
 Array (const T2 *array, size_type n)
 
void push_back (const Character &element)
 
void push_back (const Array< Character > &array)
 
void pop_back ()
 
const Character * data () const
 
Character * data ()
 
Character & front ()
 
const Character & front () const
 
Character & back ()
 
const Character & back () const
 
void insert_at (size_type idx, const Character &element)
 
void insert_at (size_type idx, const Array< Character > &array)
 
void insert (iterator pos, const Character &element)
 
Character remove_at (size_type idx)
 
Character & operator[] (size_type idx)
 
const Character & operator[] (size_type idx) const
 
Array< Character > & operator= (const Array< Character > &array)
 
Arrayoperator= (Array< Character > &&old)
 
size_type size () const
 
void clear ()
 
iterator erase (iterator pos)
 
iterator erase (iterator first, iterator last)
 
bool empty () const
 
bool operator== (const Array< Character > &other) const
 
bool operator!= (const Array< Character > &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 assign (const_iterator first, const_iterator last)
 

Additional Inherited Members

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

Member Function Documentation

◆ indexOf()

int Xeen::CharacterArray::indexOf ( const Character c)

Returns the index of a given character in the array


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