sptk2 logo
SPTK Home Page
Public Member Functions | List of all members
sptk::xdoc::Document Class Reference

Public Member Functions

 Document (Node::Type rootType=Node::Type::Object)
 
void clear () const
 
SNode & root ()
 
const SNode & root () const
 
void load (const Buffer &data, bool xmlKeepFormatting=false) const
 
void load (const String &data, bool xmlKeepFormatting=false) const
 
void exportTo (DataFormat dataFormat, Buffer &data, bool formatted=false) const
 
void exportTo (DataFormat dataFormat, std::ostream &data, bool formatted=false) const
 
SNode & findOrCreate (const String &name)
 
SNode findFirst (const String &name, SearchMode searchMode=SearchMode::Recursive) const
 
Node::Vector select (const String &xpath) const
 

The documentation for this class was generated from the following file:

Fri Oct 14 2022 09:58:49: SPTK 5.4.1