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

InheritsElement Class Reference

this class extends the skXMLElementObject class with understanding of the tag. More...

#include <InheritsElement.h>

Inheritance diagram for InheritsElement:

skXMLElementObject skExecutable skiExecutable InheritsExecutable List of all members.

Public Methods

 InheritsElement ()
 Default constructor - does nothing.

 InheritsElement (const skString &location, DOM_Element elem)
 passes parameters up to parent, and then calls replaceInherits to look for inherits tags


Protected Methods

virtual void setElement (DOM_Element elem)
 This method overrides the parent method and ensures that replaceInherits is called on the element associated with this object.

virtual skXMLElementObjectcreateXMLElementObject (const skString &location, DOM_Element element)
 This method overrides the parent method, it makes sure that if an object is created to associated with a sub-element, an InheritsElement type is used.


Static Protected Methods

void replaceInherits (DOM_Element elem)
 This method walks through the given element, replacing any instances of with the contents of the XML file given as the value of the inherits tag.


Detailed Description

this class extends the skXMLElementObject class with understanding of the tag.

It overrides the createXMLElementObject method to make sure that any sub-elements are also checked.


Constructor & Destructor Documentation

InheritsElement::InheritsElement const skString   location,
DOM_Element    elem
 

passes parameters up to parent, and then calls replaceInherits to look for inherits tags

Parameters:
location location of the script
elem the element associated with this object


The documentation for this class was generated from the following files:
Generated on Thu Jan 23 15:25:39 2003 for Simkin by doxygen1.3-rc1