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_oarchive Class Reference

Archive to pack an object to a stream. More...

Public Member Functions

 buffer_oarchive (void *const buffer)
 
std::size_t size (void) const noexcept
 Returns the number of bytes used to pack the object.
 

Private Member Functions

std::streamsize xsputn (const char_type *s, std::streamsize n) final
 Writes the given bytes to 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 written_bytes (void) const noexcept
 Returns how many bytes have been written.
 

Friends

class boost::archive::detail::interface_oarchive< buffer_oarchive >
 
class boost::archive::basic_binary_oarchive< buffer_oarchive >
 
class boost::archive::basic_binary_oprimitive< buffer_oarchive, std::ostream::char_type, std::ostream::traits_type >
 
class boost::archive::save_access
 

Detailed Description

Archive to pack an object to 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: