|
| UniXML (const std::string &filename) |
|
xmlNode * | getFirstNode () noexcept |
|
xmlNode * | getFirstNode () const noexcept |
|
iterator | begin () noexcept |
|
iterator | end () noexcept |
|
void | open (const std::string &filename) |
|
bool | isOpen () const noexcept |
|
void | close () |
|
std::string | getFileName () const noexcept |
|
void | createFromText (const std::string &text) |
|
void | newDoc (const std::string &root_node, const std::string &xml_ver="1.0") |
|
bool | save (const std::string &filename="", int level=2) |
|
xmlNode * | findNode (xmlNode *node, const std::string &searchnode, const std::string &name="") const |
|
xmlNode * | extFindNode (xmlNode *node, int depth, int width, const std::string &searchnode, const std::string &name="", bool top=true) const |
|
xmlNode * | findNodeLevel1 (xmlNode *root, const std::string &nodename, const std::string &nm="") const |
|
|
static std::string | getProp (const xmlNode *node, const std::string &name) noexcept |
|
static std::string | getProp2 (const xmlNode *node, const std::string &name, const std::string &defval="") noexcept |
|
static int | getIntProp (const xmlNode *node, const std::string &name) noexcept |
|
static int | getPIntProp (const xmlNode *node, const std::string &name, int def) noexcept |
| if value if not positive ( <= 0 ), returns def
|
|
static void | setProp (xmlNode *node, const std::string &name, const std::string &text) |
|
static UniXMLPropList | getPropList (xmlNode *node) |
|
static xmlNode * | createChild (xmlNode *node, const std::string &title, const std::string &text) |
|
static xmlNode * | createNext (xmlNode *node, const std::string &title, const std::string &text) |
|
static xmlNode * | insertNext (xmlNode *node, const std::string &title, const std::string &text) |
|
static void | removeNode (xmlNode *node) |
| Удаление указанного узла со всеми вложенными
|
|
static xmlNode * | copyNode (xmlNode *node, int recursive=1) |
|
static xmlNode * | nextNode (xmlNode *node) |
|