|
Tatooine
|
const buffer iterator More...
#include <buffer.h>
Public Types | |
| using | buffer_type = buffer< array_type, T > |
| using | value_type = T |
| using | reference = T & |
| using | pointer = T * |
| using | difference_type = std::ptrdiff_t |
| using | iterator_category = std::bidirectional_iterator_tag |
Public Member Functions | |
| cbuffer_iterator (const buffer_type *buffer, std::size_t idx) | |
| cbuffer_iterator (const cbuffer_iterator &other)=default | |
| cbuffer_iterator (cbuffer_iterator &&other) noexcept=default | |
| auto | operator= (const cbuffer_iterator &other) -> cbuffer_iterator &=default |
| auto | operator= (cbuffer_iterator &&other) noexcept -> cbuffer_iterator &=default |
| ~cbuffer_iterator ()=default | |
| auto | operator* () const -> T |
| get the buffer element the iterator refers to More... | |
| auto | operator== (const cbuffer_iterator &other) const |
| are two iterators equal? More... | |
| auto | operator!= (const cbuffer_iterator &other) const |
| are two iterators different? More... | |
| auto | operator++ () -> auto & |
| pre-increment iterator More... | |
| auto | operator++ (int) |
| post-increment iterator More... | |
| auto | operator-- () -> auto & |
| pre-decrement iterator More... | |
| auto | operator-- (int) |
| post-decrement iterator More... | |
Private Attributes | |
| const buffer_type * | m_buffer |
| std::size_t | m_idx |
const buffer iterator
| using tatooine::gl::cbuffer_iterator< array_type, T >::buffer_type = buffer<array_type, T> |
| using tatooine::gl::cbuffer_iterator< array_type, T >::difference_type = std::ptrdiff_t |
| using tatooine::gl::cbuffer_iterator< array_type, T >::iterator_category = std::bidirectional_iterator_tag |
| using tatooine::gl::cbuffer_iterator< array_type, T >::pointer = T* |
| using tatooine::gl::cbuffer_iterator< array_type, T >::reference = T& |
| using tatooine::gl::cbuffer_iterator< array_type, T >::value_type = T |
|
inline |
|
default |
|
defaultnoexcept |
|
default |
|
inline |
are two iterators different?
|
inline |
get the buffer element the iterator refers to
|
inline |
pre-increment iterator
|
inline |
post-increment iterator
|
inline |
pre-decrement iterator
|
inline |
post-decrement iterator
|
defaultnoexcept |
|
default |
|
inline |
are two iterators equal?
|
private |
|
private |