Public Member Functions | |
int | indexOf (uint val) const |
bool | contains (uint val) |
void | remove (uint val) |
void | push_back (uint val) |
Public Member Functions inherited from Common::Array< uint > | |
Array (size_type count) | |
Array (size_type count, const uint &value) | |
Array (const Array< uint > &array) | |
Array (Array< uint > &&old) | |
Array (std::initializer_list< uint > list) | |
Array (const T2 *array, size_type n) | |
void | emplace (const_iterator pos, TArgs &&... args) |
void | emplace_back (TArgs &&...args) |
void | push_back (const uint &element) |
void | push_back (uint &&element) |
void | push_back (const Array< uint > &array) |
void | pop_back () |
const uint * | data () const |
uint * | data () |
uint & | front () |
const uint & | front () const |
uint & | back () |
const uint & | back () const |
void | insert_at (size_type idx, const uint &element) |
void | insert_at (size_type idx, const Array< uint > &array) |
void | insert (iterator pos, const uint &element) |
uint | remove_at (size_type idx) |
uint & | operator[] (size_type idx) |
const uint & | operator[] (size_type idx) const |
Array< uint > & | operator= (const Array< uint > &array) |
Array & | operator= (Array< uint > &&old) |
size_type | size () const |
void | clear () |
iterator | erase (iterator pos) |
iterator | erase (iterator first, iterator last) |
bool | empty () const |
bool | operator== (const Array< uint > &other) const |
bool | operator!= (const Array< uint > &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 uint value) |
void | assign (const_iterator first, const_iterator last) |
void | swap (Array &arr) |
Additional Inherited Members | |
Public Types inherited from Common::Array< uint > | |
typedef uint * | iterator |
typedef const uint * | const_iterator |
typedef uint | value_type |
typedef uint | size_type |
Protected Member Functions inherited from Common::Array< uint > | |
void | allocCapacity (size_type capacity) |
void | freeStorage (uint *storage, const size_type elements) |
iterator | insert_aux (iterator pos, const_iterator first, const_iterator last) |
Static Protected Member Functions inherited from Common::Array< uint > | |
static size_type | roundUpCapacity (size_type capacity) |
Protected Attributes inherited from Common::Array< uint > | |
size_type | _capacity |
size_type | _size |
uint * | _storage |
|
inline |
Returns true if the array contains the value
|
inline |
Removes a given item from the array
|
inline |
Adds an item to the array