Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

skXMLElementObjectEnumerator Class Reference

This class enumerates the element children of an skXMLElementObject. More...

#include <skXMLElementObjectEnumerator.h>

Inheritance diagram for skXMLElementObjectEnumerator::

skExecutable skExecutableIterator skiExecutable List of all members.

Public Methods

 skXMLElementObjectEnumerator (DOM_Element element, bool add_if_not_present, const skString &location)
 Construct an enumerator for the given XML element. More...

 skXMLElementObjectEnumerator (DOM_Element element, bool add_if_not_present, const skString &location, const skString &tag)
 This contructs an skXMLElementObject enumerator over children with a particular tag name. More...

bool method (const skString &s, skRValueArray &args, skRValue &r)
 This method exposes the following methods to Simkin scripts: returns the next element in the enumeration - or null if there are no more.

bool next (skRValue &)
 This method implements the method in skExecutableIterator.


Detailed Description

This class enumerates the element children of an skXMLElementObject.


Constructor & Destructor Documentation

skXMLElementObjectEnumerator::skXMLElementObjectEnumerator DOM_Element    element,
bool    add_if_not_present,
const skString   location
 

Construct an enumerator for the given XML element.

Parameters:
element  - the element to enumerate the children of
add_if_not_present  - value of the flag to be passed when skXMLElementObject's are created
location  - the owning XML element name

skXMLElementObjectEnumerator::skXMLElementObjectEnumerator DOM_Element    element,
bool    add_if_not_present,
const skString   location,
const skString   tag
 

This contructs an skXMLElementObject enumerator over children with a particular tag name.

Parameters:
element  - the element to enumerate the children of
add_if_not_present  - value of the flag to be passed when skXMLElementObject's are created
location  - the owning XML element name
tag  - the tag name to look for


The documentation for this class was generated from the following files:
Generated on Tue Nov 20 17:56:23 2001 for Simkin by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001