STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Private Member Functions | Friends
stapl::runtime::buffer_iarchive Class Reference

Archive to unpack an object from a stream. More...

Public Member Functions

 buffer_iarchive (void *const buffer)
 
std::size_t size (void) const noexcept
 Returns the number of bytes read while unpacking the object.
 

Private Member Functions

std::streamsize xsgetn (char_type *s, std::streamsize n) final
 Reads the requested bytes from the buffer.
 
void const * address (void) const noexcept
 Returns pointer to the buffer.
 
void * address (void) noexcept
 Returns pointer to the buffer.
 
void advance (const std::size_t size) noexcept
 Advances the buffer pointer.
 
std::streamsize read_bytes (void) const noexcept
 Returns how many bytes have been read.
 

Friends

class boost::archive::detail::interface_iarchive< buffer_iarchive >
 
class boost::archive::basic_binary_iarchive< buffer_iarchive >
 
class boost::archive::basic_binary_iprimitive< buffer_iarchive, std::istream::char_type, std::istream::traits_type >
 
class boost::archive::load_access
 

Detailed Description

Archive to unpack an object from a stream.

For more information, visit http://www.boost.org/doc/libs/release/libs/serialization/doc/index.html .


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