#include <xml++.h>
|
| XMLNode (const std::string &name) |
|
| XMLNode (const std::string &name, const std::string &content) |
|
| XMLNode (const XMLNode &other) |
|
| ~XMLNode () |
|
XMLNode & | operator= (const XMLNode &other) |
|
bool | operator== (const XMLNode &other) const |
|
bool | operator!= (const XMLNode &other) const |
|
const std::string & | name () const |
|
bool | is_content () const |
|
const std::string & | content () const |
|
const std::string & | set_content (const std::string &) |
|
XMLNode * | add_content (const std::string &s=std::string()) |
|
const std::string & | child_content () const |
|
const XMLNodeList & | children (const std::string &str=std::string()) const |
|
XMLNode * | child (const char *) const |
|
XMLNode * | add_child (const char *) |
|
XMLNode * | add_child_copy (const XMLNode &) |
|
void | add_child_nocopy (XMLNode &) |
|
std::string | attribute_value () |
|
const XMLPropertyList & | properties () const |
|
XMLProperty const * | property (const char *) const |
|
XMLProperty const * | property (const std::string &) const |
|
XMLProperty * | property (const char *) |
|
XMLProperty * | property (const std::string &) |
|
bool | has_property_with_value (const std::string &, const std::string &) const |
|
bool | set_property (const char *name, const std::string &value) |
|
bool | set_property (const char *name, const char *cstr) |
|
bool | set_property (const char *name, const Glib::ustring &ustr) |
|
template<class T > |
bool | set_property (const char *name, const T &value) |
|
bool | get_property (const char *name, std::string &value) const |
|
template<class T > |
bool | get_property (const char *name, T &value) const |
|
void | remove_property (const std::string &) |
|
void | remove_property_recursively (const std::string &) |
|
void | remove_nodes (const std::string &) |
|
void | remove_nodes_and_delete (const std::string &) |
|
void | remove_nodes_and_delete (const std::string &propname, const std::string &val) |
|
void | remove_node_and_delete (const std::string &n, const std::string &propname, const std::string &val) |
|
void | dump (std::ostream &, std::string p="") const |
|
Definition at line 114 of file xml++.h.
◆ XMLNode() [1/3]
XMLNode::XMLNode |
( |
const std::string & |
name | ) |
|
◆ XMLNode() [2/3]
XMLNode::XMLNode |
( |
const std::string & |
name, |
|
|
const std::string & |
content |
|
) |
| |
◆ XMLNode() [3/3]
XMLNode::XMLNode |
( |
const XMLNode & |
other | ) |
|
◆ ~XMLNode()
◆ add_child()
XMLNode* XMLNode::add_child |
( |
const char * |
| ) |
|
◆ add_child_copy()
◆ add_child_nocopy()
void XMLNode::add_child_nocopy |
( |
XMLNode & |
| ) |
|
◆ add_content()
XMLNode* XMLNode::add_content |
( |
const std::string & |
s = std::string() | ) |
|
◆ attribute_value()
std::string XMLNode::attribute_value |
( |
| ) |
|
◆ child()
XMLNode* XMLNode::child |
( |
const char * |
| ) |
const |
◆ child_content()
const std::string& XMLNode::child_content |
( |
| ) |
const |
◆ children()
const XMLNodeList& XMLNode::children |
( |
const std::string & |
str = std::string() | ) |
const |
◆ clear_lists()
void XMLNode::clear_lists |
( |
| ) |
|
|
private |
◆ content()
const std::string& XMLNode::content |
( |
| ) |
const |
|
inline |
◆ dump()
void XMLNode::dump |
( |
std::ostream & |
, |
|
|
std::string |
p = "" |
|
) |
| const |
◆ get_property() [1/2]
bool XMLNode::get_property |
( |
const char * |
name, |
|
|
std::string & |
value |
|
) |
| const |
◆ get_property() [2/2]
template<class T >
bool XMLNode::get_property |
( |
const char * |
name, |
|
|
T & |
value |
|
) |
| const |
|
inline |
◆ has_property_with_value()
bool XMLNode::has_property_with_value |
( |
const std::string & |
, |
|
|
const std::string & |
|
|
) |
| const |
◆ is_content()
bool XMLNode::is_content |
( |
| ) |
const |
|
inline |
◆ name()
const std::string& XMLNode::name |
( |
| ) |
const |
|
inline |
◆ operator!=()
bool XMLNode::operator!= |
( |
const XMLNode & |
other | ) |
const |
◆ operator=()
◆ operator==()
bool XMLNode::operator== |
( |
const XMLNode & |
other | ) |
const |
◆ properties()
◆ property() [1/4]
◆ property() [2/4]
XMLProperty const* XMLNode::property |
( |
const char * |
| ) |
const |
◆ property() [3/4]
◆ property() [4/4]
XMLProperty const* XMLNode::property |
( |
const std::string & |
| ) |
const |
◆ remove_node_and_delete()
void XMLNode::remove_node_and_delete |
( |
const std::string & |
n, |
|
|
const std::string & |
propname, |
|
|
const std::string & |
val |
|
) |
| |
Remove and delete first node with given name and prop matching val
◆ remove_nodes()
void XMLNode::remove_nodes |
( |
const std::string & |
| ) |
|
Remove all nodes with the name passed to remove_nodes
◆ remove_nodes_and_delete() [1/2]
void XMLNode::remove_nodes_and_delete |
( |
const std::string & |
| ) |
|
Remove and delete all nodes with the name passed to remove_nodes
◆ remove_nodes_and_delete() [2/2]
void XMLNode::remove_nodes_and_delete |
( |
const std::string & |
propname, |
|
|
const std::string & |
val |
|
) |
| |
Remove and delete all nodes with property prop matching val
◆ remove_property()
void XMLNode::remove_property |
( |
const std::string & |
| ) |
|
◆ remove_property_recursively()
void XMLNode::remove_property_recursively |
( |
const std::string & |
| ) |
|
◆ set_content()
const std::string& XMLNode::set_content |
( |
const std::string & |
| ) |
|
◆ set_property() [1/4]
bool XMLNode::set_property |
( |
const char * |
name, |
|
|
const char * |
cstr |
|
) |
| |
|
inline |
◆ set_property() [2/4]
bool XMLNode::set_property |
( |
const char * |
name, |
|
|
const Glib::ustring & |
ustr |
|
) |
| |
|
inline |
◆ set_property() [3/4]
bool XMLNode::set_property |
( |
const char * |
name, |
|
|
const std::string & |
value |
|
) |
| |
◆ set_property() [4/4]
template<class T >
bool XMLNode::set_property |
( |
const char * |
name, |
|
|
const T & |
value |
|
) |
| |
|
inline |
◆ _children
◆ _content
std::string XMLNode::_content |
|
private |
◆ _is_content
bool XMLNode::_is_content |
|
private |
◆ _name
std::string XMLNode::_name |
|
private |
◆ _proplist
◆ _selected_children
The documentation for this class was generated from the following file: