Classes | Public Member Functions | Protected Attributes

XMLStorage::XMLPropertyReader Struct Reference

utility class to read property settings from a XML tree More...

#include <xmlstorage.h>

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

List of all members.

Classes

struct  const_iterator
 internal iterator class More...

Public Member Functions

 XMLPropertyReader (const XMLNode::Children &children)
 XMLPropertyReader (const XMLNode *node)
const_iterator begin ()
const_iterator end ()
bool empty () const

Protected Attributes

const_XMLChildrenFilter _filter
const_iterator _begin
const_iterator _end

Detailed Description

utility class to read property settings from a XML tree

Definition at line 4003 of file xmlstorage.h.


Constructor & Destructor Documentation

XMLStorage::XMLPropertyReader::XMLPropertyReader ( const XMLNode::Children children ) [inline]

Definition at line 4005 of file xmlstorage.h.

     :  _filter(children, XS_PROPERTY),
        _begin(_filter.begin(), _filter.end()),
        _end(_filter.end(), _filter.end())
    {
    }
XMLStorage::XMLPropertyReader::XMLPropertyReader ( const XMLNode node ) [inline]

Definition at line 4012 of file xmlstorage.h.

     :  _filter(node, XS_PROPERTY),
        _begin(_filter.begin(), _filter.end()),
        _end(_filter.end(), _filter.end())
    {
    }

Member Function Documentation

const_iterator XMLStorage::XMLPropertyReader::begin (  ) [inline]

Definition at line 4077 of file xmlstorage.h.

References _begin.

    {
        return _begin;
    }
bool XMLStorage::XMLPropertyReader::empty (  ) const [inline]

Definition at line 4087 of file xmlstorage.h.

References _begin, and _end.

    {
        return _end == _begin;
    }
const_iterator XMLStorage::XMLPropertyReader::end (  ) [inline]

Definition at line 4082 of file xmlstorage.h.

References _end.

    {
        return _end;
    }

Member Data Documentation

Definition at line 4095 of file xmlstorage.h.

Referenced by begin(), and empty().

Definition at line 4096 of file xmlstorage.h.

Referenced by empty(), and end().

Definition at line 4093 of file xmlstorage.h.


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