Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

vector_base Class Reference

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.

Internal debugging.

Definition at line 158 of file vector_base.h.