Wraps an archive around an STL vector for input.
More...
#include <vector_archive.h>
|
| std::size_t | i |
| | Current input location.
|
| |
| std::vector< unsigned char > * | v |
| | The STL vector being wrapped.
|
| |
|
| using | is_loading = std::true_type |
| | Type used by Boost.Serialization to determine if this object is an input archive.
|
| |
| using | is_loading = std::false_type |
| | Type used by Boost.Serialization to determine if this object is an input archive.
|
| |
| using | is_saving = std::false_type |
| | Type used by Boost.Serialization to determine if this object is an output archive.
|
| |
| static constexpr bool | is_input_archive = true |
| | Flag to determine if this object is an input archive.
|
| |
| static constexpr bool | is_archive = true |
| | Flag to determine if this object is an archive.
|
| |
| static constexpr bool | is_input_archive = false |
| | Flag to determine if this object is an input archive.
|
| |
| static constexpr bool | is_output_archive = false |
| | Flag to determine if this object is an output archive.
|
| |
| static constexpr bool | is_parallel_archive = false |
| | Flag to determine if this object is a parallel archive.
|
| |
Wraps an archive around an STL vector for input.
◆ VectorInputArchive()
| madness::archive::VectorInputArchive::VectorInputArchive |
( |
std::vector< unsigned char > & |
v | ) |
|
|
inline |
Create a buffer to wrap the specified vector.
- Parameters
-
◆ close()
| void madness::archive::VectorInputArchive::close |
( |
| ) |
|
|
inline |
Close the archive.
Referenced by main().
◆ load()
◆ nbyte_avail()
| std::size_t madness::archive::VectorInputArchive::nbyte_avail |
( |
| ) |
const |
|
inline |
◆ open()
| void madness::archive::VectorInputArchive::open |
( |
| ) |
|
|
inline |
◆ rewind()
| void madness::archive::VectorInputArchive::rewind |
( |
| ) |
const |
|
inline |
| std::size_t madness::archive::VectorInputArchive::i |
|
mutableprivate |
| std::vector<unsigned char>* madness::archive::VectorInputArchive::v |
|
mutableprivate |
The documentation for this class was generated from the following file: