internal iterator class More...
#include <xmlstorage.h>
Public Types | |
typedef XMLNode::Children::const_iterator | BaseIterator |
typedef const_iterator | myType |
Public Member Functions | |
const_iterator (BaseIterator begin, BaseIterator end, const XS_String &filter_name) | |
operator BaseIterator () | |
const XMLNode * | operator* () const |
const XMLNode * | operator-> () const |
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 1965 of file xmlstorage.h.
typedef XMLNode::Children::const_iterator XMLStorage::const_XMLChildrenFilter::const_iterator::BaseIterator |
Definition at line 1967 of file xmlstorage.h.
Definition at line 1968 of file xmlstorage.h.
XMLStorage::const_XMLChildrenFilter::const_iterator::const_iterator | ( | BaseIterator | begin, |
BaseIterator | end, | ||
const XS_String & | filter_name | ||
) | [inline] |
Definition at line 1970 of file xmlstorage.h.
References search_next().
: _cur(begin), _end(end), _filter_name(filter_name) { search_next(); }
XMLStorage::const_XMLChildrenFilter::const_iterator::operator BaseIterator | ( | ) | [inline] |
bool XMLStorage::const_XMLChildrenFilter::const_iterator::operator!= | ( | const myType & | other ) | const [inline] |
const XMLNode* XMLStorage::const_XMLChildrenFilter::const_iterator::operator* | ( | ) | const [inline] |
myType& XMLStorage::const_XMLChildrenFilter::const_iterator::operator++ | ( | ) | [inline] |
Definition at line 1993 of file xmlstorage.h.
References _cur, and search_next().
{ ++_cur; search_next(); return *this; }
myType XMLStorage::const_XMLChildrenFilter::const_iterator::operator++ | ( | int | ) | [inline] |
Definition at line 2001 of file xmlstorage.h.
References _cur, and search_next().
{ myType ret = *this; ++_cur; search_next(); return ret; }
const XMLNode* XMLStorage::const_XMLChildrenFilter::const_iterator::operator-> | ( | ) | const [inline] |
bool XMLStorage::const_XMLChildrenFilter::const_iterator::operator== | ( | const myType & | other ) | const [inline] |
void XMLStorage::const_XMLChildrenFilter::const_iterator::search_next | ( | ) | [inline, protected] |
Definition at line 2026 of file xmlstorage.h.
References _cur, _end, and _filter_name.
Referenced by const_iterator(), and operator++().
{ while(_cur!=_end && **_cur!=_filter_name) ++_cur; }
Definition at line 2022 of file xmlstorage.h.
Referenced by operator BaseIterator(), operator!=(), operator*(), operator++(), operator->(), operator==(), and search_next().
Definition at line 2023 of file xmlstorage.h.
Referenced by search_next().
Definition at line 2024 of file xmlstorage.h.
Referenced by search_next().
ROS Explorer Source Code Documentation
generated on 02.01.2013 by |