internal children node list More...
#include <xmlstorage.h>


Public Types | |
| typedef std::list< XMLNode * > | super |
Public Member Functions | |
| Children () | |
| Children (Children &other) | |
| void | assign (Children &other) |
| void | move (Children &other) |
| Children & | operator= (Children &other) |
| void | copy (const Children &other) |
| void | clear () |
| bool | remove (XMLNode *node) |
internal children node list
Definition at line 1433 of file xmlstorage.h.
| typedef std::list<XMLNode*> XMLStorage::XMLNode::Children::super |
Definition at line 1435 of file xmlstorage.h.
| XMLStorage::XMLNode::Children::Children | ( | ) | [inline] |
Definition at line 1437 of file xmlstorage.h.
{
}
| XMLStorage::XMLNode::Children::Children | ( | Children & | other ) | [inline] |
Definition at line 1441 of file xmlstorage.h.
{
for(Children::const_iterator it=other.begin(); it!=other.end(); ++it)
push_back(*it);
}
| void XMLStorage::XMLNode::Children::assign | ( | Children & | other ) | [inline] |
Definition at line 1447 of file xmlstorage.h.
References clear(), and move().
Referenced by operator=().


| void XMLStorage::XMLNode::Children::clear | ( | ) | [inline] |
Definition at line 1473 of file xmlstorage.h.
References XMLStorage::XMLNode::clear().
Referenced by assign(), XMLStorage::XMLNode::clear(), and XMLStorage::XMLNode::operator=().
{
while(!empty()) {
XMLNode* node = back();
pop_back();
node->clear();
delete node;
}
}


| void XMLStorage::XMLNode::Children::copy | ( | const Children & | other ) | [inline] |
Definition at line 1467 of file xmlstorage.h.
References XMLStorage::XMLNode::XMLNode().
Referenced by XMLStorage::XMLNode::operator=().
{
for(Children::const_iterator it=other.begin(); it!=other.end(); ++it)
push_back(new XMLNode(**it));
}


| void XMLStorage::XMLNode::Children::move | ( | Children & | other ) | [inline] |
Definition at line 1453 of file xmlstorage.h.
Referenced by assign(), and XMLStorage::XMLNode::filter().
{
for(Children::const_iterator it=other.begin(); it!=other.end(); ++it)
push_back(*it);
other.reset();
}

Definition at line 1461 of file xmlstorage.h.
References assign().
{
assign(other);
return *this;
}

| bool XMLStorage::XMLNode::Children::remove | ( | XMLNode * | node ) | [inline] |
Definition at line 1484 of file xmlstorage.h.
References XMLStorage::XMLNode::erase().
{
for(iterator it=begin(); it!=end(); ++it)
if (*it == node) {
erase(it);
return true;
}
return false;
}

|
ROS Explorer Source Code Documentation
generated on 02.01.2013 by
|