staticlib_io  1.2.11
 All Classes Namespaces Files Functions Variables
Public Member Functions | List of all members
staticlib::io::multi_source< Range > Class Template Reference

Source wrapper that contains a range of sources to read data from. More...

#include <staticlib/io/multi_source.hpp>

Public Member Functions

 multi_source (Range &&sources_range)
 Constructor.
 multi_source (const multi_source &)
 Deleted copy constructor.
multi_source & operator= (const multi_source &)
 Deleted copy assignment operator.
 multi_source (multi_source &&other) STATICLIB_NOEXCEPT
 Move constructor.
multi_source & operator= (multi_source &&other) STATICLIB_NOEXCEPT
 Move assignment operator.
std::streamsize read (span< char > span)
 Read implementation over the range of sources.

Detailed Description

template<typename Range>
class staticlib::io::multi_source< Range >

Source wrapper that contains a range of sources to read data from.

Constructor & Destructor Documentation

template<typename Range >
staticlib::io::multi_source< Range >::multi_source ( Range &&  sources_range)
inline

Constructor.

Parameters
sources_rangeinput sources
template<typename Range >
staticlib::io::multi_source< Range >::multi_source ( const multi_source< Range > &  )

Deleted copy constructor.

Parameters
otherinstance
template<typename Range >
staticlib::io::multi_source< Range >::multi_source ( multi_source< Range > &&  other)
inline

Move constructor.

Parameters
otherother instance

Member Function Documentation

template<typename Range >
multi_source& staticlib::io::multi_source< Range >::operator= ( const multi_source< Range > &  )

Deleted copy assignment operator.

Parameters
otherinstance
Returns
this instance
template<typename Range >
multi_source& staticlib::io::multi_source< Range >::operator= ( multi_source< Range > &&  other)
inline

Move assignment operator.

Parameters
otherother instance
Returns
this instance
template<typename Range >
std::streamsize staticlib::io::multi_source< Range >::read ( span< char >  span)
inline

Read implementation over the range of sources.

Parameters
spanbuffer span
Returns
number of bytes processed

The documentation for this class was generated from the following file: