cereal_fwd
Fork of cereal library adding archive supporting forward compatibility
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
cereal::ExtendableBinaryOutputArchive::Options Class Reference

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

#include </home/breiker/code/git/cereal_fwd_github/include/cereal/archives/extendable_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 ExtendableBinaryOutputArchive. More...
 
Options & littleEndian ()
 Save with little endian order.
 
Options & bigEndian ()
 Save with big endian order.
 

Static Public Member Functions

static Options Default ()
 Default options, preserve system endianness.
 

Friends

class ExtendableBinaryOutputArchive
 

Detailed Description

A class containing various advanced options for the ExtendableBinaryOutput archive.

Constructor & Destructor Documentation

◆ Options()

cereal::ExtendableBinaryOutputArchive::Options::Options ( Endianness  outputEndian_ = getEndianness())
inlineexplicit

Specify specific options for the ExtendableBinaryOutputArchive.

Parameters
outputEndian_The desired endianness of saved (output) data

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