|
| Options (int precision_=std::numeric_limits< double >::max_digits10, bool indent_=true, bool outputType_=false, bool sizeAttributes_=true) |
| Specify specific options for the XMLOutputArchive. More...
|
|
|
An interface for setting option settings analogous to named parameters.
A class containing various advanced options for the XML archive. Definition: xml.hpp:107
Options & sizeAttributes(bool enable) Whether dynamically sized containers (e.g. vector) output the size=dynamic attribute. Definition: xml.hpp:146
Options & indent(bool enable) Whether to indent each line of XML. Definition: xml.hpp:142
An output archive designed to save data to XML. Definition: xml.hpp:97
|
Options & | precision (int value) |
| Sets the precision used for floating point numbers. More...
|
|
Options & | indent (bool enable) |
| Whether to indent each line of XML. More...
|
|
Options & | outputType (bool enable) |
| Whether to output the type of each serialized object as an attribute. More...
|
|
Options & | sizeAttributes (bool enable) |
| Whether dynamically sized containers (e.g. vector) output the size=dynamic attribute. More...
|
|
A class containing various advanced options for the XML archive.
Options can either be directly passed to the constructor, or chained using the modifier functions for an interface analogous to named parameters