ContRap-Core
|
Class PoolEntry is an internal structure for nodes in the XML data pool. More...
#include <xmldatapool.h>
Public Member Functions | |
PoolEntry (const std::string &tag="", const std::string &value="") | |
Empty constructor. | |
PoolEntry (const std::string &tag, const std::string &value, std::map< std::string, std::string > attributes) | |
Constructor. | |
void | clear () |
Clears the entry. | |
Data Fields | |
std::string | tag |
Tag of the entry. | |
std::string | value |
Value. | |
std::map< std::string, std::string > | attributes |
Attributes. | |
std::list< PoolEntry > | children |
Children of the entry. |
crp::XMLDataPool::PoolEntry::PoolEntry | ( | const std::string & | tag = "" , |
const std::string & | value = "" |
||
) | [inline] |
Empty constructor.
crp::XMLDataPool::PoolEntry::PoolEntry | ( | const std::string & | tag, |
const std::string & | value, | ||
std::map< std::string, std::string > | attributes | ||
) | [inline] |
Constructor.
void crp::XMLDataPool::PoolEntry::clear | ( | ) | [inline] |
Clears the entry.
std::map<std::string, std::string> crp::XMLDataPool::PoolEntry::attributes |
Attributes.
std::list<PoolEntry> crp::XMLDataPool::PoolEntry::children |
Children of the entry.
std::string crp::XMLDataPool::PoolEntry::tag |
Tag of the entry.
std::string crp::XMLDataPool::PoolEntry::value |
Value.