| cereal::BinaryInputArchive(3) | Library Functions Manual | cereal::BinaryInputArchive(3) |
NAME
cereal::BinaryInputArchive - An input archive designed to load data saved using BinaryOutputArchive.
SYNOPSIS
#include </home/build/include/cereal/archives/binary.hpp>
Inherits cereal::InputArchive< BinaryInputArchive, AllowEmptyClassElision >.
Public Member Functions
BinaryInputArchive (std::istream &stream)
Construct, loading from the provided stream. void loadBinary (void
*const data, std::streamsize size)
Reads size bytes of data from the input stream.
Public Member Functions inherited from cereal::InputArchive<
BinaryInputArchive, AllowEmptyClassElision >
InputArchive (BinaryInputArchive *const derived)
Construct the output archive. InputArchive & operator=
(InputArchive const &)=delete
BinaryInputArchive & operator() (Types &&... args)
Serializes all passed in data. void serializeDeferments ()
Serializes any data marked for deferment using defer. std::shared_ptr< void
> getSharedPointer (std::uint32_t const id)
Retrieves a shared pointer given a unique key for it. void
registerSharedPointer (std::uint32_t const id, std::shared_ptr<
void > ptr)
Registers a shared pointer to its unique identifier. std::string
getPolymorphicName (std::uint32_t const id)
Retrieves the string for a polymorphic type given a unique key for it. void
registerPolymorphicName (std::uint32_t const id, std::string const
&name)
Registers a polymorphic name string to its unique identifier.
BinaryInputArchive & operator& (T &&arg)
Serializes passed in data.
BinaryInputArchive & operator>> (T &&arg)
Serializes passed in data.
Public Member Functions inherited from
cereal::detail::InputArchiveBase
InputArchiveBase (InputArchiveBase &&) CEREAL_NOEXCEPT
InputArchiveBase & operator= (InputArchiveBase &&)
CEREAL_NOEXCEPT
Additional Inherited Members
using is_loading
Indicates this archive is intended for loading.
using is_saving
Indicates this archive is not intended for saving.
Detailed Description
An input archive designed to load data saved using BinaryOutputArchive.
Author
Generated automatically by Doxygen for cereal from the source code.
| Mon Oct 26 2026 20:39:03 | cereal |