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 4020 of file xmlstorage.h.


Member Typedef Documentation

Definition at line 4022 of file xmlstorage.h.

Definition at line 4023 of file xmlstorage.h.


Constructor & Destructor Documentation

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

Definition at line 4025 of file xmlstorage.h.

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

Member Function Documentation

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

Definition at line 4041 of file xmlstorage.h.

References _cur.

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

Definition at line 4031 of file xmlstorage.h.

References _cur.

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

Definition at line 4067 of file xmlstorage.h.

References _cur.

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

Definition at line 4036 of file xmlstorage.h.

References _cur.

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

Definition at line 4046 of file xmlstorage.h.

References _cur.

        {
            ++_cur;

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

Definition at line 4053 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 4062 of file xmlstorage.h.

References _cur.

        {
            return _cur == other._cur;
        }

Member Data Documentation

Definition at line 4074 of file xmlstorage.h.


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