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 <inherits> 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. More...


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 <inherits> 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 <inherits> 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 at Mon Nov 5 19:22:25 2001 for Simkin by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000