cereal
A C++11 library for serialization
Public Member Functions | List of all members
cereal::BinaryInputArchive Class Reference

An input archive designed to load data saved using BinaryOutputArchive. More...

#include </build/libcereal-m2n5tT/libcereal-1.1.2/include/cereal/archives/binary.hpp>

Inheritance diagram for cereal::BinaryInputArchive:
cereal::InputArchive< BinaryInputArchive, AllowEmptyClassElision > cereal::detail::InputArchiveBase

Public Member Functions

 BinaryInputArchive (std::istream &stream)
 Construct, loading from the provided stream.
 
void loadBinary (void *const data, std::size_t 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. More...
 
InputArchiveoperator= (InputArchive const &)=delete
 
BinaryInputArchiveoperator() (Types &&...args)
 Serializes all passed in data. More...
 
std::shared_ptr< void > getSharedPointer (std::uint32_t const id)
 Retrieves a shared pointer given a unique key for it. More...
 
void registerSharedPointer (std::uint32_t const id, std::shared_ptr< void > ptr)
 Registers a shared pointer to its unique identifier. More...
 
std::string getPolymorphicName (std::uint32_t const id)
 Retrieves the string for a polymorphic type given a unique key for it. More...
 
void registerPolymorphicName (std::uint32_t const id, std::string const &name)
 Registers a polymorphic name string to its unique identifier. More...
 
BinaryInputArchiveoperator& (T &&arg)
 Serializes passed in data. More...
 
BinaryInputArchiveoperator>> (T &&arg)
 Serializes passed in data. More...
 

Detailed Description

An input archive designed to load data saved using BinaryOutputArchive.


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