Public Types | Public Member Functions | Protected Attributes

XMLStorage::XMLPropertyReader::const_iterator Struct Reference

internal iterator class More...

#include <xmlstorage.h>

Collaboration diagram for XMLStorage::XMLPropertyReader::const_iterator:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
const_XMLChildrenFilter::const_iterator 
BaseIterator
typedef const_iterator myType

Public Member Functions

 const_iterator (BaseIterator begin, BaseIterator end)
 operator BaseIterator ()
XMLProperty operator* () const
const XMLNodeget_node () const
myTypeoperator++ ()
myType operator++ (int)
bool operator== (const myType &other) const
bool operator!= (const myType &other) const

Protected Attributes

BaseIterator _cur
BaseIterator _end

Detailed Description

internal iterator class

Definition at line 3925 of file xmlstorage.h.


Member Typedef Documentation

Definition at line 3927 of file xmlstorage.h.

Definition at line 3928 of file xmlstorage.h.


Constructor & Destructor Documentation

XMLStorage::XMLPropertyReader::const_iterator::const_iterator ( BaseIterator  begin,
BaseIterator  end 
) [inline]

Definition at line 3930 of file xmlstorage.h.

         :  _cur(begin),
            _end(end)
        {
        }

Member Function Documentation

const XMLNode* XMLStorage::XMLPropertyReader::const_iterator::get_node (  ) const [inline]

Definition at line 3946 of file xmlstorage.h.

References _cur.

        {
            return *_cur;
        }
XMLStorage::XMLPropertyReader::const_iterator::operator BaseIterator (  ) [inline]

Definition at line 3936 of file xmlstorage.h.

References _cur.

        {
            return _cur;
        }
bool XMLStorage::XMLPropertyReader::const_iterator::operator!= ( const myType other ) const [inline]

Definition at line 3972 of file xmlstorage.h.

References _cur.

        {
            return _cur != other._cur;
        }
XMLProperty XMLStorage::XMLPropertyReader::const_iterator::operator* (  ) const [inline]

Definition at line 3941 of file xmlstorage.h.

References _cur.

        {
            return XMLProperty(*_cur);
        }
myType& XMLStorage::XMLPropertyReader::const_iterator::operator++ (  ) [inline]

Definition at line 3951 of file xmlstorage.h.

References _cur.

        {
            ++_cur;

            return *this;
        }
myType XMLStorage::XMLPropertyReader::const_iterator::operator++ ( int   ) [inline]

Definition at line 3958 of file xmlstorage.h.

References _cur.

        {
            myType ret = *this;

            ++_cur;

            return ret;
        }
bool XMLStorage::XMLPropertyReader::const_iterator::operator== ( const myType other ) const [inline]

Definition at line 3967 of file xmlstorage.h.

References _cur.

        {
            return _cur == other._cur;
        }

Member Data Documentation

Definition at line 3979 of file xmlstorage.h.


The documentation for this struct was generated from the following file:

ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage