internal iterator class More...
#include <xmlstorage.h>

Public Types | |
| typedef XMLNode::Children::iterator | BaseIterator |
| typedef iterator | myType |
Public Member Functions | |
| iterator (BaseIterator begin, BaseIterator end, const XS_String &filter_name) | |
| operator BaseIterator () | |
| const XMLNode * | operator* () const |
| XMLNode * | operator* () |
| myType & | operator++ () |
| myType | operator++ (int) |
| bool | operator== (const myType &other) const |
| bool | operator!= (const myType &other) const |
Protected Member Functions | |
| void | search_next () |
Protected Attributes | |
| BaseIterator | _cur |
| BaseIterator | _end |
| XS_String | _filter_name |
internal iterator class
Definition at line 1865 of file xmlstorage.h.
| typedef XMLNode::Children::iterator XMLStorage::XMLChildrenFilter::iterator::BaseIterator |
Definition at line 1867 of file xmlstorage.h.
Definition at line 1868 of file xmlstorage.h.
| XMLStorage::XMLChildrenFilter::iterator::iterator | ( | BaseIterator | begin, |
| BaseIterator | end, | ||
| const XS_String & | filter_name | ||
| ) | [inline] |
Definition at line 1870 of file xmlstorage.h.
References search_next().
: _cur(begin), _end(end), _filter_name(filter_name) { search_next(); }

| XMLStorage::XMLChildrenFilter::iterator::operator BaseIterator | ( | ) | [inline] |
| bool XMLStorage::XMLChildrenFilter::iterator::operator!= | ( | const myType & | other ) | const [inline] |
| const XMLNode* XMLStorage::XMLChildrenFilter::iterator::operator* | ( | ) | const [inline] |
| XMLNode* XMLStorage::XMLChildrenFilter::iterator::operator* | ( | ) | [inline] |
| myType XMLStorage::XMLChildrenFilter::iterator::operator++ | ( | int | ) | [inline] |
Definition at line 1901 of file xmlstorage.h.
References _cur, and search_next().
{
myType ret = *this;
++_cur;
search_next();
return ret;
}

| myType& XMLStorage::XMLChildrenFilter::iterator::operator++ | ( | ) | [inline] |
Definition at line 1893 of file xmlstorage.h.
References _cur, and search_next().
{
++_cur;
search_next();
return *this;
}

| bool XMLStorage::XMLChildrenFilter::iterator::operator== | ( | const myType & | other ) | const [inline] |
| void XMLStorage::XMLChildrenFilter::iterator::search_next | ( | ) | [inline, protected] |
Definition at line 1926 of file xmlstorage.h.
References _cur, _end, and _filter_name.
Referenced by iterator(), and operator++().
{
while(_cur!=_end && **_cur!=_filter_name)
++_cur;
}

Definition at line 1922 of file xmlstorage.h.
Referenced by operator BaseIterator(), operator!=(), operator*(), operator++(), operator==(), and search_next().
Definition at line 1923 of file xmlstorage.h.
Referenced by search_next().
Definition at line 1924 of file xmlstorage.h.
Referenced by search_next().
|
ROS Explorer Source Code Documentation
generated on 02.01.2013 by
|