#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) |
Private Member Functions | |
| void | reset () |
Definition at line 909 of file xmlstorage.h.
| typedef std::list<XMLNode*> XMLStorage::XMLNode::Children::super |
Definition at line 911 of file xmlstorage.h.
| XMLStorage::XMLNode::Children::Children | ( | ) | [inline] |
| XMLStorage::XMLNode::Children::Children | ( | Children & | other | ) | [inline] |
Definition at line 917 of file xmlstorage.h.
00919 { 00920 for(Children::const_iterator it=other.begin(); it!=other.end(); ++it) 00921 push_back(*it);
| void XMLStorage::XMLNode::Children::assign | ( | Children & | other | ) | [inline] |
| void XMLStorage::XMLNode::Children::move | ( | Children & | other | ) | [inline] |
Definition at line 929 of file xmlstorage.h.
References reset().
Referenced by XMLStorage::XMLNode::filter().
00931 { 00932 for(Children::const_iterator it=other.begin(); it!=other.end(); ++it) 00933 push_back(*it); 00934 00935 other.reset();


Definition at line 937 of file xmlstorage.h.
References XMLStorage::XS_String::assign().
00939 { 00940 assign(other); 00941 return *this;

| void XMLStorage::XMLNode::Children::copy | ( | const Children & | other | ) | [inline] |
Definition at line 943 of file xmlstorage.h.
00945 { 00946 for(Children::const_iterator it=other.begin(); it!=other.end(); ++it) 00947 push_back(new XMLNode(**it));
| void XMLStorage::XMLNode::Children::clear | ( | ) | [inline] |
Definition at line 949 of file xmlstorage.h.
References XMLStorage::XMLNode::clear().
00951 { 00952 while(!empty()) { 00953 XMLNode* node = back(); 00954 pop_back(); 00955 00956 node->clear(); 00957 delete node; 00958 }

| bool XMLStorage::XMLNode::Children::remove | ( | XMLNode * | node | ) | [inline] |
Definition at line 960 of file xmlstorage.h.
00962 { 00963 for(iterator it=begin(); it!=end(); ++it) 00964 if (*it == node) { 00965 erase(it); 00966 return true; 00967 } 00968 00969 return false;
| void XMLStorage::XMLNode::Children::reset | ( | ) | [inline, private] |
Definition at line 972 of file xmlstorage.h.
Referenced by move().
00972 : 00973 void reset() 00974 { 00975 super::clear(); }

1.5.4