nds2-client - ClientDeveloper
0.16.8
|
The data_iterable manages streaming data from an NDS::connection. More...
#include <nds_data_iterator.hh>
Public Types | |
typedef data_stream_iterator | iterator_type |
NDS::data_stream_iterator is the iterator type for this object. More... | |
Public Member Functions | |
DLL_EXPORT | data_iterable (std::shared_ptr< NDS::detail::iterate_handler > handler) |
DLL_EXPORT | data_iterable (const data_iterable &other) |
Copy constructor. More... | |
DLL_EXPORT | data_iterable (data_iterable &&other) noexcept |
Move constructor. More... | |
DLL_EXPORT | ~data_iterable () |
DLL_EXPORT data_iterable & | operator= (const data_iterable &other) |
Copy assignment operator. More... | |
DLL_EXPORT data_iterable & | operator= (data_iterable &&other) noexcept |
Move assigment operator. More... | |
DLL_EXPORT iterator_type | begin () |
Return the current start tof the iteration. More... | |
DLL_EXPORT iterator_type | end () |
Return a end/sentinal iterator. More... | |
DLL_EXPORT void | abort () |
Abort an on-going iteration and close the underlying connection. More... | |
Private Attributes | |
std::shared_ptr < NDS::detail::iterate_handler > | p_ |
The data_iterable manages streaming data from an NDS::connection.
This class manages a single stream of data by providing a set of input iterators which represent the data stream.
NDS::data_stream_iterator is the iterator type for this object.
|
explicit |
|
default |
Copy constructor.
A data_iterable may safely be copied. Copied objects refer to the same iteration and share state.
other | A data_iterable to copy from. |
|
defaultnoexcept |
Move constructor.
A data_iterable may safely be moved.
other | A data_iterable to move from. |
|
default |
void NDS::abi_0::data_iterable::abort | ( | ) |
Abort an on-going iteration and close the underlying connection.
data_iterable::iterator_type NDS::abi_0::data_iterable::begin | ( | ) |
Return the current start tof the iteration.
data_iterable::iterator_type NDS::abi_0::data_iterable::end | ( | ) |
Return a end/sentinal iterator.
|
default |
Copy assignment operator.
A data_iterable may safely be copied. Copied objects refer to the same iteration and share state.
other | The data_iterable to copy from |
|
defaultnoexcept |
Move assigment operator.
A data_iterable may safely be moved.
other | A data_iterable to move from. |
|
private |