|
Embedded Template Library
1.0
|
#include <deque_base.h>
Public Types | |
| typedef size_t | size_type |
Public Member Functions | |
| size_type | size () const |
| bool | empty () const |
| bool | full () const |
| size_type | capacity () const |
| size_type | max_size () const |
| size_t | available () const |
| void | clear () |
| Clears the deque. | |
Protected Member Functions | |
| deque_base (size_t max_size, size_t buffer_size) | |
| Constructor. | |
Protected Attributes | |
| size_type | current_size |
| The current number of elements in the deque. | |
| const size_type | MAX_SIZE |
| The maximum number of elements in the deque. | |
| const size_type | BUFFER_SIZE |
| The of elements in the buffer. | |
The base class for all templated deque types.
|
inline |
Returns the remaining capacity.
|
inline |
Returns the capacity of the deque.
|
inline |
Checks the 'empty' state of the deque.
|
inline |
Checks the 'full' state of the deque.
|
inline |
Returns the maximum possible size of the deque.
|
inline |
Gets the current size of the deque.