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

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

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

Public Member Functions

 Options (int precision=std::numeric_limits< double >::max_digits10, bool indent=true, bool outputType=false)
 Specify specific options for the XMLOutputArchive. More...
 

Static Public Member Functions

static Options Default ()
 Default options.
 
static Options NoIndent ()
 Default options with no indentation.
 

Friends

class XMLOutputArchive
 

Detailed Description

A class containing various advanced options for the XML archive.

Constructor & Destructor Documentation

cereal::XMLOutputArchive::Options::Options ( int  precision = std::numeric_limits<double>::max_digits10,
bool  indent = true,
bool  outputType = false 
)
inlineexplicit

Specify specific options for the XMLOutputArchive.

Parameters
precisionThe precision used for floating point numbers
indentWhether to indent each line of XML
outputTypeWhether to output the type of each serialized object as an attribute

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