Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
vector_base Class Reference
[vector]
The base class for all templated vector types. More...
#include <vector_base.h>
Inherited by ivector< T >, pvoidvector, ivector< etl::imessage_router * >, ivector< etl::task * >, ivector< node_t * >, ivector< TObserver * >, and ivector< value_type * >.
Public Member Functions | |
size_type | capacity () const |
Returns the capacity of the vector. | |
size_type | max_size () const |
Returns the maximum possible size of the vector. | |
Protected Member Functions | |
vector_base (size_type max_size_) | |
Constructor. | |
Protected Attributes | |
const size_type | CAPACITY |
The maximum number of elements in the vector. | |
etl::debug_count | construct_count |
Internal debugging. |
Detailed Description
The base class for all templated vector types.
Definition at line 123 of file vector_base.h.
Constructor & Destructor Documentation
vector_base | ( | size_type | max_size_ ) | [protected] |
Constructor.
Definition at line 152 of file vector_base.h.
Member Function Documentation
size_type capacity | ( | ) | const |
Returns the capacity of the vector.
- Returns:
- The capacity of the vector.
Definition at line 133 of file vector_base.h.
size_type max_size | ( | ) | const |
Returns the maximum possible size of the vector.
- Returns:
- The maximum size of the vector.
Definition at line 142 of file vector_base.h.
Field Documentation
const size_type CAPACITY [protected] |
The maximum number of elements in the vector.
Definition at line 157 of file vector_base.h.
etl::debug_count construct_count [protected] |
Internal debugging.
Definition at line 158 of file vector_base.h.
Generated on Tue Jul 12 2022 14:05:53 by
