nlib
|
Structure used as the initialization options for XmlStreamWriter
.
More...
#include "nn/nlib/exi/XmlStreamWriter.h"
Public Member Functions | |
constexpr | XmlStreamWriterSettings () noexcept |
Configures the default settings. | |
Public Attributes | |
bool | encodeCookie |
Sets whether to write identification strings at the beginning of the data. More... | |
bool | encodeOptions |
Sets whether to write information used to automatically recognize the settings. More... | |
Alignment | alignment |
Sets the alignment of the binary XML. More... | |
bool | fragment |
Supports writing binary XML that has multiple root nodes (aka XML fragments). The default is false . | |
Preserve | preserve |
Sets the fidelity options. | |
int | version |
Specifies the version number to record in the binary XML. More... | |
XmlProcessor | processor |
Specifies whether to write binary XML or text-based XML. More... | |
Structure used as the initialization options for XmlStreamWriter
.
Preserve::prefixes
to true
. Preserve::comments
to true
. XmlStreamWriterSettings::encodeCookie
to true
. XmlStreamWriterSettings::encodeOptions
to true
. Definition at line 35 of file XmlStreamWriter.h.
nn::nlib::exi::XmlStreamWriterSettings::alignment |
Sets the alignment of the binary XML.
nn::nlib::exi::ALIGNMENT_BIT_PACKED
. Normally, set nn::nlib::exi::ALIGNMENT_BYTE_ALIGNMENT
when debugging the XML parser. (No improvements in speed if this option is set.) Definition at line 38 of file XmlStreamWriter.h.
nn::nlib::exi::XmlStreamWriterSettings::encodeCookie |
Sets whether to write identification strings at the beginning of the data.
true
, the four-byte ASCII string $EXI
is written at the beginning of the data. false
. Definition at line 36 of file XmlStreamWriter.h.
nn::nlib::exi::XmlStreamWriterSettings::encodeOptions |
Sets whether to write information used to automatically recognize the settings.
true
, information about the options that were specified to the EXI stream is written. The options are automatically detected upon reading. false
. Definition at line 37 of file XmlStreamWriter.h.
nn::nlib::exi::XmlStreamWriterSettings::processor |
Specifies whether to write binary XML or text-based XML.
Preserve::pis
and Preserve::comments
. Other options are ignored. Definition at line 42 of file XmlStreamWriter.h.
nn::nlib::exi::XmlStreamWriterSettings::version |
Specifies the version number to record in the binary XML.
Definition at line 41 of file XmlStreamWriter.h.
© 2012-2017 Nintendo Co., Ltd. All rights reserved.