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

Source wrapper that decodes data from Hexadecimal. More...

#include <staticlib/io/hex_source.hpp>

Public Member Functions

 hex_source (Source &&src)
 Constructor, created source wrapper will own specified source.
 hex_source (const hex_source &)
 Deleted copy constructor.
hex_source & operator= (const hex_source &)
 Deleted copy assignment operator.
 hex_source (hex_source &&other) STATICLIB_NOEXCEPT
 Move constructor.
hex_source & operator= (hex_source &&other) STATICLIB_NOEXCEPT
 Move assignment operator.
std::streamsize read (span< char > span)
 Hex-decoding read implementation.
Source & get_source ()
 Underlying source accessor.

Detailed Description

template<typename Source>
class staticlib::io::hex_source< Source >

Source wrapper that decodes data from Hexadecimal.

Constructor & Destructor Documentation

template<typename Source >
staticlib::io::hex_source< Source >::hex_source ( Source &&  src)
inlineexplicit

Constructor, created source wrapper will own specified source.

Parameters
srcinput source
template<typename Source >
staticlib::io::hex_source< Source >::hex_source ( const hex_source< Source > &  )

Deleted copy constructor.

Parameters
otherinstance
template<typename Source >
staticlib::io::hex_source< Source >::hex_source ( hex_source< Source > &&  other)
inline

Move constructor.

Parameters
otherother instance

Member Function Documentation

template<typename Source >
Source& staticlib::io::hex_source< Source >::get_source ( )
inline

Underlying source accessor.

Returns
underlying source reference
template<typename Source >
hex_source& staticlib::io::hex_source< Source >::operator= ( const hex_source< Source > &  )

Deleted copy assignment operator.

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

Move assignment operator.

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

Hex-decoding read implementation.

Parameters
spanbuffer span
Returns
number of bytes processed

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