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

skXMLExecutable Class Reference

This class is a base class for objects which store their data and methods in an XML document Each instance is associated with an XML document which is loaded on construction. More...

#include <skXMLExecutable.h>

Inheritance diagram for skXMLExecutable:

skXMLElementObject skExecutable skiExecutable List of all members.

Public Member Functions

 skXMLExecutable ()
 Default Constructor.

 skXMLExecutable (const skString &fileName)
 Constructor - passed the name of a file to load an XML document from.

 skXMLExecutable (const skString &scriptLocation, InputSource &in)
 Constructor taking an input stream containing an XML document.

 skXMLExecutable (const skString &scriptLocation, const skString &in)
 Constructor taking a String containing an XML document.

void load (const skString &scriptLocation, InputSource &in)
 This method causes the XML to be reloaded.

void load (const skString &scriptLocation, const skString &in)
 This method causes the XML to be reloaded.

void load (const skString &fileName)
 This method causes the XML to be loaded from a file.

void save (const skString &fileName)
 This method saves the current state as an XML document out to the given file.


Detailed Description

This class is a base class for objects which store their data and methods in an XML document Each instance is associated with an XML document which is loaded on construction.


Constructor & Destructor Documentation

skXMLExecutable::skXMLExecutable const skString scriptLocation,
InputSource &  in
 

Constructor taking an input stream containing an XML document.

Parameters:
scriptLocation - the name of the XML document
in - stream containing the XML

skXMLExecutable::skXMLExecutable const skString scriptLocation,
const skString in
 

Constructor taking a String containing an XML document.

Parameters:
scriptLocation - the name of the XML document
in - string containing the XML


Member Function Documentation

void skXMLExecutable::load const skString scriptLocation,
const skString in
 

This method causes the XML to be reloaded.

Parameters:
in - string containing the XML

void skXMLExecutable::load const skString scriptLocation,
InputSource &  in
 

This method causes the XML to be reloaded.

Parameters:
scriptLocation - the name of the XML document
in - stream containing the XML


The documentation for this class was generated from the following files:
Generated on Fri Dec 17 20:27:36 2004 for Simkin by doxygen1.3