rili::stream::WritableCustomIterator< T > Class Template Reference
Inheritance diagram for rili::stream::WritableCustomIterator< T >:
Collaboration diagram for rili::stream::WritableCustomIterator< T >:
Public Member Functions | |
WritableCustomIterator (WritableCustomIterator const &other)=default | |
WritableCustomIterator & | operator= (WritableCustomIterator const &other)=default |
WritableCustomIterator (Writable &writable, std::function< Writer(T const &)> const &generator) | |
WritableCustomIterator & | operator= (T const &value) |
WritableCustomIterator & | operator* () |
WritableCustomIterator & | operator++ () |
WritableCustomIterator & | operator++ (int) |
Constructor & Destructor Documentation
template<typename T >
|
default |
- Parameters
-
other
template<typename T >
|
inline |
WritableCustomIterator construct iterator which will use writable stream to write data and given generator to write elements to writable.
- Parameters
-
writable - stream to use generator - function to use to write elements to stream
Member Function Documentation
template<typename T >
|
inline |
operator * actually does not dereference the iterator other than to be assigned a value with operator=
- Returns
- *this
template<typename T >
|
inline |
operator ++ This function has no required effect, neither in the iterator nor in its associated stream (streams advance automatically on insertion).
- Returns
- *this
template<typename T >
|
inline |
operator ++ This function has no required effect, neither in the iterator nor in its associated stream (streams advance automatically on insertion).
- Returns
- *this
template<typename T >
|
default |
operator =
- Parameters
-
other
- Returns
template<typename T >
|
inline |
operator = try write next value to stream using given generator
- Parameters
-
value to convert and write
- Returns
The documentation for this class was generated from the following file:
- rili/stream/Stream.hpp