Set of options that preserve the binary XML to read or write.
More...
#include "nn/nlib/exi/Types.h"
|
constexpr | Preserve () noexcept |
| Instantiates the object with default parameters (default constructor). Sets all data members to false .
|
|
constexpr | Preserve (bool comments_, bool pis_, bool prefixes_) noexcept |
| Sets values to data members and initializes.
|
|
Set of options that preserve the binary XML to read or write.
- Description
- For more information, see http://www.w3.org/TR/exi/#fidelityOptions.
Definition at line 34 of file Types.h.
§ comments
nn::nlib::exi::Preserve::comments |
Sets whether XML comments are preserved.
- Description
- If
true
, data is read and written in a format that preserves XML comments. If false
, comments are not written out to the binary XML.
- The default is
false
.
Definition at line 35 of file Types.h.
§ pis
nn::nlib::exi::Preserve::pis |
Sets whether processing instructions are preserved.
- Description
- If
true
, data is read and written in a format that preserves XML processing instructions. If false
, processing instructions are not written out to the binary XML.
- The default is
false
.
Definition at line 36 of file Types.h.
§ prefixes
nn::nlib::exi::Preserve::prefixes |
Sets whether XML prefix names are preserved.
- Description
- If
true
, data is read and written in a format that preserves XML prefix names. If false
, the binary size is deleted by the XML parser generating a unique prefix name for the URI.
- The default is
false
.
Definition at line 37 of file Types.h.
The documentation for this class was generated from the following files: