A view over a range of elements in a container. More...
#include <ListView.h>
Collaboration diagram for carla::ListView< IT >:Public Types | |
| using | const_iterator = typename std::add_const< IT >::type |
| using | difference_type = typename std::iterator_traits< iterator >::difference_type |
| using | iterator = IT |
| using | pointer = typename std::iterator_traits< iterator >::pointer |
| using | reference = typename std::iterator_traits< iterator >::reference |
| using | size_type = size_t |
| using | value_type = typename std::iterator_traits< iterator >::value_type |
Public Member Functions | |
| iterator | begin () |
| const_iterator | begin () const |
| const_iterator | cbegin () const |
| const_iterator | cend () const |
| bool | empty () const |
| iterator | end () |
| const_iterator | end () const |
| ListView (iterator begin, iterator end) | |
| ListView (const ListView &)=default | |
| ListView & | operator= (const ListView &)=delete |
| size_type | size () const |
Private Attributes | |
| const iterator | _begin |
| const iterator | _end |
A view over a range of elements in a container.
Basically a pair of begin and end iterators.
Definition at line 19 of file LibCarla/source/carla/ListView.h.
| using carla::ListView< IT >::const_iterator = typename std::add_const<IT>::type |
Definition at line 23 of file LibCarla/source/carla/ListView.h.
| using carla::ListView< IT >::difference_type = typename std::iterator_traits<iterator>::difference_type |
Definition at line 25 of file LibCarla/source/carla/ListView.h.
| using carla::ListView< IT >::iterator = IT |
Definition at line 22 of file LibCarla/source/carla/ListView.h.
| using carla::ListView< IT >::pointer = typename std::iterator_traits<iterator>::pointer |
Definition at line 27 of file LibCarla/source/carla/ListView.h.
| using carla::ListView< IT >::reference = typename std::iterator_traits<iterator>::reference |
Definition at line 28 of file LibCarla/source/carla/ListView.h.
| using carla::ListView< IT >::size_type = size_t |
Definition at line 24 of file LibCarla/source/carla/ListView.h.
| using carla::ListView< IT >::value_type = typename std::iterator_traits<iterator>::value_type |
Definition at line 26 of file LibCarla/source/carla/ListView.h.
|
inlineexplicit |
Definition at line 30 of file LibCarla/source/carla/ListView.h.
References carla::ListView< IT >::_begin, carla::ListView< IT >::_end, DEBUG_ASSERT, and carla::ListView< IT >::operator=().
Here is the call graph for this function:
|
default |
|
inline |
Definition at line 38 of file LibCarla/source/carla/ListView.h.
References carla::ListView< IT >::_begin.
Referenced by carla::MakeListView(), and carla::ListView< IT >::size().
Here is the caller graph for this function:
|
inline |
Definition at line 42 of file LibCarla/source/carla/ListView.h.
References carla::ListView< IT >::_begin.
|
inline |
Definition at line 46 of file LibCarla/source/carla/ListView.h.
References carla::ListView< IT >::_begin.
|
inline |
Definition at line 58 of file LibCarla/source/carla/ListView.h.
References carla::ListView< IT >::_end.
|
inline |
Definition at line 62 of file LibCarla/source/carla/ListView.h.
References carla::ListView< IT >::_begin, and carla::ListView< IT >::_end.
|
inline |
Definition at line 50 of file LibCarla/source/carla/ListView.h.
References carla::ListView< IT >::_end.
Referenced by carla::MakeListView(), and carla::ListView< IT >::size().
Here is the caller graph for this function:
|
inline |
Definition at line 54 of file LibCarla/source/carla/ListView.h.
References carla::ListView< IT >::_end.
|
delete |
|
inline |
Definition at line 66 of file LibCarla/source/carla/ListView.h.
References carla::ListView< IT >::begin(), and carla::ListView< IT >::end().
Here is the call graph for this function:
|
private |
Definition at line 72 of file LibCarla/source/carla/ListView.h.
Referenced by carla::ListView< IT >::begin(), carla::ListView< IT >::cbegin(), carla::ListView< IT >::empty(), and carla::ListView< IT >::ListView().
|
private |
Definition at line 74 of file LibCarla/source/carla/ListView.h.
Referenced by carla::ListView< IT >::cend(), carla::ListView< IT >::empty(), carla::ListView< IT >::end(), and carla::ListView< IT >::ListView().
1.8.13