GClasses
|
This class iterates over the items in a list node.
#include <GDom.h>
Public Member Functions | |
GDomListIterator (const GDomNode *pNode) | |
~GDomListIterator () | |
void | advance () |
Advances to the next item in the list. More... | |
GDomNode * | current () |
Returns the current item in the list. More... | |
size_t | remaining () |
Returns the number of items remaining to be visited. When the current item in the list is the first item, the number remaining is the number of items in the list. More... | |
Protected Attributes | |
GDomListItem * | m_pCurrent |
const GDomNode * | m_pList |
size_t | m_remaining |
GClasses::GDomListIterator::GDomListIterator | ( | const GDomNode * | pNode | ) |
GClasses::GDomListIterator::~GDomListIterator | ( | ) |
void GClasses::GDomListIterator::advance | ( | ) |
Advances to the next item in the list.
GDomNode* GClasses::GDomListIterator::current | ( | ) |
Returns the current item in the list.
size_t GClasses::GDomListIterator::remaining | ( | ) |
Returns the number of items remaining to be visited. When the current item in the list is the first item, the number remaining is the number of items in the list.
|
protected |
|
protected |
|
protected |