A class containing various advanced options for the XML archive.
More...
#include </build/libcereal-EiLyWP/libcereal-1.2.2/include/cereal/archives/xml.hpp>
|
| Options (int precision=std::numeric_limits< double >::max_digits10, bool indent=true, bool outputType=false) |
| Specify specific options for the XMLOutputArchive. More...
|
|
A class containing various advanced options for the XML archive.
◆ Options()
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
-
precision | The precision used for floating point numbers |
indent | Whether to indent each line of XML |
outputType | Whether to output the type of each serialized object as an attribute |
The documentation for this class was generated from the following file:
- /build/libcereal-EiLyWP/libcereal-1.2.2/include/cereal/archives/xml.hpp