cereal
A C++11 library for serialization
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
cereal::PortableBinaryInputArchive::Options Class Reference

A class containing various advanced options for the PortableBinaryInput archive. More...

#include </home/shane/workspace/cereal/include/cereal/archives/portable_binary.hpp>

Public Types

enum  Endianness : std::uint8_t { big, little }
 Represents desired endianness.
 

Public Member Functions

 Options (Endianness inputEndian=getEndianness())
 Specify specific options for the PortableBinaryInputArchive. More...
 

Static Public Member Functions

static Options Default ()
 Default options, preserve system endianness.
 
static Options LittleEndian ()
 Load into little endian.
 
static Options BigEndian ()
 Load into big endian.
 

Friends

class PortableBinaryInputArchive
 

Detailed Description

A class containing various advanced options for the PortableBinaryInput archive.

Constructor & Destructor Documentation

cereal::PortableBinaryInputArchive::Options::Options ( Endianness  inputEndian = getEndianness())
inlineexplicit

Specify specific options for the PortableBinaryInputArchive.

Parameters
inputEndianThe desired endianness of loaded (input) data

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