rili::stream::ReadableIterator< T > Class Template Reference
Inheritance diagram for rili::stream::ReadableIterator< T >:
Collaboration diagram for rili::stream::ReadableIterator< T >:
Public Member Functions | |
ReadableIterator () | |
ReadableIterator (ReadableIterator const &other)=default | |
ReadableIterator & | operator= (ReadableIterator const &other)=default |
bool | operator== (ReadableIterator const &other) const |
bool | operator!= (ReadableIterator const &other) const |
ReadableIterator (Readable &readable) | |
const T & | operator* () const |
const T * | operator-> () const |
ReadableIterator & | operator++ () |
ReadableIterator | operator++ (int) |
Constructor & Destructor Documentation
template<typename T >
|
inline |
ReadableIterator create iterator which can be used as end() of stream.
template<typename T >
|
default |
- Parameters
-
other
template<typename T >
|
inlineexplicit |
ReadableIterator construct iterator which will use readable stream to read data and default Readable readers to featch elements from readable.
- Parameters
-
readable - stream to use
Member Function Documentation
template<typename T >
|
inline |
operator != check if iterator operate on different readable stream object
- Parameters
-
other
- Returns
template<typename T >
|
inline |
operator * give access to current iterator value
- Returns
- value
template<typename T >
|
inline |
operator ++ try fetch next value from stream
- Returns
template<typename T >
|
inline |
operator ++ try fetch next value from stream
- Returns
template<typename T >
|
inline |
operator -> give access to current iterator value pointer
- Returns
- pointer to value
template<typename T >
|
default |
operator =
- Parameters
-
other
- Returns
template<typename T >
|
inline |
operator == check if iterator operate on the same readable stream object
- Parameters
-
other
- Returns
The documentation for this class was generated from the following file:
- rili/stream/Stream.hpp