#include <sarray.h>

Public Types | |
| typedef T * | Element |
| typedef Element * | Iterator |
Public Member Functions | |
| Element | operator[] (size_t idx) const |
| void | set (int idx, const Element &e) |
| Iterator | begin () |
| Iterator | end () |
| void | push_back (const Element &e) |
| void | push_back_no_check (const Element &e) |
| void | remove (const Element &e) |
| PtrQueue (size_t capacity) | |
| bool | is_empty () const |
| size_t | get_size () const |
| void | clear () |
| int | increase_capacity (int begin, int old_size, int n) |
Protected Member Functions | |
| void | set (int idx, const Element &e) |
| void | push_back (const Element &e) |
| ArrayOfObject * | reallocate (size_t capacity) |
| void | push_back_no_check (const Element &e) |
| void | remove (const Element &r) |
Private Member Functions | |
| PtrQueue (const PtrQueue &) | |
| PtrQueue & | operator= (const PtrQueue &) |
| SAMPA_PERSISTENT (PtrQueue) | |
Definition at line 135 of file sarray.h.
| typedef T* Sampa::PtrQueue< T >::Element |
| typedef Element* Sampa::PtrQueue< T >::Iterator |
| Sampa::PtrQueue< T >::PtrQueue | ( | size_t | capacity | ) | [inline] |
| Sampa::PtrQueue< T >::PtrQueue | ( | const PtrQueue< T > & | ) | [private] |
| Element Sampa::PtrQueue< T >::operator[] | ( | size_t | idx | ) | const [inline] |
Reimplemented from Sampa::PtrQueueBase.
Definition at line 139 of file sarray.h.
References Sampa::PtrQueueBase::operator[]().
| void Sampa::PtrQueue< T >::set | ( | int | idx, | |
| const Element & | e | |||
| ) | [inline] |
| Iterator Sampa::PtrQueue< T >::begin | ( | ) | [inline] |
Reimplemented from Sampa::PtrQueueBase.
Definition at line 142 of file sarray.h.
References Sampa::PtrQueueBase::begin().
| Iterator Sampa::PtrQueue< T >::end | ( | ) | [inline] |
Reimplemented from Sampa::PtrQueueBase.
Definition at line 143 of file sarray.h.
References Sampa::PtrQueueBase::end().
| void Sampa::PtrQueue< T >::push_back | ( | const Element & | e | ) | [inline] |
| void Sampa::PtrQueue< T >::push_back_no_check | ( | const Element & | e | ) | [inline] |
| void Sampa::PtrQueue< T >::remove | ( | const Element & | e | ) | [inline] |
| PtrQueue& Sampa::PtrQueue< T >::operator= | ( | const PtrQueue< T > & | ) | [private] |
| Sampa::PtrQueue< T >::SAMPA_PERSISTENT | ( | PtrQueue< T > | ) | [private] |
| bool Sampa::PtrQueueBase::is_empty | ( | ) | const [inline, inherited] |
| size_t Sampa::PtrQueueBase::get_size | ( | ) | const [inline, inherited] |
| int Sampa::PtrQueueBase::increase_capacity | ( | int | begin, | |
| int | old_size, | |||
| int | n | |||
| ) | [inherited] |
| void Sampa::PtrQueueBase::set | ( | int | idx, | |
| const Element & | e | |||
| ) | [inline, protected, inherited] |
| void Sampa::PtrQueueBase::push_back | ( | const Element & | e | ) | [inline, protected, inherited] |
| ArrayOfObject* Sampa::PtrQueueBase::reallocate | ( | size_t | capacity | ) | [protected, inherited] |
| void Sampa::PtrQueueBase::push_back_no_check | ( | const Element & | e | ) | [inline, protected, inherited] |
| void Sampa::PtrQueueBase::remove | ( | const Element & | r | ) | [inline, protected, inherited] |
1.5.3