Classes | Public Member Functions | Protected Attributes

XMLStorage::XMLStreamChildrenFilter Struct Reference

read only iterator access to children nodes to XMLStreamReader nodes with name filtering More...

#include <xmlstorage.h>

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

List of all members.

Classes

struct  const_iterator
 internal iterator class More...

Public Member Functions

 XMLStreamChildrenFilter (XMLStreamReader &reader, const XS_String &name)
const_iterator begin ()
const_iterator end ()
bool empty () const

Protected Attributes

const_iterator _begin
const_iterator _end

Detailed Description

read only iterator access to children nodes to XMLStreamReader nodes with name filtering

Definition at line 3400 of file xmlstorage.h.


Constructor & Destructor Documentation

XMLStorage::XMLStreamChildrenFilter::XMLStreamChildrenFilter ( XMLStreamReader reader,
const XS_String name 
) [inline]

Definition at line 3402 of file xmlstorage.h.

     :  _begin(reader, name, false),
        _end(reader, name, true)
    {
    }

Member Function Documentation

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

Definition at line 3488 of file xmlstorage.h.

References _begin.

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

Definition at line 3498 of file xmlstorage.h.

References _begin, and _end.

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

Definition at line 3493 of file xmlstorage.h.

References _end.

    {
        return _end;
    }

Member Data Documentation

Definition at line 3504 of file xmlstorage.h.

Referenced by begin(), and empty().

Definition at line 3505 of file xmlstorage.h.

Referenced by empty(), and end().


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