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

A class containing various advanced options for the PortableBinaryOutput 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 outputEndian=getEndianness())
 Specify specific options for the PortableBinaryOutputArchive. More...
 

Static Public Member Functions

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

Friends

class PortableBinaryOutputArchive
 

Detailed Description

A class containing various advanced options for the PortableBinaryOutput archive.

Constructor & Destructor Documentation

cereal::PortableBinaryOutputArchive::Options::Options ( Endianness  outputEndian = getEndianness())
inlineexplicit

Specify specific options for the PortableBinaryOutputArchive.

Parameters
outputEndianThe desired endianness of saved (output) data

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