|
libpsynth 0.2.1
|
A deque of constant size over polymorphic types with a common base. More...
#include <hetero_deque.hpp>


Public Types | |
| typedef detail::hetero_iterator< Base > | iterator |
| typedef detail::hetero_iterator< const Base > | const_iterator |
| typedef boost::reverse_iterator < iterator > | reverse_iterator |
| typedef boost::reverse_iterator < const_iterator > | const_reverse_iterator |
| typedef iterator::value_type | value_type |
| typedef iterator::reference | reference |
| typedef iterator::difference_type | difference_type |
| typedef const_iterator::reference | const_reference |
Public Member Functions | |
| hetero_deque (std::size_t size=0) | |
| hetero_deque (hetero_deque &&) | |
| hetero_deque & | operator= (hetero_deque &&) |
| ~hetero_deque () | |
| Base & | back () |
| const Base & | back () const |
| template<class Concrete , typename... Args> | |
| bool | push_back (Args &&...args) |
| template<class Concrete > | |
| bool | push_back (Concrete &&arg) |
| bool | pop_back () |
| Base & | front () |
| const Base & | front () const |
| template<class Concrete , typename... Args> | |
| bool | push_front (Args &&...args) |
| template<class Concrete > | |
| bool | push_front (Concrete &&arg) |
| bool | pop_front () |
| void | clear () |
| void | swap (hetero_deque &other) |
| bool | empty () const |
| iterator | begin () |
| const_iterator | begin () const |
| const_iterator | cbegin () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | cend () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
A deque of constant size over polymorphic types with a common base.
This provides a way to store polymorphic objects without allocating memory, which allows object oriented programming in many real-time situations.
Base is the common base of all the elements in the collection. Note that, in the general case, Base should define a virtual destructor.
| typedef detail::hetero_iterator<const Base> psynth::base::hetero_deque< Base >::const_iterator |
| typedef const_iterator::reference psynth::base::hetero_deque< Base >::const_reference |
| typedef boost::reverse_iterator<const_iterator> psynth::base::hetero_deque< Base >::const_reverse_iterator |
| typedef iterator::difference_type psynth::base::hetero_deque< Base >::difference_type |
| typedef detail::hetero_iterator<Base> psynth::base::hetero_deque< Base >::iterator |
| typedef iterator::reference psynth::base::hetero_deque< Base >::reference |
| typedef boost::reverse_iterator<iterator> psynth::base::hetero_deque< Base >::reverse_iterator |
| typedef iterator::value_type psynth::base::hetero_deque< Base >::value_type |
| psynth::base::hetero_deque< Base >::hetero_deque | ( | std::size_t | size = 0 | ) | [explicit] |
| psynth::base::hetero_deque< Base >::hetero_deque | ( | hetero_deque< Base > && | ) |
| psynth::base::hetero_deque< Base >::~hetero_deque | ( | ) |
| Base& psynth::base::hetero_deque< Base >::back | ( | ) |
| const Base& psynth::base::hetero_deque< Base >::back | ( | ) | const |
| const_iterator psynth::base::hetero_deque< Base >::begin | ( | ) | const [inline] |
| iterator psynth::base::hetero_deque< Base >::begin | ( | ) | [inline] |
| const_iterator psynth::base::hetero_deque< Base >::cbegin | ( | ) | const [inline] |
| const_iterator psynth::base::hetero_deque< Base >::cend | ( | ) | const [inline] |
| void psynth::base::hetero_deque< Base >::clear | ( | ) |
| bool psynth::base::hetero_deque< Base >::empty | ( | ) | const [inline] |
| const_iterator psynth::base::hetero_deque< Base >::end | ( | ) | const [inline] |
| iterator psynth::base::hetero_deque< Base >::end | ( | ) | [inline] |
| const Base& psynth::base::hetero_deque< Base >::front | ( | ) | const |
| Base& psynth::base::hetero_deque< Base >::front | ( | ) |
| hetero_deque& psynth::base::hetero_deque< Base >::operator= | ( | hetero_deque< Base > && | ) |
| bool psynth::base::hetero_deque< Base >::pop_back | ( | ) |
| bool psynth::base::hetero_deque< Base >::pop_front | ( | ) |
| bool psynth::base::hetero_deque< Base >::push_back | ( | Args &&... | args | ) |
| bool psynth::base::hetero_deque< Base >::push_back | ( | Concrete && | arg | ) | [inline] |
| bool psynth::base::hetero_deque< Base >::push_front | ( | Args &&... | args | ) |
| bool psynth::base::hetero_deque< Base >::push_front | ( | Concrete && | arg | ) | [inline] |
| reverse_iterator psynth::base::hetero_deque< Base >::rbegin | ( | ) | [inline] |
| const_reverse_iterator psynth::base::hetero_deque< Base >::rbegin | ( | ) | const [inline] |
| reverse_iterator psynth::base::hetero_deque< Base >::rend | ( | ) | [inline] |
| const_reverse_iterator psynth::base::hetero_deque< Base >::rend | ( | ) | const [inline] |
| void psynth::base::hetero_deque< Base >::swap | ( | hetero_deque< Base > & | other | ) |
1.7.4