ReactOS  0.4.12-dev-102-g4b7f1e0
XMLStorage::const_XMLChildrenFilter::const_iterator Struct Reference

internal iterator class More...

#include <xmlstorage.h>

Collaboration diagram for XMLStorage::const_XMLChildrenFilter::const_iterator:

Public Types

typedef XMLNode::Children::const_iterator BaseIterator
 
typedef const_iterator myType
 

Public Member Functions

 const_iterator (BaseIterator begin, BaseIterator end, const XS_String &filter_name)
 
 operator BaseIterator ()
 
const XMLNodeoperator* () const
 
myTypeoperator++ ()
 
myType operator++ (int)
 
bool operator== (const myType &other) const
 
bool operator!= (const myType &other) const
 

Protected Member Functions

void search_next ()
 

Protected Attributes

BaseIterator _cur
 
BaseIterator _end
 
XS_String _filter_name
 

Detailed Description

internal iterator class

Definition at line 1413 of file xmlstorage.h.

Member Typedef Documentation

◆ BaseIterator

typedef XMLNode::Children::const_iterator XMLStorage::const_XMLChildrenFilter::const_iterator::BaseIterator

Definition at line 1415 of file xmlstorage.h.

◆ myType

Constructor & Destructor Documentation

◆ const_iterator()

XMLStorage::const_XMLChildrenFilter::const_iterator::const_iterator ( BaseIterator  begin,
BaseIterator  end,
const XS_String filter_name 
)
inline

Definition at line 1418 of file xmlstorage.h.

Member Function Documentation

◆ operator BaseIterator()

◆ operator!=()

bool XMLStorage::const_XMLChildrenFilter::const_iterator::operator!= ( const myType other) const
inline

Definition at line 1459 of file xmlstorage.h.

1460  {
1461  return _cur != other._cur;
1462  }
int other
Definition: msacm.c:1364

◆ operator*()

Definition at line 1431 of file xmlstorage.h.

1432  {
1433  return *_cur;
1434  }

◆ operator++() [1/2]

Definition at line 1436 of file xmlstorage.h.

1437  {
1438  ++_cur;
1439  search_next();
1440 
1441  return *this;
1442  }

◆ operator++() [2/2]

Definition at line 1444 of file xmlstorage.h.

1445  {
1446  myType ret = *this;
1447 
1448  ++_cur;
1449  search_next();
1450 
1451  return ret;
1452  }
int ret

◆ operator==()

Definition at line 1454 of file xmlstorage.h.

1455  {
1456  return _cur == other._cur;
1457  }
int other
Definition: msacm.c:1364

◆ search_next()

void XMLStorage::const_XMLChildrenFilter::const_iterator::search_next ( )
inlineprotected

Member Data Documentation

◆ _cur

BaseIterator XMLStorage::const_XMLChildrenFilter::const_iterator::_cur
protected

Definition at line 1465 of file xmlstorage.h.

Referenced by operator!=(), and operator==().

◆ _end

BaseIterator XMLStorage::const_XMLChildrenFilter::const_iterator::_end
protected

Definition at line 1466 of file xmlstorage.h.

◆ _filter_name

XS_String XMLStorage::const_XMLChildrenFilter::const_iterator::_filter_name
protected

Definition at line 1467 of file xmlstorage.h.


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