| 
| enum class   | Type : uint8_t {  
  DocumentRoot
, Null
, Text
, Number
,  
  Boolean
, Array
, Object
, CData
,  
  Comment
, ProcessingInstruction
 
 } | 
|   | 
| 
using  | SNode = std::shared_ptr< Node > | 
|   | 
| 
using  | Nodes = std::vector< SNode > | 
|   | 
| 
using  | Vector = std::vector< SNode > | 
|   | 
| 
using  | iterator = Nodes::iterator | 
|   | 
| 
using  | const_iterator = Nodes::const_iterator | 
|   | 
 | 
| 
  | Node (const String &nodeName="", Type type=Type::Null) | 
|   | 
| 
virtual void  | clear () | 
|   | 
| 
virtual void  | clearChildren () | 
|   | 
| 
String  | name () const | 
|   | 
| 
void  | name (const String &name) | 
|   | 
| 
Type  | type () const | 
|   | 
| 
void  | type (Type type) | 
|   | 
| 
SNode &  | pushNode (const String &name, Type type=Type::Null) | 
|   | 
| SNode &  | pushValue (const String &name, const Variant &value, Node::Type type=Node::Type::Null) | 
|   | Push named property to object.  More...
  | 
|   | 
| SNode &  | pushValue (const Variant &value, Node::Type type=Node::Type::Null) | 
|   | Push value to array.  More...
  | 
|   | 
| 
Attributes &  | attributes () | 
|   | 
| 
const Attributes &  | attributes () const | 
|   | 
| 
String  | getString (const String &name="") const | 
|   | 
| 
String  | getText (const String &name="") const | 
|   | 
| 
double  | getNumber (const String &name="") const | 
|   | 
| 
bool  | getBoolean (const String &name="") const | 
|   | 
| 
const Nodes &  | nodes (const String &name="") const | 
|   | 
| 
const Variant &  | getValue () const | 
|   | 
| 
template<typename T >  | 
| void  | set (const T &value) | 
|   | 
| 
template<typename T >  | 
| SNode &  | set (const String &name, const T &value) | 
|   | 
| 
bool  | remove (const String &name) | 
|   | 
| 
bool  | remove (const SNode &node) | 
|   | 
| 
SNode &  | findOrCreate (const String &name) | 
|   | 
| 
SNode  | findFirst (const String &name, SearchMode searchMode=SearchMode::Recursive) const | 
|   | 
| 
SNode &  | parent () | 
|   | 
| 
const SNode &  | parent () const | 
|   | 
| 
void  | load (DataFormat dataFormat, const Buffer &data, bool xmlKeepFormatting=false) | 
|   | 
| 
void  | load (DataFormat dataFormat, const String &data, bool xmlKeepFormatting=false) | 
|   | 
| 
void  | exportTo (DataFormat dataFormat, Buffer &data, bool formatted) const | 
|   | 
| 
void  | exportTo (DataFormat dataFormat, std::ostream &stream, bool formatted) const | 
|   | 
| Node::Vector  | select (const String &xpath) | 
|   | Select a list of sub-nodes matching xpath.  More...
  | 
|   |