|
Embedded Template Library 1.0
|
Classes | |
| class | etl::deque_incompatible_type |
| class | etl::hash_finalised |
| class | etl::indirect_vector_buffer_missmatch |
| class | etl::ivector< T * > |
| class | etl::pvoidvector |
| class | etl::vector_exception |
| class | etl::vector_full |
| class | etl::vector_empty |
| class | etl::vector_out_of_bounds |
| class | etl::vector_incompatible_type |
| class | etl::vector_base |
| class | etl::ivector< T > |
| class | etl::vector< T, MAX_SIZE_ > |
| class | etl::vector_ext< T > |
| Template deduction guides. More... | |
| class | etl::vector< T *, MAX_SIZE_ > |
| class | etl::vector_ext< T * > |
| Template deduction guides. More... | |
Functions | |
| template<typename T> | |
| bool | etl::operator== (const etl::ivector< T * > &lhs, const etl::ivector< T * > &rhs) |
| template<typename T> | |
| bool | etl::operator!= (const etl::ivector< T * > &lhs, const etl::ivector< T * > &rhs) |
| template<typename T> | |
| bool | etl::operator< (const etl::ivector< T * > &lhs, const etl::ivector< T * > &rhs) |
| template<typename T> | |
| bool | etl::operator> (const etl::ivector< T * > &lhs, const etl::ivector< T * > &rhs) |
| template<typename T> | |
| bool | etl::operator<= (const etl::ivector< T * > &lhs, const etl::ivector< T * > &rhs) |
| template<typename T> | |
| bool | etl::operator>= (const etl::ivector< T * > &lhs, const etl::ivector< T * > &rhs) |
| bool | etl::operator== (const etl::pvoidvector &lhs, const etl::pvoidvector &rhs) |
| bool | etl::operator!= (const etl::pvoidvector &lhs, const etl::pvoidvector &rhs) |
| bool | etl::operator< (const etl::pvoidvector &lhs, const etl::pvoidvector &rhs) |
| bool | etl::operator> (const etl::pvoidvector &lhs, const etl::pvoidvector &rhs) |
| bool | etl::operator<= (const etl::pvoidvector &lhs, const etl::pvoidvector &rhs) |
| bool | etl::operator>= (const etl::pvoidvector &lhs, const etl::pvoidvector &rhs) |
| template<typename T> | |
| bool | etl::operator== (const etl::ivector< T > &lhs, const etl::ivector< T > &rhs) |
| template<typename T> | |
| bool | etl::operator!= (const etl::ivector< T > &lhs, const etl::ivector< T > &rhs) |
| template<typename T> | |
| bool | etl::operator< (const etl::ivector< T > &lhs, const etl::ivector< T > &rhs) |
| template<typename T> | |
| bool | etl::operator> (const etl::ivector< T > &lhs, const etl::ivector< T > &rhs) |
| template<typename T> | |
| bool | etl::operator<= (const etl::ivector< T > &lhs, const etl::ivector< T > &rhs) |
| template<typename T> | |
| bool | etl::operator>= (const etl::ivector< T > &lhs, const etl::ivector< T > &rhs) |
A vector with the capacity defined at compile time.
| class etl::deque_incompatible_type |
Deque incompatible type exception.
Public Member Functions | |
| deque_incompatible_type (string_type file_name_, numeric_type line_number_) | |
| Public Member Functions inherited from etl::deque_exception | |
| deque_exception (string_type reason_, string_type file_name_, numeric_type line_number_) | |
| Public Member Functions inherited from etl::exception | |
| ETL_CONSTEXPR | exception (string_type reason_, string_type, numeric_type line_) |
| Constructor. | |
| ETL_CONSTEXPR string_type | what () const |
| ETL_CONSTEXPR string_type | file_name () const |
| ETL_CONSTEXPR numeric_type | line_number () const |
Additional Inherited Members | |
| Public Types inherited from etl::exception | |
| typedef const char * | string_type |
| typedef int | numeric_type |
| class etl::hash_finalised |
Hash finalised exception.
Public Member Functions | |
| hash_finalised (string_type file_name_, numeric_type line_number_) | |
| Public Member Functions inherited from etl::hash_exception | |
| hash_exception (string_type reason_, string_type file_name_, numeric_type line_number_) | |
| Public Member Functions inherited from etl::exception | |
| ETL_CONSTEXPR | exception (string_type reason_, string_type, numeric_type line_) |
| Constructor. | |
| ETL_CONSTEXPR string_type | what () const |
| ETL_CONSTEXPR string_type | file_name () const |
| ETL_CONSTEXPR numeric_type | line_number () const |
Additional Inherited Members | |
| Public Types inherited from etl::exception | |
| typedef const char * | string_type |
| typedef int | numeric_type |
| class etl::indirect_vector_buffer_missmatch |
Vector full exception.
Public Member Functions | |
| indirect_vector_buffer_missmatch (string_type file_name_, numeric_type line_number_) | |
| Public Member Functions inherited from etl::vector_exception | |
| vector_exception (string_type reason_, string_type file_name_, numeric_type line_number_) | |
| Public Member Functions inherited from etl::exception | |
| ETL_CONSTEXPR | exception (string_type reason_, string_type, numeric_type line_) |
| Constructor. | |
| ETL_CONSTEXPR string_type | what () const |
| ETL_CONSTEXPR string_type | file_name () const |
| ETL_CONSTEXPR numeric_type | line_number () const |
Additional Inherited Members | |
| Public Types inherited from etl::exception | |
| typedef const char * | string_type |
| typedef int | numeric_type |
| class etl::ivector< T * > |
The base class for specifically sized vectors. Can be used as a reference type for all vectors containing a specific pointer type.
Public Types | |
| typedef T * | value_type |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
| typedef value_type * | pointer |
| typedef const value_type * | const_pointer |
| typedef value_type * | iterator |
| typedef const value_type * | const_iterator |
| typedef ETL_OR_STD::reverse_iterator< iterator > | reverse_iterator |
| typedef ETL_OR_STD::reverse_iterator< const_iterator > | const_reverse_iterator |
| typedef size_t | size_type |
| typedef etl::iterator_traits< iterator >::difference_type | difference_type |
| Public Types inherited from etl::vector_base | |
| typedef size_t | size_type |
| Public Types inherited from etl::pvoidvector | |
| typedef void * | value_type |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
| typedef value_type * | pointer |
| typedef const value_type * | const_pointer |
| typedef value_type * | iterator |
| typedef const value_type * | const_iterator |
| typedef ETL_OR_STD::reverse_iterator< iterator > | reverse_iterator |
| typedef ETL_OR_STD::reverse_iterator< const_iterator > | const_reverse_iterator |
| typedef size_t | size_type |
| typedef etl::iterator_traits< iterator >::difference_type | difference_type |
Public Member Functions | |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | cbegin () const |
| const_iterator | cend () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
| const_reverse_iterator | crbegin () const |
| const_reverse_iterator | crend () const |
| void | resize (size_t new_size) |
| void | resize (size_t new_size, value_type value) |
| void | uninitialized_resize (size_t new_size) |
| reference | operator[] (size_t i) |
| const_reference | operator[] (size_t i) const |
| reference | at (size_t i) |
| const_reference | at (size_t i) const |
| reference | front () |
| const_reference | front () const |
| reference | back () |
| const_reference | back () const |
| pointer | data () |
| const_pointer | data () const |
| template<typename TIterator> | |
| void | assign (TIterator first, TIterator last) |
| void | assign (size_t n, parameter_t value) |
| void | clear () |
| Clears the vector. | |
| void | push_back (parameter_t value) |
| reference | emplace_back () |
| reference | emplace_back (parameter_t value) |
| void | pop_back () |
| iterator | insert (const_iterator position, parameter_t value) |
| iterator | emplace (const_iterator position) |
| Emplaces a value to the vector at the specified position. | |
| iterator | emplace (const_iterator position, parameter_t value) |
| Emplaces a value to the vector at the specified position. | |
| void | insert (const_iterator position, size_t n, parameter_t value) |
| template<class TIterator> | |
| void | insert (const_iterator position, TIterator first, TIterator last) |
| iterator | erase (iterator i_element) |
| iterator | erase (const_iterator i_element) |
| iterator | erase (const_iterator first, const_iterator last) |
| ivector & | operator= (const ivector &rhs) |
| Assignment operator. | |
| void | reserve (size_t n) |
| void | fill (const T &value) |
| Fills the vector. | |
| size_type | size () const |
| bool | empty () const |
| bool | full () const |
| size_t | available () const |
| Public Member Functions inherited from etl::vector_base | |
| size_type | capacity () const |
| size_type | max_size () const |
| Public Member Functions inherited from etl::pvoidvector | |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | cbegin () const |
| const_iterator | cend () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
| const_reverse_iterator | crbegin () const |
| const_reverse_iterator | crend () const |
| void | resize (size_t new_size) |
| void | resize (size_t new_size, value_type value) |
| void | uninitialized_resize (size_t new_size) |
| reference | operator[] (size_t i) |
| const_reference | operator[] (size_t i) const |
| reference | at (size_t i) |
| const_reference | at (size_t i) const |
| reference | front () |
| const_reference | front () const |
| reference | back () |
| const_reference | back () const |
| pointer | data () |
| const_pointer | data () const |
| template<typename TIterator> | |
| etl::enable_if<!etl::is_pointer< TIterator >::value, void >::type | assign (TIterator first, TIterator last) |
| template<typename TIterator> | |
| etl::enable_if< etl::is_pointer< TIterator >::value, void >::type | assign (TIterator first, TIterator last) |
| void | assign (size_t n, value_type value) |
| void | clear () |
| Clears the vector. | |
| void | push_back (value_type value) |
| void | emplace_back (value_type value) |
| void | pop_back () |
| iterator | insert (const_iterator position, value_type value) |
| iterator | emplace (const_iterator position) |
| iterator | emplace (const_iterator position, value_type value) |
| void | insert (const_iterator position, size_t n, value_type value) |
| template<typename TIterator> | |
| etl::enable_if<!etl::is_pointer< TIterator >::value, void >::type | insert (const_iterator position, TIterator first, TIterator last) |
| template<typename TIterator> | |
| etl::enable_if< etl::is_pointer< TIterator >::value, void >::type | insert (const_iterator position, TIterator first, TIterator last) |
| iterator | erase (iterator i_element) |
| iterator | erase (const_iterator i_element) |
| iterator | erase (const_iterator first, const_iterator last) |
| etl::pvoidvector & | operator= (const etl::pvoidvector &rhs) |
| Assignment operator. | |
| size_type | size () const |
| bool | empty () const |
| bool | full () const |
| size_t | available () const |
Protected Types | |
| typedef value_type | parameter_t |
Protected Member Functions | |
| ivector (T **p_buffer_, size_t MAX_SIZE_) | |
| Constructor. | |
| void | initialise () |
| Initialise the vector. | |
| void | repair_buffer (T *p_buffer_) |
| Fix the internal pointers after a low level memory copy. | |
| Protected Member Functions inherited from etl::vector_base | |
| vector_base (size_t max_size_) | |
| Constructor. | |
| ~vector_base () | |
| Destructor. | |
| Protected Member Functions inherited from etl::pvoidvector | |
| pvoidvector (void **p_buffer_, size_t MAX_SIZE) | |
| Constructor. | |
| void | initialise () |
| Initialise the vector. | |
| void | repair_buffer (void **p_buffer_) |
| Fix the internal pointers after a low level memory copy. | |
Protected Attributes | |
| pointer | p_buffer |
| Pointer to the start of the buffer. | |
| pointer | p_end |
| Pointer to one past the last element in the buffer. | |
| Protected Attributes inherited from etl::vector_base | |
| const size_type | CAPACITY |
| The maximum number of elements in the vector. | |
| ETL_DECLARE_DEBUG_COUNT | |
| Internal debugging. | |
| Protected Attributes inherited from etl::pvoidvector | |
| void ** | p_buffer |
| void ** | p_end |
|
inline |
Assigns values to the vector. If asserts or exceptions are enabled, emits vector_full if the vector does not have enough free space.
| n | The number of elements to add. |
| value | The value to insert for each element. |
|
inline |
Assigns values to the vector. If asserts or exceptions are enabled, emits vector_full if the vector does not have enough free space. If asserts or exceptions are enabled, emits vector_iterator if the iterators are reversed.
| first | The iterator to the first element. |
| last | The iterator to the last element + 1. |
|
inline |
Returns a reference to the value at index 'i' If asserts or exceptions are enabled, emits an etl::vector_out_of_bounds if the index is out of range.
| i | The index. |
|
inline |
Returns a const reference to the value at index 'i' If asserts or exceptions are enabled, emits an etl::vector_out_of_bounds if the index is out of range.
| i | The index. |
|
inline |
Returns the remaining capacity.
|
inline |
Returns a reference to the last element.
|
inline |
Returns a const reference to the last element.
|
inline |
Returns an iterator to the beginning of the vector.
|
inline |
Returns a const_iterator to the beginning of the vector.
|
inline |
Returns a const_iterator to the beginning of the vector.
|
inline |
Returns a const_iterator to the end of the vector.
|
inline |
Returns a const reverse iterator to the reverse beginning of the vector.
|
inline |
Returns a const reverse iterator to the end + 1 of the vector.
|
inline |
Returns a pointer to the beginning of the vector data.
|
inline |
Returns a const pointer to the beginning of the vector data.
|
inline |
Constructs a value at the end of the vector. If asserts or exceptions are enabled, emits vector_full if the vector is already full.
| value | The value to add. |
|
inline |
Constructs a value at the end of the vector. If asserts or exceptions are enabled, emits vector_full if the vector is already full.
| value | The value to add. |
|
inline |
Checks the 'empty' state of the vector.
|
inline |
Returns an iterator to the end of the vector.
|
inline |
Returns a const_iterator to the end of the vector.
|
inline |
Erases a range of elements. The range includes all the elements between first and last, including the element pointed by first, but not the one pointed by last.
| first | Iterator to the first element. |
| last | Iterator to the last element. |
|
inline |
Erases an element.
| i_element | Iterator to the element. |
|
inline |
Erases an element.
| i_element | Iterator to the element. |
|
inline |
Returns a reference to the first element.
|
inline |
Returns a const reference to the first element.
|
inline |
Checks the 'full' state of the vector.
|
inline |
Inserts a value to the vector. If asserts or exceptions are enabled, emits vector_full if the vector is already full.
| position | The position to insert before. |
| value | The value to insert. |
|
inline |
Inserts 'n' values to the vector. If asserts or exceptions are enabled, emits vector_full if the vector does not have enough free space.
| position | The position to insert before. |
| n | The number of elements to add. |
| value | The value to insert. |
|
inline |
Inserts a range of values to the vector. If asserts or exceptions are enabled, emits vector_full if the vector does not have enough free space.
| position | The position to insert before. |
| first | The first element to add. |
| last | The last + 1 element to add. |
|
inline |
Returns a reference to the value at index 'i'
| i | The index. |
|
inline |
Returns a const reference to the value at index 'i'
| i | The index. |
|
inline |
Removes an element from the end of the vector. Does nothing if the vector is empty.
|
inline |
Inserts a value at the end of the vector. If asserts or exceptions are enabled, emits vector_full if the vector is already full.
| value | The value to add. |
|
inline |
Returns an reverse iterator to the reverse beginning of the vector.
|
inline |
Returns a const reverse iterator to the reverse beginning of the vector.
|
inline |
Returns a reverse iterator to the end + 1 of the vector.
|
inline |
Returns a const reverse iterator to the end + 1 of the vector.
|
inline |
For compatibility with the STL vector API. Does not increase the capacity, as this is fixed. Asserts an etl::vector_out_of_bounds error if the request is for more than the capacity.
|
inline |
Resizes the vector. If asserts or exceptions are enabled and the new size is larger than the maximum then a vector_full is thrown.
| new_size | The new size. |
|
inline |
Resizes the vector. If asserts or exceptions are enabled and the new size is larger than the maximum then a vector_full is thrown.
| new_size | The new size. |
| value | The value to fill new elements with. Default = default constructed value. |
|
inline |
Gets the current size of the vector.
|
inline |
Resizes the vector, but does not initialise new entries.
| new_size | The new size. |
| class etl::pvoidvector |
The base class for void* vectors.
Public Types | |
| typedef void * | value_type |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
| typedef value_type * | pointer |
| typedef const value_type * | const_pointer |
| typedef value_type * | iterator |
| typedef const value_type * | const_iterator |
| typedef ETL_OR_STD::reverse_iterator< iterator > | reverse_iterator |
| typedef ETL_OR_STD::reverse_iterator< const_iterator > | const_reverse_iterator |
| typedef size_t | size_type |
| typedef etl::iterator_traits< iterator >::difference_type | difference_type |
| Public Types inherited from etl::vector_base | |
| typedef size_t | size_type |
Public Member Functions | |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | cbegin () const |
| const_iterator | cend () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
| const_reverse_iterator | crbegin () const |
| const_reverse_iterator | crend () const |
| void | resize (size_t new_size) |
| void | resize (size_t new_size, value_type value) |
| void | uninitialized_resize (size_t new_size) |
| reference | operator[] (size_t i) |
| const_reference | operator[] (size_t i) const |
| reference | at (size_t i) |
| const_reference | at (size_t i) const |
| reference | front () |
| const_reference | front () const |
| reference | back () |
| const_reference | back () const |
| pointer | data () |
| const_pointer | data () const |
| template<typename TIterator> | |
| etl::enable_if<!etl::is_pointer< TIterator >::value, void >::type | assign (TIterator first, TIterator last) |
| template<typename TIterator> | |
| etl::enable_if< etl::is_pointer< TIterator >::value, void >::type | assign (TIterator first, TIterator last) |
| void | assign (size_t n, value_type value) |
| void | clear () |
| Clears the vector. | |
| void | push_back (value_type value) |
| void | emplace_back (value_type value) |
| void | pop_back () |
| iterator | insert (const_iterator position, value_type value) |
| iterator | emplace (const_iterator position) |
| iterator | emplace (const_iterator position, value_type value) |
| void | insert (const_iterator position, size_t n, value_type value) |
| template<typename TIterator> | |
| etl::enable_if<!etl::is_pointer< TIterator >::value, void >::type | insert (const_iterator position, TIterator first, TIterator last) |
| template<typename TIterator> | |
| etl::enable_if< etl::is_pointer< TIterator >::value, void >::type | insert (const_iterator position, TIterator first, TIterator last) |
| iterator | erase (iterator i_element) |
| iterator | erase (const_iterator i_element) |
| iterator | erase (const_iterator first, const_iterator last) |
| etl::pvoidvector & | operator= (const etl::pvoidvector &rhs) |
| Assignment operator. | |
| size_type | size () const |
| bool | empty () const |
| bool | full () const |
| size_t | available () const |
| Public Member Functions inherited from etl::vector_base | |
| size_type | capacity () const |
| size_type | max_size () const |
Protected Member Functions | |
| pvoidvector (void **p_buffer_, size_t MAX_SIZE) | |
| Constructor. | |
| void | initialise () |
| Initialise the vector. | |
| void | repair_buffer (void **p_buffer_) |
| Fix the internal pointers after a low level memory copy. | |
| Protected Member Functions inherited from etl::vector_base | |
| vector_base (size_t max_size_) | |
| Constructor. | |
| ~vector_base () | |
| Destructor. | |
Protected Attributes | |
| void ** | p_buffer |
| void ** | p_end |
| Protected Attributes inherited from etl::vector_base | |
| const size_type | CAPACITY |
| The maximum number of elements in the vector. | |
| ETL_DECLARE_DEBUG_COUNT | |
| Internal debugging. | |
|
inline |
Assigns values to the vector. If asserts or exceptions are enabled, emits vector_full if the vector does not have enough free space.
| n | The number of elements to add. |
| value | The value to insert for each element. |
|
inline |
Assigns values to the vector. Pointer If asserts or exceptions are enabled, emits vector_full if the vector does not have enough free space. If asserts or exceptions are enabled, emits vector_iterator if the iterators are reversed.
| first | The iterator to the first element. |
| last | The iterator to the last element + 1. |
|
inline |
Assigns values to the vector. Non-pointer If asserts or exceptions are enabled, emits vector_full if the vector does not have enough free space. If asserts or exceptions are enabled, emits vector_iterator if the iterators are reversed.
| first | The iterator to the first element. |
| last | The iterator to the last element + 1. |
|
inline |
Returns a reference to the value at index 'i' If asserts or exceptions are enabled, emits an etl::vector_out_of_bounds if the index is out of range.
| i | The index. |
|
inline |
Returns a const reference to the value at index 'i' If asserts or exceptions are enabled, emits an etl::vector_out_of_bounds if the index is out of range.
| i | The index. |
|
inline |
Returns the remaining capacity.
|
inline |
Returns a reference to the last element.
|
inline |
Returns a const reference to the last element.
|
inline |
Returns an iterator to the beginning of the vector.
|
inline |
Returns a const_iterator to the beginning of the vector.
|
inline |
Returns a const_iterator to the beginning of the vector.
|
inline |
Returns a const_iterator to the end of the vector.
|
inline |
Returns a const reverse iterator to the reverse beginning of the vector.
|
inline |
Returns a const reverse iterator to the end + 1 of the vector.
|
inline |
Returns a pointer to the beginning of the vector data.
|
inline |
Returns a const pointer to the beginning of the vector data.
|
inline |
Emplaces a value to the vector at the specified position. If asserts or exceptions are enabled, emits vector_full if the vector is already full.
|
inline |
Emplaces a value to the vector at the specified position. If asserts or exceptions are enabled, emits vector_full if the vector is already full.
|
inline |
Emplaces a value at the end of the vector. If asserts or exceptions are enabled, emits vector_full if the vector is already full.
| value | The value to add. |
|
inline |
Checks the 'empty' state of the vector.
|
inline |
Returns an iterator to the end of the vector.
|
inline |
Returns a const_iterator to the end of the vector.
|
inline |
Erases a range of elements. The range includes all the elements between first and last, including the element pointed by first, but not the one pointed by last.
| first | Iterator to the first element. |
| last | Iterator to the last element. |
|
inline |
Erases an element.
| i_element | Iterator to the element. |
|
inline |
Erases an element.
| i_element | Iterator to the element. |
|
inline |
Returns a reference to the first element.
|
inline |
Returns a const reference to the first element.
|
inline |
Checks the 'full' state of the vector.
|
inline |
Inserts 'n' values to the vector. If asserts or exceptions are enabled, emits vector_full if the vector does not have enough free space.
| position | The position to insert before. |
| n | The number of elements to add. |
| value | The value to insert. |
|
inline |
Inserts a range of values to the vector. If asserts or exceptions are enabled, emits vector_full if the vector does not have enough free space. For pointer iterators.
| position | The position to insert before. |
| first | The first element to add. |
| last | The last + 1 element to add. |
|
inline |
Inserts a range of values to the vector. If asserts or exceptions are enabled, emits vector_full if the vector does not have enough free space. For non-pointer iterators.
| position | The position to insert before. |
| first | The first element to add. |
| last | The last + 1 element to add. |
|
inline |
Inserts a value to the vector. If asserts or exceptions are enabled, emits vector_full if the vector is already full.
| position | The position to insert before. |
| value | The value to insert. |
|
inline |
Returns a reference to the value at index 'i'
| i | The index. |
|
inline |
Returns a const reference to the value at index 'i'
| i | The index. |
|
inline |
Removes an element from the end of the vector. Does nothing if the vector is empty.
|
inline |
Inserts a value at the end of the vector. If asserts or exceptions are enabled, emits vector_full if the vector is already full.
| value | The value to add. |
|
inline |
Returns an reverse iterator to the reverse beginning of the vector.
|
inline |
Returns a const reverse iterator to the reverse beginning of the vector.
|
inline |
Returns a reverse iterator to the end + 1 of the vector.
|
inline |
Returns a const reverse iterator to the end + 1 of the vector.
|
inline |
Resizes the vector. If asserts or exceptions are enabled and the new size is larger than the maximum then a vector_full is thrown.
| new_size | The new size. |
|
inline |
Resizes the vector. If asserts or exceptions are enabled and the new size is larger than the maximum then a vector_full is thrown.
| new_size | The new size. |
| value | The value to fill new elements with. Default = default constructed value. |
|
inline |
Gets the current size of the vector.
|
inline |
Resizes the vector, but does not initialise new entries.
| new_size | The new size. |
| class etl::vector_exception |
Exception base for vectors
Public Member Functions | |
| vector_exception (string_type reason_, string_type file_name_, numeric_type line_number_) | |
| Public Member Functions inherited from etl::exception | |
| ETL_CONSTEXPR | exception (string_type reason_, string_type, numeric_type line_) |
| Constructor. | |
| ETL_CONSTEXPR string_type | what () const |
| ETL_CONSTEXPR string_type | file_name () const |
| ETL_CONSTEXPR numeric_type | line_number () const |
Additional Inherited Members | |
| Public Types inherited from etl::exception | |
| typedef const char * | string_type |
| typedef int | numeric_type |
| class etl::vector_full |
Vector full exception.
Public Member Functions | |
| vector_full (string_type file_name_, numeric_type line_number_) | |
| Public Member Functions inherited from etl::vector_exception | |
| vector_exception (string_type reason_, string_type file_name_, numeric_type line_number_) | |
| Public Member Functions inherited from etl::exception | |
| ETL_CONSTEXPR | exception (string_type reason_, string_type, numeric_type line_) |
| Constructor. | |
| ETL_CONSTEXPR string_type | what () const |
| ETL_CONSTEXPR string_type | file_name () const |
| ETL_CONSTEXPR numeric_type | line_number () const |
Additional Inherited Members | |
| Public Types inherited from etl::exception | |
| typedef const char * | string_type |
| typedef int | numeric_type |
| class etl::vector_empty |
Vector empty exception.
Public Member Functions | |
| vector_empty (string_type file_name_, numeric_type line_number_) | |
| Public Member Functions inherited from etl::vector_exception | |
| vector_exception (string_type reason_, string_type file_name_, numeric_type line_number_) | |
| Public Member Functions inherited from etl::exception | |
| ETL_CONSTEXPR | exception (string_type reason_, string_type, numeric_type line_) |
| Constructor. | |
| ETL_CONSTEXPR string_type | what () const |
| ETL_CONSTEXPR string_type | file_name () const |
| ETL_CONSTEXPR numeric_type | line_number () const |
Additional Inherited Members | |
| Public Types inherited from etl::exception | |
| typedef const char * | string_type |
| typedef int | numeric_type |
| class etl::vector_out_of_bounds |
Vector out of bounds exception.
Public Member Functions | |
| vector_out_of_bounds (string_type file_name_, numeric_type line_number_) | |
| Public Member Functions inherited from etl::vector_exception | |
| vector_exception (string_type reason_, string_type file_name_, numeric_type line_number_) | |
| Public Member Functions inherited from etl::exception | |
| ETL_CONSTEXPR | exception (string_type reason_, string_type, numeric_type line_) |
| Constructor. | |
| ETL_CONSTEXPR string_type | what () const |
| ETL_CONSTEXPR string_type | file_name () const |
| ETL_CONSTEXPR numeric_type | line_number () const |
Additional Inherited Members | |
| Public Types inherited from etl::exception | |
| typedef const char * | string_type |
| typedef int | numeric_type |
| class etl::vector_incompatible_type |
Vector incompatible type exception.
Public Member Functions | |
| vector_incompatible_type (string_type file_name_, numeric_type line_number_) | |
| Public Member Functions inherited from etl::vector_exception | |
| vector_exception (string_type reason_, string_type file_name_, numeric_type line_number_) | |
| Public Member Functions inherited from etl::exception | |
| ETL_CONSTEXPR | exception (string_type reason_, string_type, numeric_type line_) |
| Constructor. | |
| ETL_CONSTEXPR string_type | what () const |
| ETL_CONSTEXPR string_type | file_name () const |
| ETL_CONSTEXPR numeric_type | line_number () const |
Additional Inherited Members | |
| Public Types inherited from etl::exception | |
| typedef const char * | string_type |
| typedef int | numeric_type |
| class etl::vector_base |
The base class for all templated vector types.
Public Types | |
| typedef size_t | size_type |
Public Member Functions | |
| size_type | capacity () const |
| size_type | max_size () const |
Protected Member Functions | |
| vector_base (size_t max_size_) | |
| Constructor. | |
| ~vector_base () | |
| Destructor. | |
Protected Attributes | |
| const size_type | CAPACITY |
| The maximum number of elements in the vector. | |
| ETL_DECLARE_DEBUG_COUNT | |
| Internal debugging. | |
|
inline |
Returns the capacity of the vector.
|
inline |
Returns the maximum possible size of the vector.
| class etl::ivector |
The base class for specifically sized vectors. Can be used as a reference type for all vectors containing a specific type.
Public Types | |
| typedef T | value_type |
| typedef T & | reference |
| typedef const T & | const_reference |
| typedef T * | pointer |
| typedef const T * | const_pointer |
| typedef T * | iterator |
| typedef const T * | const_iterator |
| typedef ETL_OR_STD::reverse_iterator< iterator > | reverse_iterator |
| typedef ETL_OR_STD::reverse_iterator< const_iterator > | const_reverse_iterator |
| typedef size_t | size_type |
| typedef etl::iterator_traits< iterator >::difference_type | difference_type |
| Public Types inherited from etl::vector_base | |
| typedef size_t | size_type |
Public Member Functions | |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | cbegin () const |
| const_iterator | cend () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
| const_reverse_iterator | crbegin () const |
| const_reverse_iterator | crend () const |
| void | resize (size_t new_size) |
| void | resize (size_t new_size, const_reference value) |
| void | uninitialized_resize (size_t new_size) |
| void | reserve (size_t n) |
| reference | operator[] (size_t i) |
| const_reference | operator[] (size_t i) const |
| reference | at (size_t i) |
| const_reference | at (size_t i) const |
| reference | front () |
| const_reference | front () const |
| reference | back () |
| const_reference | back () const |
| pointer | data () |
| ETL_CONSTEXPR const_pointer | data () const |
| template<typename TIterator> | |
| etl::enable_if<!etl::is_integral< TIterator >::value, void >::type | assign (TIterator first, TIterator last) |
| void | assign (size_t n, parameter_t value) |
| void | clear () |
| Clears the vector. | |
| void | fill (const T &value) |
| Fills the vector. | |
| void | push_back (const_reference value) |
| reference | emplace_back () |
| template<typename T1> | |
| reference | emplace_back (const T1 &value1) |
| template<typename T1, typename T2> | |
| reference | emplace_back (const T1 &value1, const T2 &value2) |
| template<typename T1, typename T2, typename T3> | |
| reference | emplace_back (const T1 &value1, const T2 &value2, const T3 &value3) |
| template<typename T1, typename T2, typename T3, typename T4> | |
| reference | emplace_back (const T1 &value1, const T2 &value2, const T3 &value3, const T4 &value4) |
| void | pop_back () |
| iterator | insert (const_iterator position, const_reference value) |
| template<typename T1> | |
| iterator | emplace (const_iterator position, const T1 &value1) |
| Emplaces a value to the vector at the specified position. | |
| template<typename T1, typename T2> | |
| iterator | emplace (const_iterator position, const T1 &value1, const T2 &value2) |
| template<typename T1, typename T2, typename T3> | |
| iterator | emplace (const_iterator position, const T1 &value1, const T2 &value2, const T3 &value3) |
| template<typename T1, typename T2, typename T3, typename T4> | |
| iterator | emplace (const_iterator position, const T1 &value1, const T2 &value2, const T3 &value3, const T4 &value4) |
| void | insert (const_iterator position, size_t n, parameter_t value) |
| template<class TIterator> | |
| void | insert (const_iterator position, TIterator first, TIterator last, typename etl::enable_if<!etl::is_integral< TIterator >::value, int >::type=0) |
| iterator | erase (iterator i_element) |
| iterator | erase (const_iterator i_element) |
| iterator | erase (const_iterator first, const_iterator last) |
| ivector & | operator= (const ivector &rhs) |
| Assignment operator. | |
| size_type | size () const |
| bool | empty () const |
| bool | full () const |
| size_t | available () const |
| Public Member Functions inherited from etl::vector_base | |
| size_type | capacity () const |
| size_type | max_size () const |
Protected Types | |
| typedef etl::parameter_type< T >::type | parameter_t |
Protected Member Functions | |
| ivector (T *p_buffer_, size_t MAX_SIZE) | |
| Constructor. | |
| void | initialise () |
| Initialise the vector. | |
| void | repair_buffer (T *p_buffer_) |
| Fix the internal pointers after a low level memory copy. | |
| Protected Member Functions inherited from etl::vector_base | |
| vector_base (size_t max_size_) | |
| Constructor. | |
| ~vector_base () | |
| Destructor. | |
Protected Attributes | |
| pointer | p_buffer |
| Pointer to the start of the buffer. | |
| pointer | p_end |
| Pointer to one past the last element in the buffer. | |
| Protected Attributes inherited from etl::vector_base | |
| const size_type | CAPACITY |
| The maximum number of elements in the vector. | |
| ETL_DECLARE_DEBUG_COUNT | |
| Internal debugging. | |
|
inline |
Assigns values to the vector. If asserts or exceptions are enabled, emits vector_full if the vector does not have enough free space.
| n | The number of elements to add. |
| value | The value to insert for each element. |
|
inline |
Assigns values to the vector. If asserts or exceptions are enabled, emits vector_full if the vector does not have enough free space. If asserts or exceptions are enabled, emits vector_iterator if the iterators are reversed.
| first | The iterator to the first element. |
| last | The iterator to the last element + 1. |
|
inline |
Returns a reference to the value at index 'i' If asserts or exceptions are enabled, emits an etl::vector_out_of_bounds if the index is out of range.
| i | The index. |
|
inline |
Returns a const reference to the value at index 'i' If asserts or exceptions are enabled, emits an etl::vector_out_of_bounds if the index is out of range.
| i | The index. |
|
inline |
Returns the remaining capacity.
|
inline |
Returns a reference to the last element.
|
inline |
Returns a const reference to the last element.
|
inline |
Returns an iterator to the beginning of the vector.
|
inline |
Returns a const_iterator to the beginning of the vector.
|
inline |
Returns a const_iterator to the beginning of the vector.
|
inline |
Returns a const_iterator to the end of the vector.
|
inline |
Returns a const reverse iterator to the reverse beginning of the vector.
|
inline |
Returns a const reverse iterator to the end + 1 of the vector.
|
inline |
Returns a pointer to the beginning of the vector data.
|
inline |
Returns a const pointer to the beginning of the vector data.
|
inline |
Constructs a value at the end of the vector. If asserts or exceptions are enabled, emits vector_full if the vector is already full.
| value | The value to add. |
|
inline |
Constructs a value at the end of the vector. If asserts or exceptions are enabled, emits vector_full if the vector is already full.
| value | The value to add. |
|
inline |
Constructs a value at the end of the vector. If asserts or exceptions are enabled, emits vector_full if the vector is already full.
| value | The value to add. |
|
inline |
Constructs a value at the end of the vector. If asserts or exceptions are enabled, emits vector_full if the vector is already full.
| value | The value to add. |
|
inline |
Constructs a value at the end of the vector. If asserts or exceptions are enabled, emits vector_full if the vector is already full.
| value | The value to add. |
|
inline |
Checks the 'empty' state of the vector.
|
inline |
Returns an iterator to the end of the vector.
|
inline |
Returns a const_iterator to the end of the vector.
|
inline |
Erases a range of elements. The range includes all the elements between first and last, including the element pointed by first, but not the one pointed by last.
| first | Iterator to the first element. |
| last | Iterator to the last element. |
|
inline |
Erases an element.
| i_element | Iterator to the element. |
|
inline |
Erases an element.
| i_element | Iterator to the element. |
|
inline |
Returns a reference to the first element.
|
inline |
Returns a const reference to the first element.
|
inline |
Checks the 'full' state of the vector.
|
inline |
Inserts a value to the vector. If asserts or exceptions are enabled, emits vector_full if the vector is already full.
| position | The position to insert before. |
| value | The value to insert. |
|
inline |
Inserts 'n' values to the vector. If asserts or exceptions are enabled, emits vector_full if the vector does not have enough free space.
| position | The position to insert before. |
| n | The number of elements to add. |
| value | The value to insert. |
|
inline |
Inserts a range of values to the vector. If asserts or exceptions are enabled, emits vector_full if the vector does not have enough free space. For fundamental and pointer types.
| position | The position to insert before. |
| first | The first element to add. |
| last | The last + 1 element to add. |
|
inline |
Returns a reference to the value at index 'i'
| i | The index. |
|
inline |
Returns a const reference to the value at index 'i'
| i | The index. |
|
inline |
Removes an element from the end of the vector. Does nothing if the vector is empty. If asserts or exceptions are enabled, emits vector_empty if the vector is empty.
|
inline |
Inserts a value at the end of the vector. If asserts or exceptions are enabled, emits vector_full if the vector is already full.
| value | The value to add. |
|
inline |
Returns an reverse iterator to the reverse beginning of the vector.
|
inline |
Returns a const reverse iterator to the reverse beginning of the vector.
|
inline |
Returns a reverse iterator to the end + 1 of the vector.
|
inline |
Returns a const reverse iterator to the end + 1 of the vector.
|
inline |
For compatibility with the STL vector API. Does not increase the capacity, as this is fixed. Asserts an etl::vector_out_of_bounds error if the request is for more than the capacity.
|
inline |
Resizes the vector. If asserts or exceptions are enabled and the new size is larger than the maximum then a vector_full is thrown.
| new_size | The new size. |
|
inline |
Resizes the vector. If asserts or exceptions are enabled and the new size is larger than the maximum then a vector_full is thrown.
| new_size | The new size. |
| value | The value to fill new elements with. Default = default constructed value. |
|
inline |
Gets the current size of the vector.
|
inline |
Resizes the vector, but does not initialise new entries.
| new_size | The new size. |
| class etl::vector |
A vector implementation that uses a fixed size buffer.
| T | The element type. |
| MAX_SIZE_ | The maximum number of elements that can be stored. |
Public Member Functions | |
| ETL_STATIC_ASSERT ((MAX_SIZE_ > 0U), "Zero capacity etl::vector is not valid") | |
| vector () | |
| Constructor. | |
| vector (size_t initial_size) | |
| vector (size_t initial_size, typename etl::ivector< T >::parameter_t value) | |
| template<typename TIterator> | |
| vector (TIterator first, TIterator last, typename etl::enable_if<!etl::is_integral< TIterator >::value, int >::type=0) | |
| vector (const vector &other) | |
| Copy constructor. | |
| vector & | operator= (const vector &rhs) |
| Assignment operator. | |
| ~vector () | |
| Destructor. | |
| void | repair () |
| Fix the internal pointers after a low level memory copy. | |
| Public Member Functions inherited from etl::ivector< T > | |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | cbegin () const |
| const_iterator | cend () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
| const_reverse_iterator | crbegin () const |
| const_reverse_iterator | crend () const |
| void | resize (size_t new_size) |
| void | resize (size_t new_size, const_reference value) |
| void | uninitialized_resize (size_t new_size) |
| void | reserve (size_t n) |
| reference | operator[] (size_t i) |
| const_reference | operator[] (size_t i) const |
| reference | at (size_t i) |
| const_reference | at (size_t i) const |
| reference | front () |
| const_reference | front () const |
| reference | back () |
| const_reference | back () const |
| pointer | data () |
| ETL_CONSTEXPR const_pointer | data () const |
| template<typename TIterator> | |
| etl::enable_if<!etl::is_integral< TIterator >::value, void >::type | assign (TIterator first, TIterator last) |
| void | assign (size_t n, parameter_t value) |
| void | clear () |
| Clears the vector. | |
| void | fill (const T &value) |
| Fills the vector. | |
| void | push_back (const_reference value) |
| reference | emplace_back () |
| template<typename T1> | |
| reference | emplace_back (const T1 &value1) |
| template<typename T1, typename T2> | |
| reference | emplace_back (const T1 &value1, const T2 &value2) |
| template<typename T1, typename T2, typename T3> | |
| reference | emplace_back (const T1 &value1, const T2 &value2, const T3 &value3) |
| template<typename T1, typename T2, typename T3, typename T4> | |
| reference | emplace_back (const T1 &value1, const T2 &value2, const T3 &value3, const T4 &value4) |
| void | pop_back () |
| iterator | insert (const_iterator position, const_reference value) |
| template<typename T1> | |
| iterator | emplace (const_iterator position, const T1 &value1) |
| Emplaces a value to the vector at the specified position. | |
| template<typename T1, typename T2> | |
| iterator | emplace (const_iterator position, const T1 &value1, const T2 &value2) |
| template<typename T1, typename T2, typename T3> | |
| iterator | emplace (const_iterator position, const T1 &value1, const T2 &value2, const T3 &value3) |
| template<typename T1, typename T2, typename T3, typename T4> | |
| iterator | emplace (const_iterator position, const T1 &value1, const T2 &value2, const T3 &value3, const T4 &value4) |
| void | insert (const_iterator position, size_t n, parameter_t value) |
| template<class TIterator> | |
| void | insert (const_iterator position, TIterator first, TIterator last, typename etl::enable_if<!etl::is_integral< TIterator >::value, int >::type=0) |
| iterator | erase (iterator i_element) |
| iterator | erase (const_iterator i_element) |
| iterator | erase (const_iterator first, const_iterator last) |
| ivector & | operator= (const ivector &rhs) |
| Assignment operator. | |
| size_type | size () const |
| bool | empty () const |
| bool | full () const |
| size_t | available () const |
| Public Member Functions inherited from etl::vector_base | |
| size_type | capacity () const |
| size_type | max_size () const |
Static Public Attributes | |
| static const size_t | MAX_SIZE = MAX_SIZE_ |
Additional Inherited Members | |
| Public Types inherited from etl::ivector< T > | |
| typedef T | value_type |
| typedef T & | reference |
| typedef const T & | const_reference |
| typedef T * | pointer |
| typedef const T * | const_pointer |
| typedef T * | iterator |
| typedef const T * | const_iterator |
| typedef ETL_OR_STD::reverse_iterator< iterator > | reverse_iterator |
| typedef ETL_OR_STD::reverse_iterator< const_iterator > | const_reverse_iterator |
| typedef size_t | size_type |
| typedef etl::iterator_traits< iterator >::difference_type | difference_type |
| Public Types inherited from etl::vector_base | |
| typedef size_t | size_type |
| Protected Types inherited from etl::ivector< T > | |
| typedef etl::parameter_type< T >::type | parameter_t |
| Protected Member Functions inherited from etl::ivector< T > | |
| ivector (T *p_buffer_, size_t MAX_SIZE) | |
| Constructor. | |
| void | initialise () |
| Initialise the vector. | |
| void | repair_buffer (T *p_buffer_) |
| Fix the internal pointers after a low level memory copy. | |
| Protected Member Functions inherited from etl::vector_base | |
| vector_base (size_t max_size_) | |
| Constructor. | |
| ~vector_base () | |
| Destructor. | |
| Protected Attributes inherited from etl::ivector< T > | |
| pointer | p_buffer |
| Pointer to the start of the buffer. | |
| pointer | p_end |
| Pointer to one past the last element in the buffer. | |
| Protected Attributes inherited from etl::vector_base | |
| const size_type | CAPACITY |
| The maximum number of elements in the vector. | |
| ETL_DECLARE_DEBUG_COUNT | |
| Internal debugging. | |
|
inlineexplicit |
Constructor, with size.
| initial_size | The initial size of the vector. |
|
inline |
Constructor, from initial size and value.
| initial_size | The initial size of the vector. |
| value | The value to fill the vector with. |
|
inline |
Constructor, from an iterator range.
| TIterator | The iterator type. |
| first | The iterator to the first element. |
| last | The iterator to the last element + 1. |
| class etl::vector_ext |
Template deduction guides.
Make A vector implementation that uses a fixed size external buffer. The buffer is supplied on construction.
| T | The element type. |
Public Member Functions | |
| vector_ext (void *buffer, size_t max_size) | |
| Constructor. | |
| vector_ext (size_t initial_size, void *buffer, size_t max_size) | |
| vector_ext (size_t initial_size, typename etl::ivector< T >::parameter_t value, void *buffer, size_t max_size) | |
| template<typename TIterator> | |
| vector_ext (TIterator first, TIterator last, void *buffer, size_t max_size, typename etl::enable_if<!etl::is_integral< TIterator >::value, int >::type=0) | |
| vector_ext (const vector_ext &other, void *buffer, size_t max_size) | |
| Copy constructor. | |
| vector_ext & | operator= (const vector_ext &rhs) |
| Assignment operator. | |
| ~vector_ext () | |
| Destructor. | |
| void | repair () |
| Fix the internal pointers after a low level memory copy. | |
| Public Member Functions inherited from etl::ivector< T > | |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | cbegin () const |
| const_iterator | cend () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
| const_reverse_iterator | crbegin () const |
| const_reverse_iterator | crend () const |
| void | resize (size_t new_size) |
| void | resize (size_t new_size, const_reference value) |
| void | uninitialized_resize (size_t new_size) |
| void | reserve (size_t n) |
| reference | operator[] (size_t i) |
| const_reference | operator[] (size_t i) const |
| reference | at (size_t i) |
| const_reference | at (size_t i) const |
| reference | front () |
| const_reference | front () const |
| reference | back () |
| const_reference | back () const |
| pointer | data () |
| ETL_CONSTEXPR const_pointer | data () const |
| template<typename TIterator> | |
| etl::enable_if<!etl::is_integral< TIterator >::value, void >::type | assign (TIterator first, TIterator last) |
| void | assign (size_t n, parameter_t value) |
| void | clear () |
| Clears the vector. | |
| void | fill (const T &value) |
| Fills the vector. | |
| void | push_back (const_reference value) |
| reference | emplace_back () |
| template<typename T1> | |
| reference | emplace_back (const T1 &value1) |
| template<typename T1, typename T2> | |
| reference | emplace_back (const T1 &value1, const T2 &value2) |
| template<typename T1, typename T2, typename T3> | |
| reference | emplace_back (const T1 &value1, const T2 &value2, const T3 &value3) |
| template<typename T1, typename T2, typename T3, typename T4> | |
| reference | emplace_back (const T1 &value1, const T2 &value2, const T3 &value3, const T4 &value4) |
| void | pop_back () |
| iterator | insert (const_iterator position, const_reference value) |
| template<typename T1> | |
| iterator | emplace (const_iterator position, const T1 &value1) |
| Emplaces a value to the vector at the specified position. | |
| template<typename T1, typename T2> | |
| iterator | emplace (const_iterator position, const T1 &value1, const T2 &value2) |
| template<typename T1, typename T2, typename T3> | |
| iterator | emplace (const_iterator position, const T1 &value1, const T2 &value2, const T3 &value3) |
| template<typename T1, typename T2, typename T3, typename T4> | |
| iterator | emplace (const_iterator position, const T1 &value1, const T2 &value2, const T3 &value3, const T4 &value4) |
| void | insert (const_iterator position, size_t n, parameter_t value) |
| template<class TIterator> | |
| void | insert (const_iterator position, TIterator first, TIterator last, typename etl::enable_if<!etl::is_integral< TIterator >::value, int >::type=0) |
| iterator | erase (iterator i_element) |
| iterator | erase (const_iterator i_element) |
| iterator | erase (const_iterator first, const_iterator last) |
| ivector & | operator= (const ivector &rhs) |
| Assignment operator. | |
| size_type | size () const |
| bool | empty () const |
| bool | full () const |
| size_t | available () const |
| Public Member Functions inherited from etl::vector_base | |
| size_type | capacity () const |
| size_type | max_size () const |
Additional Inherited Members | |
| Public Types inherited from etl::ivector< T > | |
| typedef T | value_type |
| typedef T & | reference |
| typedef const T & | const_reference |
| typedef T * | pointer |
| typedef const T * | const_pointer |
| typedef T * | iterator |
| typedef const T * | const_iterator |
| typedef ETL_OR_STD::reverse_iterator< iterator > | reverse_iterator |
| typedef ETL_OR_STD::reverse_iterator< const_iterator > | const_reverse_iterator |
| typedef size_t | size_type |
| typedef etl::iterator_traits< iterator >::difference_type | difference_type |
| Public Types inherited from etl::vector_base | |
| typedef size_t | size_type |
| Protected Types inherited from etl::ivector< T > | |
| typedef etl::parameter_type< T >::type | parameter_t |
| Protected Member Functions inherited from etl::ivector< T > | |
| ivector (T *p_buffer_, size_t MAX_SIZE) | |
| Constructor. | |
| void | initialise () |
| Initialise the vector. | |
| void | repair_buffer (T *p_buffer_) |
| Fix the internal pointers after a low level memory copy. | |
| Protected Member Functions inherited from etl::vector_base | |
| vector_base (size_t max_size_) | |
| Constructor. | |
| ~vector_base () | |
| Destructor. | |
| Protected Attributes inherited from etl::ivector< T > | |
| pointer | p_buffer |
| Pointer to the start of the buffer. | |
| pointer | p_end |
| Pointer to one past the last element in the buffer. | |
| Protected Attributes inherited from etl::vector_base | |
| const size_type | CAPACITY |
| The maximum number of elements in the vector. | |
| ETL_DECLARE_DEBUG_COUNT | |
| Internal debugging. | |
|
inlineexplicit |
Constructor, with size.
| initial_size | The initial size of the vector_ext. |
|
inline |
Constructor, from initial size and value.
| initial_size | The initial size of the vector_ext. |
| value | The value to fill the vector_ext with. |
|
inline |
Constructor, from an iterator range.
| TIterator | The iterator type. |
| first | The iterator to the first element. |
| last | The iterator to the last element + 1. |
| class etl::vector< T *, MAX_SIZE_ > |
A vector implementation that uses a fixed size buffer.
| T | The element type. |
| MAX_SIZE_ | The maximum number of elements that can be stored. |
Public Member Functions | |
| ETL_STATIC_ASSERT ((MAX_SIZE_ > 0U), "Zero capacity etl::vector is not valid") | |
| vector () | |
| Constructor. | |
| vector (size_t initial_size) | |
| vector (size_t initial_size, typename etl::ivector< T * >::parameter_t value) | |
| template<typename TIterator> | |
| vector (TIterator first, TIterator last, typename etl::enable_if<!etl::is_integral< TIterator >::value, int >::type=0) | |
| vector (const vector &other) | |
| Copy constructor. | |
| vector & | operator= (const vector &rhs) |
| Assignment operator. | |
| void | repair () |
| Fix the internal pointers after a low level memory copy. | |
| ~vector () | |
| Destructor. | |
| Public Member Functions inherited from etl::ivector< T > | |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | cbegin () const |
| const_iterator | cend () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
| const_reverse_iterator | crbegin () const |
| const_reverse_iterator | crend () const |
| void | resize (size_t new_size) |
| void | resize (size_t new_size, const_reference value) |
| void | uninitialized_resize (size_t new_size) |
| void | reserve (size_t n) |
| reference | operator[] (size_t i) |
| const_reference | operator[] (size_t i) const |
| reference | at (size_t i) |
| const_reference | at (size_t i) const |
| reference | front () |
| const_reference | front () const |
| reference | back () |
| const_reference | back () const |
| pointer | data () |
| ETL_CONSTEXPR const_pointer | data () const |
| template<typename TIterator> | |
| etl::enable_if<!etl::is_integral< TIterator >::value, void >::type | assign (TIterator first, TIterator last) |
| void | assign (size_t n, parameter_t value) |
| void | clear () |
| Clears the vector. | |
| void | fill (const T &value) |
| Fills the vector. | |
| void | push_back (const_reference value) |
| reference | emplace_back () |
| template<typename T1> | |
| reference | emplace_back (const T1 &value1) |
| template<typename T1, typename T2> | |
| reference | emplace_back (const T1 &value1, const T2 &value2) |
| template<typename T1, typename T2, typename T3> | |
| reference | emplace_back (const T1 &value1, const T2 &value2, const T3 &value3) |
| template<typename T1, typename T2, typename T3, typename T4> | |
| reference | emplace_back (const T1 &value1, const T2 &value2, const T3 &value3, const T4 &value4) |
| void | pop_back () |
| iterator | insert (const_iterator position, const_reference value) |
| template<typename T1> | |
| iterator | emplace (const_iterator position, const T1 &value1) |
| Emplaces a value to the vector at the specified position. | |
| template<typename T1, typename T2> | |
| iterator | emplace (const_iterator position, const T1 &value1, const T2 &value2) |
| template<typename T1, typename T2, typename T3> | |
| iterator | emplace (const_iterator position, const T1 &value1, const T2 &value2, const T3 &value3) |
| template<typename T1, typename T2, typename T3, typename T4> | |
| iterator | emplace (const_iterator position, const T1 &value1, const T2 &value2, const T3 &value3, const T4 &value4) |
| void | insert (const_iterator position, size_t n, parameter_t value) |
| template<class TIterator> | |
| void | insert (const_iterator position, TIterator first, TIterator last, typename etl::enable_if<!etl::is_integral< TIterator >::value, int >::type=0) |
| iterator | erase (iterator i_element) |
| iterator | erase (const_iterator i_element) |
| iterator | erase (const_iterator first, const_iterator last) |
| ivector & | operator= (const ivector &rhs) |
| Assignment operator. | |
| size_type | size () const |
| bool | empty () const |
| bool | full () const |
| size_t | available () const |
| Public Member Functions inherited from etl::vector_base | |
| size_type | capacity () const |
| size_type | max_size () const |
| Public Member Functions inherited from etl::ivector< T * > | |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | cbegin () const |
| const_iterator | cend () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
| const_reverse_iterator | crbegin () const |
| const_reverse_iterator | crend () const |
| void | resize (size_t new_size) |
| void | resize (size_t new_size, value_type value) |
| void | uninitialized_resize (size_t new_size) |
| reference | operator[] (size_t i) |
| const_reference | operator[] (size_t i) const |
| reference | at (size_t i) |
| const_reference | at (size_t i) const |
| reference | front () |
| const_reference | front () const |
| reference | back () |
| const_reference | back () const |
| pointer | data () |
| const_pointer | data () const |
| template<typename TIterator> | |
| void | assign (TIterator first, TIterator last) |
| void | assign (size_t n, parameter_t value) |
| void | clear () |
| Clears the vector. | |
| void | push_back (parameter_t value) |
| reference | emplace_back () |
| reference | emplace_back (parameter_t value) |
| void | pop_back () |
| iterator | insert (const_iterator position, parameter_t value) |
| iterator | emplace (const_iterator position) |
| Emplaces a value to the vector at the specified position. | |
| iterator | emplace (const_iterator position, parameter_t value) |
| Emplaces a value to the vector at the specified position. | |
| void | insert (const_iterator position, size_t n, parameter_t value) |
| template<class TIterator> | |
| void | insert (const_iterator position, TIterator first, TIterator last) |
| iterator | erase (iterator i_element) |
| iterator | erase (const_iterator i_element) |
| iterator | erase (const_iterator first, const_iterator last) |
| ivector & | operator= (const ivector &rhs) |
| Assignment operator. | |
| void | reserve (size_t n) |
| void | fill (const T &value) |
| Fills the vector. | |
| size_type | size () const |
| bool | empty () const |
| bool | full () const |
| size_t | available () const |
| Public Member Functions inherited from etl::pvoidvector | |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | cbegin () const |
| const_iterator | cend () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
| const_reverse_iterator | crbegin () const |
| const_reverse_iterator | crend () const |
| void | resize (size_t new_size) |
| void | resize (size_t new_size, value_type value) |
| void | uninitialized_resize (size_t new_size) |
| reference | operator[] (size_t i) |
| const_reference | operator[] (size_t i) const |
| reference | at (size_t i) |
| const_reference | at (size_t i) const |
| reference | front () |
| const_reference | front () const |
| reference | back () |
| const_reference | back () const |
| pointer | data () |
| const_pointer | data () const |
| template<typename TIterator> | |
| etl::enable_if<!etl::is_pointer< TIterator >::value, void >::type | assign (TIterator first, TIterator last) |
| template<typename TIterator> | |
| etl::enable_if< etl::is_pointer< TIterator >::value, void >::type | assign (TIterator first, TIterator last) |
| void | assign (size_t n, value_type value) |
| void | clear () |
| Clears the vector. | |
| void | push_back (value_type value) |
| void | emplace_back (value_type value) |
| void | pop_back () |
| iterator | insert (const_iterator position, value_type value) |
| iterator | emplace (const_iterator position) |
| iterator | emplace (const_iterator position, value_type value) |
| void | insert (const_iterator position, size_t n, value_type value) |
| template<typename TIterator> | |
| etl::enable_if<!etl::is_pointer< TIterator >::value, void >::type | insert (const_iterator position, TIterator first, TIterator last) |
| template<typename TIterator> | |
| etl::enable_if< etl::is_pointer< TIterator >::value, void >::type | insert (const_iterator position, TIterator first, TIterator last) |
| iterator | erase (iterator i_element) |
| iterator | erase (const_iterator i_element) |
| iterator | erase (const_iterator first, const_iterator last) |
| etl::pvoidvector & | operator= (const etl::pvoidvector &rhs) |
| Assignment operator. | |
| size_type | size () const |
| bool | empty () const |
| bool | full () const |
| size_t | available () const |
Static Public Attributes | |
| static const size_t | MAX_SIZE = MAX_SIZE_ |
Additional Inherited Members | |
| Public Types inherited from etl::ivector< T > | |
| typedef T | value_type |
| typedef T & | reference |
| typedef const T & | const_reference |
| typedef T * | pointer |
| typedef const T * | const_pointer |
| typedef T * | iterator |
| typedef const T * | const_iterator |
| typedef ETL_OR_STD::reverse_iterator< iterator > | reverse_iterator |
| typedef ETL_OR_STD::reverse_iterator< const_iterator > | const_reverse_iterator |
| typedef size_t | size_type |
| typedef etl::iterator_traits< iterator >::difference_type | difference_type |
| Public Types inherited from etl::vector_base | |
| typedef size_t | size_type |
| Public Types inherited from etl::ivector< T * > | |
| typedef T * | value_type |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
| typedef value_type * | pointer |
| typedef const value_type * | const_pointer |
| typedef value_type * | iterator |
| typedef const value_type * | const_iterator |
| typedef ETL_OR_STD::reverse_iterator< iterator > | reverse_iterator |
| typedef ETL_OR_STD::reverse_iterator< const_iterator > | const_reverse_iterator |
| typedef size_t | size_type |
| typedef etl::iterator_traits< iterator >::difference_type | difference_type |
| Public Types inherited from etl::pvoidvector | |
| typedef void * | value_type |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
| typedef value_type * | pointer |
| typedef const value_type * | const_pointer |
| typedef value_type * | iterator |
| typedef const value_type * | const_iterator |
| typedef ETL_OR_STD::reverse_iterator< iterator > | reverse_iterator |
| typedef ETL_OR_STD::reverse_iterator< const_iterator > | const_reverse_iterator |
| typedef size_t | size_type |
| typedef etl::iterator_traits< iterator >::difference_type | difference_type |
| Protected Types inherited from etl::ivector< T > | |
| typedef etl::parameter_type< T >::type | parameter_t |
| Protected Types inherited from etl::ivector< T * > | |
| typedef value_type | parameter_t |
| Protected Member Functions inherited from etl::ivector< T > | |
| ivector (T *p_buffer_, size_t MAX_SIZE) | |
| Constructor. | |
| void | initialise () |
| Initialise the vector. | |
| void | repair_buffer (T *p_buffer_) |
| Fix the internal pointers after a low level memory copy. | |
| Protected Member Functions inherited from etl::vector_base | |
| vector_base (size_t max_size_) | |
| Constructor. | |
| ~vector_base () | |
| Destructor. | |
| Protected Member Functions inherited from etl::ivector< T * > | |
| ivector (T **p_buffer_, size_t MAX_SIZE_) | |
| Constructor. | |
| void | initialise () |
| Initialise the vector. | |
| void | repair_buffer (T *p_buffer_) |
| Fix the internal pointers after a low level memory copy. | |
| Protected Member Functions inherited from etl::pvoidvector | |
| pvoidvector (void **p_buffer_, size_t MAX_SIZE) | |
| Constructor. | |
| void | initialise () |
| Initialise the vector. | |
| void | repair_buffer (void **p_buffer_) |
| Fix the internal pointers after a low level memory copy. | |
| Protected Attributes inherited from etl::ivector< T > | |
| pointer | p_buffer |
| Pointer to the start of the buffer. | |
| pointer | p_end |
| Pointer to one past the last element in the buffer. | |
| Protected Attributes inherited from etl::vector_base | |
| const size_type | CAPACITY |
| The maximum number of elements in the vector. | |
| ETL_DECLARE_DEBUG_COUNT | |
| Internal debugging. | |
| Protected Attributes inherited from etl::ivector< T * > | |
| pointer | p_buffer |
| Pointer to the start of the buffer. | |
| pointer | p_end |
| Pointer to one past the last element in the buffer. | |
| Protected Attributes inherited from etl::pvoidvector | |
| void ** | p_buffer |
| void ** | p_end |
|
inlineexplicit |
Constructor, with size.
| initial_size | The initial size of the vector. |
|
inline |
Constructor, from initial size and value.
| initial_size | The initial size of the vector. |
| value | The value to fill the vector with. |
|
inline |
Constructor, from an iterator range.
| TIterator | The iterator type. |
| first | The iterator to the first element. |
| last | The iterator to the last element + 1. |
| class etl::vector_ext< T * > |
Template deduction guides.
A vector implementation that uses a fixed size buffer. The buffer is supplied on construction.
| T | The element type that is pointed to. |
Public Member Functions | |
| vector_ext (void *buffer, size_t max_size) | |
| Constructor. | |
| vector_ext (size_t initial_size, void *buffer, size_t max_size) | |
| vector_ext (size_t initial_size, typename etl::ivector< T * >::parameter_t value, void *buffer, size_t max_size) | |
| template<typename TIterator> | |
| vector_ext (TIterator first, TIterator last, void *buffer, size_t max_size, typename etl::enable_if<!etl::is_integral< TIterator >::value, int >::type=0) | |
| vector_ext (const vector_ext &other, void *buffer, size_t max_size) | |
| Construct a copy. | |
| vector_ext (const vector_ext &other) ETL_DELETE | |
| Copy constructor (Deleted). | |
| vector_ext & | operator= (const vector_ext &rhs) |
| Assignment operator. | |
| ~vector_ext () | |
| Destructor. | |
| void | repair () |
| Fix the internal pointers after a low level memory copy. | |
| Public Member Functions inherited from etl::ivector< T > | |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | cbegin () const |
| const_iterator | cend () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
| const_reverse_iterator | crbegin () const |
| const_reverse_iterator | crend () const |
| void | resize (size_t new_size) |
| void | resize (size_t new_size, const_reference value) |
| void | uninitialized_resize (size_t new_size) |
| void | reserve (size_t n) |
| reference | operator[] (size_t i) |
| const_reference | operator[] (size_t i) const |
| reference | at (size_t i) |
| const_reference | at (size_t i) const |
| reference | front () |
| const_reference | front () const |
| reference | back () |
| const_reference | back () const |
| pointer | data () |
| ETL_CONSTEXPR const_pointer | data () const |
| template<typename TIterator> | |
| etl::enable_if<!etl::is_integral< TIterator >::value, void >::type | assign (TIterator first, TIterator last) |
| void | assign (size_t n, parameter_t value) |
| void | clear () |
| Clears the vector. | |
| void | fill (const T &value) |
| Fills the vector. | |
| void | push_back (const_reference value) |
| reference | emplace_back () |
| template<typename T1> | |
| reference | emplace_back (const T1 &value1) |
| template<typename T1, typename T2> | |
| reference | emplace_back (const T1 &value1, const T2 &value2) |
| template<typename T1, typename T2, typename T3> | |
| reference | emplace_back (const T1 &value1, const T2 &value2, const T3 &value3) |
| template<typename T1, typename T2, typename T3, typename T4> | |
| reference | emplace_back (const T1 &value1, const T2 &value2, const T3 &value3, const T4 &value4) |
| void | pop_back () |
| iterator | insert (const_iterator position, const_reference value) |
| template<typename T1> | |
| iterator | emplace (const_iterator position, const T1 &value1) |
| Emplaces a value to the vector at the specified position. | |
| template<typename T1, typename T2> | |
| iterator | emplace (const_iterator position, const T1 &value1, const T2 &value2) |
| template<typename T1, typename T2, typename T3> | |
| iterator | emplace (const_iterator position, const T1 &value1, const T2 &value2, const T3 &value3) |
| template<typename T1, typename T2, typename T3, typename T4> | |
| iterator | emplace (const_iterator position, const T1 &value1, const T2 &value2, const T3 &value3, const T4 &value4) |
| void | insert (const_iterator position, size_t n, parameter_t value) |
| template<class TIterator> | |
| void | insert (const_iterator position, TIterator first, TIterator last, typename etl::enable_if<!etl::is_integral< TIterator >::value, int >::type=0) |
| iterator | erase (iterator i_element) |
| iterator | erase (const_iterator i_element) |
| iterator | erase (const_iterator first, const_iterator last) |
| ivector & | operator= (const ivector &rhs) |
| Assignment operator. | |
| size_type | size () const |
| bool | empty () const |
| bool | full () const |
| size_t | available () const |
| Public Member Functions inherited from etl::vector_base | |
| size_type | capacity () const |
| size_type | max_size () const |
| Public Member Functions inherited from etl::ivector< T * > | |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | cbegin () const |
| const_iterator | cend () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
| const_reverse_iterator | crbegin () const |
| const_reverse_iterator | crend () const |
| void | resize (size_t new_size) |
| void | resize (size_t new_size, value_type value) |
| void | uninitialized_resize (size_t new_size) |
| reference | operator[] (size_t i) |
| const_reference | operator[] (size_t i) const |
| reference | at (size_t i) |
| const_reference | at (size_t i) const |
| reference | front () |
| const_reference | front () const |
| reference | back () |
| const_reference | back () const |
| pointer | data () |
| const_pointer | data () const |
| template<typename TIterator> | |
| void | assign (TIterator first, TIterator last) |
| void | assign (size_t n, parameter_t value) |
| void | clear () |
| Clears the vector. | |
| void | push_back (parameter_t value) |
| reference | emplace_back () |
| reference | emplace_back (parameter_t value) |
| void | pop_back () |
| iterator | insert (const_iterator position, parameter_t value) |
| iterator | emplace (const_iterator position) |
| Emplaces a value to the vector at the specified position. | |
| iterator | emplace (const_iterator position, parameter_t value) |
| Emplaces a value to the vector at the specified position. | |
| void | insert (const_iterator position, size_t n, parameter_t value) |
| template<class TIterator> | |
| void | insert (const_iterator position, TIterator first, TIterator last) |
| iterator | erase (iterator i_element) |
| iterator | erase (const_iterator i_element) |
| iterator | erase (const_iterator first, const_iterator last) |
| ivector & | operator= (const ivector &rhs) |
| Assignment operator. | |
| void | reserve (size_t n) |
| void | fill (const T &value) |
| Fills the vector. | |
| size_type | size () const |
| bool | empty () const |
| bool | full () const |
| size_t | available () const |
| Public Member Functions inherited from etl::pvoidvector | |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | cbegin () const |
| const_iterator | cend () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
| const_reverse_iterator | crbegin () const |
| const_reverse_iterator | crend () const |
| void | resize (size_t new_size) |
| void | resize (size_t new_size, value_type value) |
| void | uninitialized_resize (size_t new_size) |
| reference | operator[] (size_t i) |
| const_reference | operator[] (size_t i) const |
| reference | at (size_t i) |
| const_reference | at (size_t i) const |
| reference | front () |
| const_reference | front () const |
| reference | back () |
| const_reference | back () const |
| pointer | data () |
| const_pointer | data () const |
| template<typename TIterator> | |
| etl::enable_if<!etl::is_pointer< TIterator >::value, void >::type | assign (TIterator first, TIterator last) |
| template<typename TIterator> | |
| etl::enable_if< etl::is_pointer< TIterator >::value, void >::type | assign (TIterator first, TIterator last) |
| void | assign (size_t n, value_type value) |
| void | clear () |
| Clears the vector. | |
| void | push_back (value_type value) |
| void | emplace_back (value_type value) |
| void | pop_back () |
| iterator | insert (const_iterator position, value_type value) |
| iterator | emplace (const_iterator position) |
| iterator | emplace (const_iterator position, value_type value) |
| void | insert (const_iterator position, size_t n, value_type value) |
| template<typename TIterator> | |
| etl::enable_if<!etl::is_pointer< TIterator >::value, void >::type | insert (const_iterator position, TIterator first, TIterator last) |
| template<typename TIterator> | |
| etl::enable_if< etl::is_pointer< TIterator >::value, void >::type | insert (const_iterator position, TIterator first, TIterator last) |
| iterator | erase (iterator i_element) |
| iterator | erase (const_iterator i_element) |
| iterator | erase (const_iterator first, const_iterator last) |
| etl::pvoidvector & | operator= (const etl::pvoidvector &rhs) |
| Assignment operator. | |
| size_type | size () const |
| bool | empty () const |
| bool | full () const |
| size_t | available () const |
Additional Inherited Members | |
| Public Types inherited from etl::ivector< T > | |
| typedef T | value_type |
| typedef T & | reference |
| typedef const T & | const_reference |
| typedef T * | pointer |
| typedef const T * | const_pointer |
| typedef T * | iterator |
| typedef const T * | const_iterator |
| typedef ETL_OR_STD::reverse_iterator< iterator > | reverse_iterator |
| typedef ETL_OR_STD::reverse_iterator< const_iterator > | const_reverse_iterator |
| typedef size_t | size_type |
| typedef etl::iterator_traits< iterator >::difference_type | difference_type |
| Public Types inherited from etl::vector_base | |
| typedef size_t | size_type |
| Public Types inherited from etl::ivector< T * > | |
| typedef T * | value_type |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
| typedef value_type * | pointer |
| typedef const value_type * | const_pointer |
| typedef value_type * | iterator |
| typedef const value_type * | const_iterator |
| typedef ETL_OR_STD::reverse_iterator< iterator > | reverse_iterator |
| typedef ETL_OR_STD::reverse_iterator< const_iterator > | const_reverse_iterator |
| typedef size_t | size_type |
| typedef etl::iterator_traits< iterator >::difference_type | difference_type |
| Public Types inherited from etl::pvoidvector | |
| typedef void * | value_type |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
| typedef value_type * | pointer |
| typedef const value_type * | const_pointer |
| typedef value_type * | iterator |
| typedef const value_type * | const_iterator |
| typedef ETL_OR_STD::reverse_iterator< iterator > | reverse_iterator |
| typedef ETL_OR_STD::reverse_iterator< const_iterator > | const_reverse_iterator |
| typedef size_t | size_type |
| typedef etl::iterator_traits< iterator >::difference_type | difference_type |
| Protected Types inherited from etl::ivector< T > | |
| typedef etl::parameter_type< T >::type | parameter_t |
| Protected Types inherited from etl::ivector< T * > | |
| typedef value_type | parameter_t |
| Protected Member Functions inherited from etl::ivector< T > | |
| ivector (T *p_buffer_, size_t MAX_SIZE) | |
| Constructor. | |
| void | initialise () |
| Initialise the vector. | |
| void | repair_buffer (T *p_buffer_) |
| Fix the internal pointers after a low level memory copy. | |
| Protected Member Functions inherited from etl::vector_base | |
| vector_base (size_t max_size_) | |
| Constructor. | |
| ~vector_base () | |
| Destructor. | |
| Protected Member Functions inherited from etl::ivector< T * > | |
| ivector (T **p_buffer_, size_t MAX_SIZE_) | |
| Constructor. | |
| void | initialise () |
| Initialise the vector. | |
| void | repair_buffer (T *p_buffer_) |
| Fix the internal pointers after a low level memory copy. | |
| Protected Member Functions inherited from etl::pvoidvector | |
| pvoidvector (void **p_buffer_, size_t MAX_SIZE) | |
| Constructor. | |
| void | initialise () |
| Initialise the vector. | |
| void | repair_buffer (void **p_buffer_) |
| Fix the internal pointers after a low level memory copy. | |
| Protected Attributes inherited from etl::ivector< T > | |
| pointer | p_buffer |
| Pointer to the start of the buffer. | |
| pointer | p_end |
| Pointer to one past the last element in the buffer. | |
| Protected Attributes inherited from etl::vector_base | |
| const size_type | CAPACITY |
| The maximum number of elements in the vector. | |
| ETL_DECLARE_DEBUG_COUNT | |
| Internal debugging. | |
| Protected Attributes inherited from etl::ivector< T * > | |
| pointer | p_buffer |
| Pointer to the start of the buffer. | |
| pointer | p_end |
| Pointer to one past the last element in the buffer. | |
| Protected Attributes inherited from etl::pvoidvector | |
| void ** | p_buffer |
| void ** | p_end |
|
inline |
Constructor, with size.
| initial_size | The initial size of the vector_ext. |
|
inline |
Constructor, from initial size and value.
| initial_size | The initial size of the vector_ext. |
| value | The value to fill the vector_ext with. |
|
inline |
Constructor, from an iterator range.
| TIterator | The iterator type. |
| first | The iterator to the first element. |
| last | The iterator to the last element + 1. |
| bool etl::operator!= | ( | const etl::ivector< T * > & | lhs, |
| const etl::ivector< T * > & | rhs ) |
Not equal operator.
| lhs | Reference to the first vector. |
| rhs | Reference to the second vector. |
| bool etl::operator!= | ( | const etl::ivector< T > & | lhs, |
| const etl::ivector< T > & | rhs ) |
Not equal operator.
| lhs | Reference to the first vector. |
| rhs | Reference to the second vector. |
|
inline |
Not equal operator.
| lhs | Reference to the first vector. |
| rhs | Reference to the second vector. |
| bool etl::operator< | ( | const etl::ivector< T * > & | lhs, |
| const etl::ivector< T * > & | rhs ) |
Less than operator.
| lhs | Reference to the first vector. |
| rhs | Reference to the second vector. |
| bool etl::operator< | ( | const etl::ivector< T > & | lhs, |
| const etl::ivector< T > & | rhs ) |
Less than operator.
| lhs | Reference to the first vector. |
| rhs | Reference to the second vector. |
|
inline |
Less than operator.
| lhs | Reference to the first vector. |
| rhs | Reference to the second vector. |
| bool etl::operator<= | ( | const etl::ivector< T * > & | lhs, |
| const etl::ivector< T * > & | rhs ) |
Less than or equal operator.
| lhs | Reference to the first vector. |
| rhs | Reference to the second vector. |
| bool etl::operator<= | ( | const etl::ivector< T > & | lhs, |
| const etl::ivector< T > & | rhs ) |
Less than or equal operator.
| lhs | Reference to the first vector. |
| rhs | Reference to the second vector. |
|
inline |
Less than or equal operator.
| lhs | Reference to the first vector. |
| rhs | Reference to the second vector. |
| bool etl::operator== | ( | const etl::ivector< T * > & | lhs, |
| const etl::ivector< T * > & | rhs ) |
Equal operator.
| lhs | Reference to the first vector. |
| rhs | Reference to the second vector. |
| bool etl::operator== | ( | const etl::ivector< T > & | lhs, |
| const etl::ivector< T > & | rhs ) |
Equal operator.
| lhs | Reference to the first vector. |
| rhs | Reference to the second vector. |
|
inline |
Equal operator.
| lhs | Reference to the first vector. |
| rhs | Reference to the second vector. |
| bool etl::operator> | ( | const etl::ivector< T * > & | lhs, |
| const etl::ivector< T * > & | rhs ) |
Greater than operator.
| lhs | Reference to the first vector. |
| rhs | Reference to the second vector. |
| bool etl::operator> | ( | const etl::ivector< T > & | lhs, |
| const etl::ivector< T > & | rhs ) |
Greater than operator.
| lhs | Reference to the first vector. |
| rhs | Reference to the second vector. |
|
inline |
Greater than operator.
| lhs | Reference to the first vector. |
| rhs | Reference to the second vector. |
| bool etl::operator>= | ( | const etl::ivector< T * > & | lhs, |
| const etl::ivector< T * > & | rhs ) |
Greater than or equal operator.
| lhs | Reference to the first vector. |
| rhs | Reference to the second vector. |
| bool etl::operator>= | ( | const etl::ivector< T > & | lhs, |
| const etl::ivector< T > & | rhs ) |
Greater than or equal operator.
| lhs | Reference to the first vector. |
| rhs | Reference to the second vector. |
|
inline |
Greater than or equal operator.
| lhs | Reference to the first vector. |
| rhs | Reference to the second vector. |