|
|
| iScript (const tString &asName) |
| |
| bool | reload () |
| |
| void | unload () |
| |
| void | destroy () |
| |
|
virtual bool | CreateFromFile (const tString &asFile)=0 |
| |
|
virtual int | GetFuncHandle (const tString &asFunc)=0 |
| |
|
virtual void | AddArg (const tString &asArg)=0 |
| |
| virtual bool | Run (const tString &asFuncLine)=0 |
| |
|
virtual bool | Run (int alHandle)=0 |
| |
|
| iResourceBase (tString asName, unsigned long alPrio) |
| |
|
tString | GetName () |
| |
|
unsigned long | GetHandle () |
| |
|
void | SetHandle (unsigned long alHandle) |
| |
|
tString | GetFilePath () |
| |
|
unsigned long | GetTime () |
| |
|
unsigned long | GetPrio () |
| |
|
unsigned long | GetSize () |
| |
|
void | SetLogDestruction (bool abX) |
| |
|
unsigned int | GetUserCount () |
| |
|
void | IncUserCount () |
| |
|
void | DecUserCount () |
| |
|
bool | HasUsers () |
| |
|
|
static bool | GetLogCreateAndDelete () |
| |
|
static void | SetLogCreateAndDelete (bool abX) |
| |
|
unsigned int | mlPrio |
| |
|
unsigned long | mlTime |
| |
|
unsigned long | mlSize |
| |
|
unsigned int | mlUserCount |
| |
|
unsigned long | mlHandle |
| |
|
tString | msName |
| |
|
tString | msFilePath |
| |
|
bool | mbLogDestruction |
| |
|
static bool | mbLogCreateAndDelete |
| |
◆ reload()
| bool hpl::iScript::reload |
( |
| ) |
|
|
inlinevirtual |
virtual bool Reload()=0;
- Returns
- true is reload was successful, else false.
Implements hpl::iResourceBase.
◆ unload()
| void hpl::iScript::unload |
( |
| ) |
|
|
inlinevirtual |
◆ destroy()
| void hpl::iScript::destroy |
( |
| ) |
|
|
inlinevirtual |
◆ Run()
| virtual bool hpl::iScript::Run |
( |
const tString & |
asFuncLine | ) |
|
|
pure virtual |
Runs a func in the script, for example "test(15)"
- Parameters
-
| asFuncLine | the line of code |
- Returns
- true if everything was ok, else false
Implemented in hpl::cSqScript.
The documentation for this class was generated from the following file: