#include <XMLEntity.h>
Collaboration diagram for XMLnode:

Public Types | |
| typedef std::pair< std::string, std::string > | KeyType |
| typedef std::vector< KeyType > | KeyTypeList |
Public Member Functions | |
| XMLnode () | |
| XMLnode (const std::string &i) | |
| XMLnode (const XMLnode &n) | |
| ~XMLnode () | |
| XMLnode & | operator= (const XMLnode &n) |
| const std::string & | reference (const std::string &, bool &) |
| const XMLnode * | subtree (const std::string &) const |
| const std::string & | value (void) const |
| bool | searchpairs (KeyTypeList &ktl, const std::string &basekey, const std::string currkey, const unsigned int pos) |
| void | selectpairs (KeyTypeList &ktl, const std::string currkey) |
| std::string | dump (int depth=0) |
| void | dump (std::ostream &o, const std::string &indentstr, const unsigned int depth=0) const |
| void | xmlassign (const std::string &key, const std::string &value) |
| void | xmlparse (const std::string &s, std::size_t &pos) |
| void | listkeys (const std::string &, std::vector< std::string > &, bool longformat=true) const |
Protected Attributes | |
| std::string | id |
| std::string | content |
| std::vector< XMLnode * > | nodelist |
| bool | no_close |
Definition at line 26 of file XMLEntity.h.
| typedef std::pair<std::string, std::string> XMLnode::KeyType |
Definition at line 50 of file XMLEntity.h.
| typedef std::vector<KeyType> XMLnode::KeyTypeList |
Definition at line 51 of file XMLEntity.h.
| XMLnode::XMLnode | ( | ) | [inline] |
Definition at line 35 of file XMLEntity.h.
| XMLnode::XMLnode | ( | const std::string & | i | ) | [inline] |
Definition at line 37 of file XMLEntity.h.
| XMLnode::XMLnode | ( | const XMLnode & | n | ) | [inline] |
Definition at line 39 of file XMLEntity.h.
| XMLnode::~XMLnode | ( | ) |
| const std::string& XMLnode::reference | ( | const std::string & | , | |
| bool & | ||||
| ) |
| const XMLnode* XMLnode::subtree | ( | const std::string & | ) | const |
| const std::string& XMLnode::value | ( | void | ) | const [inline] |
| bool XMLnode::searchpairs | ( | KeyTypeList & | ktl, | |
| const std::string & | basekey, | |||
| const std::string | currkey, | |||
| const unsigned int | pos | |||
| ) |
| void XMLnode::selectpairs | ( | KeyTypeList & | ktl, | |
| const std::string | currkey | |||
| ) |
| string XMLnode::dump | ( | int | depth = 0 |
) |
Definition at line 106 of file XMLEntity.cc.
References close_tag(), content, encode_entity(), id, no_close, nodelist, and s.
Referenced by Configuration::dump().
Here is the call graph for this function:

| void XMLnode::dump | ( | std::ostream & | o, | |
| const std::string & | indentstr, | |||
| const unsigned int | depth = 0 | |||
| ) | const |
| void XMLnode::xmlassign | ( | const std::string & | key, | |
| const std::string & | value | |||
| ) |
| void XMLnode::xmlparse | ( | const std::string & | s, | |
| std::size_t & | pos | |||
| ) |
| void XMLnode::listkeys | ( | const std::string & | , | |
| std::vector< std::string > & | , | |||
| bool | longformat = true | |||
| ) | const |
std::string XMLnode::id [protected] |
std::string XMLnode::content [protected] |
Definition at line 30 of file XMLEntity.h.
Referenced by dump(), operator=(), selectpairs(), and value().
std::vector<XMLnode*> XMLnode::nodelist [protected] |
Definition at line 31 of file XMLEntity.h.
Referenced by dump(), operator=(), selectpairs(), and ~XMLnode().
bool XMLnode::no_close [protected] |
1.5.1