Iridescence 1.00
Embedded Graphic Framework
Loading...
Searching...
No Matches
static_vector< S, T > Class Template Reference

static_vector implements a vector with statically allocated storage space More...

#include <ds_types_vector.h>

Inheritance diagram for static_vector< S, T >:
[legend]

Additional Inherited Members

- Public Member Functions inherited from vector< T >
 vector ()
 Creates an empty vector.
 
 vector (const vector &rhs)=delete
 
void clear (void)
 Clears all the elements of the vector.
 
size_t capacity (void) const
 Returns the capacity of the vector.
 
size_t size (void) const
 Returns the number of elements in the vector.
 
const T * data (void) const
 Returns the pointer to the C array underlying the vector.
 
T * data (void)
 Returns the pointer to the C array underlying the vector.
 
T & operator[] (size_t pos)
 Access operator [].
 
int32_t find (const T &value)
 Searches for the first element matching the specified value.
 
int32_t find (const lambda< bool(const T &item)> &equals)
 Searches for the first element matching the specified value. Uses a lambda to perform the matching.
 
void append (const T &item)
 Appends an element at the end of the vector.
 
void append (const T &item, size_t count)
 Appends an element one or more times at the end of the vector.
 
void append (const vector< T > &items)
 Appends the elements from the supplied vector at the end of the current vector.
 
void append (const vector< T > &items, size_t count)
 Appends a number of elements from the supplied vector at the end of the current vector.
 
void insert (const T &item, size_t pos)
 Inserts an element at a specified position in the vector.
 
void insert (const T &item, size_t count, size_t pos)
 Inserts an element one or more times at a specified position in the vector.
 
void insert (const vector< T > &items, size_t pos)
 Inserts the elements from the supplied vector at a specified position in the vector.
 
void insert (const vector< T > &items, size_t count, size_t pos)
 Inserts a number of elements from the supplied vector at a specified position in the vector.
 
void insert (const T *items, size_t count, size_t pos)
 Inserts the elements from the supplied C array at a specified position in the vector.
 
void erase (size_t pos, size_t count)
 Erases elements from the vector.
 
- Protected Attributes inherited from vector< T >
T * mArray
 
size_t mCapacity
 

Detailed Description

template<size_t S, typename T>
class static_vector< S, T >

static_vector implements a vector with statically allocated storage space


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