![]() |
Qore XML Module 1.6.1
|
#include <MakeXmlOpts.h>
Classes | |
class | InvalidHash |
Public Member Methods | |
MakeXmlOpts () | |
Static Public Member Methods | |
static MakeXmlOpts | createFromFlags (int flags, const QoreEncoding *encoding=nullptr) |
static MakeXmlOpts | createFromHash (const QoreHashNode *hash) |
Wrapper for xml generating options.
|
explicit |
Constructs the wrapper with default options.
|
static |
Creates the wrapper with options filled from flags and passed encoding.
flags | Formatting flags; see XML Generation Constants for more information. |
encoding | An optional encoding for the output XML string |
|
static |
Creates the wrapper with options filled from hash.
hash | Hash with formatting options; see XML Generation Options for more information about possible values. |
InvalidHash | in case that known option is invalid (unknown options are skipped). |