rili::stream::WritableIterator< T > Class Template Reference
Inheritance diagram for rili::stream::WritableIterator< T >:
[legend]
Collaboration diagram for rili::stream::WritableIterator< T >:
[legend]

Public Member Functions

 WritableIterator (WritableIterator const &other)=default
 
WritableIteratoroperator= (WritableIterator const &other)=default
 
 WritableIterator (Writable &writable)
 
WritableIteratoroperator= (T const &value)
 
WritableIteratoroperator* ()
 
WritableIteratoroperator++ ()
 
WritableIteratoroperator++ (int)
 

Constructor & Destructor Documentation

template<typename T >
rili::stream::WritableIterator< T >::WritableIterator ( WritableIterator< T > const &  other)
default

WritableIterator.

Parameters
other
template<typename T >
rili::stream::WritableIterator< T >::WritableIterator ( Writable writable)
inlineexplicit

WritableIterator construct iterator which will use writable stream to write data and default Writable writers to write elements to writable.

Parameters
writable- stream to use

Member Function Documentation

template<typename T >
WritableIterator& rili::stream::WritableIterator< T >::operator* ( )
inline

operator * actually does not dereference the iterator other than to be assigned a value with operator=

Returns
*this
template<typename T >
WritableIterator& rili::stream::WritableIterator< T >::operator++ ( )
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 >
WritableIterator& rili::stream::WritableIterator< T >::operator++ ( int  )
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 >
WritableIterator& rili::stream::WritableIterator< T >::operator= ( WritableIterator< T > const &  other)
default

operator =

Parameters
other
Returns
template<typename T >
WritableIterator& rili::stream::WritableIterator< T >::operator= ( T const &  value)
inline

operator = try write next value to stream using default Writer

Parameters
valueto convert and write
Returns

The documentation for this class was generated from the following file:
  • rili/stream/Stream.hpp