/home/maestro/svr/kateos/libsmarttools/src/stscript.h File Reference

#include "stfile.h"
#include "smarttools.h"
#include "ststringlist.h"
#include "stapplication.h"

Classes

class  StScript

Variables

const int ER_STSCRIPT_TEMP_FILE = 1
 This class allows keeping scripts in memory for execution later.

Variable Documentation

const int ER_STSCRIPT_TEMP_FILE = 1

This class allows keeping scripts in memory for execution later.

This is very useful if you want write your own script and execute it at once. You can also load existing scripts from a file, edit, and then execute it or save it.

Warning:
You must be beware to call setTempDirectory() before using execute() function, becouse script must be saved as file before execution. If you forget that, copy of script will be saved in /tmp and removed later. Saving directly in /tmp directory is hightly discouraged.
You should not use this class to just execute existing scripts because it makes a copy of the script. To do this use the StScriptFile class.


Generated on Tue Nov 14 21:15:09 2006 for Smart Tools Library by  doxygen 1.4.7