nds2-client - ClientDeveloper
0.16.8
|
A input iterator. More...
#include <nds_data_iterator.hh>
Public Types | |
typedef std::shared_ptr < buffers_type > | value_type |
typedef value_type & | reference |
typedef value_type * | pointer |
typedef std::size_t | difference_type |
typedef std::input_iterator_tag | iterator_category |
Public Member Functions | |
DLL_EXPORT | data_stream_iterator () |
Default constructor. More... | |
DLL_EXPORT | data_stream_iterator (const data_stream_iterator &other) |
Copy constructor. More... | |
DLL_EXPORT | data_stream_iterator (data_stream_iterator &&other) noexcept |
Move constructor. More... | |
DLL_EXPORT | data_stream_iterator (std::shared_ptr< detail::iterate_handler > p, value_type c) |
DLL_EXPORT | ~data_stream_iterator () |
DLL_EXPORT data_stream_iterator & | operator= (const data_stream_iterator &other) |
Copy operator. More... | |
DLL_EXPORT data_stream_iterator & | operator= (data_stream_iterator &&other) noexcept |
Move operator. More... | |
DLL_EXPORT bool | operator== (const data_stream_iterator &other) const |
DLL_EXPORT bool | operator!= (const data_stream_iterator &other) const |
DLL_EXPORT reference | operator* () |
Access the data at the current location of the iteration. More... | |
DLL_EXPORT data_stream_iterator & | operator++ () |
DLL_EXPORT data_stream_iterator | operator++ (int) |
Private Attributes | |
std::shared_ptr < detail::iterate_handler > | p_ |
value_type | cache_ |
A input iterator.
This is the iterator type used by NDS::data_iterable.
typedef std::size_t NDS::abi_0::data_stream_iterator::difference_type |
typedef std::input_iterator_tag NDS::abi_0::data_stream_iterator::iterator_category |
typedef std::shared_ptr< buffers_type > NDS::abi_0::data_stream_iterator::value_type |
NDS::abi_0::data_stream_iterator::data_stream_iterator | ( | ) |
Default constructor.
The iterator is defined in an empty/end state.
|
default |
Copy constructor.
A data_stream_iterator can be safely copied. When done the two iterators will refer to the same iteration and reference the same data.
other | The iterator to copy from. |
|
defaultnoexcept |
Move constructor.
A data_stream_iterator can be safely moved. When done other will be in an empty/end state.
other | The iterator to move from. |
NDS::abi_0::data_stream_iterator::data_stream_iterator | ( | std::shared_ptr< detail::iterate_handler > | p, |
value_type | c | ||
) |
|
default |
bool NDS::abi_0::data_stream_iterator::operator!= | ( | const data_stream_iterator & | other | ) | const |
data_stream_iterator::reference NDS::abi_0::data_stream_iterator::operator* | ( | ) |
Access the data at the current location of the iteration.
data_stream_iterator & NDS::abi_0::data_stream_iterator::operator++ | ( | ) |
data_stream_iterator NDS::abi_0::data_stream_iterator::operator++ | ( | int | ) |
|
default |
Copy operator.
A data_stream_iterator can be safely copied. When done the two iterators will refer to the same iteration and reference the same data.
other | The iterator to copy from. |
|
defaultnoexcept |
Move operator.
A data_stream_iterator can be safely moved. When done other will be in an empty/end state.
other | The iterator to move from. |
bool NDS::abi_0::data_stream_iterator::operator== | ( | const data_stream_iterator & | other | ) | const |
|
private |
|
private |