Classes | Public Member Functions | Protected Attributes

XMLStorage::const_XMLChildrenFilter Struct Reference

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

#include <xmlstorage.h>

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

List of all members.

Classes

struct  const_iterator
 internal iterator class More...

Public Member Functions

 const_XMLChildrenFilter (const XMLNode::Children &children, const XS_String &name)
 const_XMLChildrenFilter (const XMLNode *node, const XS_String &name)
const_iterator begin ()
const_iterator end ()

Protected Attributes

const_iterator _begin
const_iterator _end

Detailed Description

read only iterator access to children nodes with name filtering

Definition at line 1950 of file xmlstorage.h.


Constructor & Destructor Documentation

XMLStorage::const_XMLChildrenFilter::const_XMLChildrenFilter ( const XMLNode::Children children,
const XS_String name 
) [inline]

Definition at line 1952 of file xmlstorage.h.

     :  _begin(children.begin(), children.end(), name),
        _end(children.end(), children.end(), name)
    {
    }
XMLStorage::const_XMLChildrenFilter::const_XMLChildrenFilter ( const XMLNode node,
const XS_String name 
) [inline]

Definition at line 1958 of file xmlstorage.h.

     :  _begin(node->get_children().begin(), node->get_children().end(), name),
        _end(node->get_children().end(), node->get_children().end(), name)
    {
    }

Member Function Documentation

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

Definition at line 2033 of file xmlstorage.h.

References _begin.

    {
        return _begin;
    }
const_iterator XMLStorage::const_XMLChildrenFilter::end (  ) [inline]

Definition at line 2038 of file xmlstorage.h.

References _end.

    {
        return _end;
    }

Member Data Documentation

Definition at line 2044 of file xmlstorage.h.

Referenced by begin().

Definition at line 2045 of file xmlstorage.h.

Referenced by end().


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