C++/Tree Mapping Runtime Library
|
Parsing and serialization flags. More...
#include <elements.hxx>
Flag constants | |
static const unsigned long | keep_dom = 0x00000100UL |
Keep DOM association in the resulting tree. | |
static const unsigned long | own_dom = 0x00000200UL |
Assume ownership of the DOM document. | |
static const unsigned long | dont_validate = 0x00000400UL |
Turn off XML Schema validation in the underlying XML parser. | |
static const unsigned long | extract_content = 0x00000800UL |
Extract XML content for anyType or anySimpleType. Normally you don't need to specify this flag explicitly. | |
static const unsigned long | dont_initialize = 0x00000001UL |
Do not initialize the Xerces-C++ runtime. | |
static const unsigned long | no_xml_declaration = 0x00010000UL |
Do not write XML declaration during serialization. | |
static const unsigned long | dont_pretty_print = 0x00020000UL |
Do not add extra spaces or new lines that make the resulting XML easier to read. | |
flags (unsigned long x=0) | |
Initialize an instance with an integer value. | |
operator unsigned long () const | |
Convert an instance to an integer value. | |
flags | operator| (const flags &a, const flags &b) |
Combine two flags. | |
flags | operator| (const flags &a, unsigned long b) |
Combine two flags. | |
flags | operator| (unsigned long a, const flags &b) |
Combine two flags. | |
Parsing and serialization flags.
Flags are used to modify the default behavior of parsing and serialization functions as well as parsing constructors.
|
inline |
Initialize an instance with an integer value.
x | A flags value as an integer. |
|
inline |
Convert an instance to an integer value.
Combine two flags.
Combine two flags.
Combine two flags.
|
static |
Assume ownership of the DOM document.
This flag only makes sense together with the keep_dom
flag in the call to the parsing function with the dom::auto_ptr/unique_ptr<DOMDocument>
argument.