This is a Boost iostreams direct device whose begin and end pointers can be modified. More...
#include <serialization.h>
Classes |
|
struct | category |
Public Types |
|
typedef Ch | char_type |
typedef std::pair< char_type *, char_type * > | pair_type |
Public Member Functions |
|
array_device_adapter () | |
array_device_adapter (char_type *begin, char_type *end) | |
array_device_adapter (char_type *begin, std::size_t size) | |
void | init (char_type *begin, char_type *end) |
void | init (char_type *begin, std::size_t size) |
void | set_size (std::size_t size) |
pair_type | input_sequence () |
pair_type | output_sequence () |
Detailed Description
template<typename Ch, typename mode_type = boost::iostreams::seekable>
class detail::array_device_adapter< Ch, mode_type >
This is a Boost iostreams direct device whose begin and end pointers can be modified.
Unfortunately, Boost iostreams stream buffers make their own copies of the pointers. Therefore, even after resetting the device pointers, you have to reopen the stream buffer.
Definition at line 68 of file serialization.h.
Member Typedef Documentation
typedef Ch detail::array_device_adapter< Ch, mode_type >::char_type |
Definition at line 70 of file serialization.h.
typedef std::pair<char_type*, char_type*> detail::array_device_adapter< Ch, mode_type >::pair_type |
Definition at line 71 of file serialization.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 84 of file serialization.h.
|
inline |
Definition at line 86 of file serialization.h.
|
inline |
Definition at line 90 of file serialization.h.
Member Function Documentation
|
inline |
Definition at line 94 of file serialization.h.
Referenced by Packer< Archive >::pack(), and Unpacker< Archive >::unpack().
|
inline |
Definition at line 99 of file serialization.h.
|
inline |
Definition at line 108 of file serialization.h.
|
inline |
Definition at line 112 of file serialization.h.
|
inline |
Definition at line 104 of file serialization.h.
The documentation for this class was generated from the following file: