Method or Function Runner. More...
#include <rprginstmethod.h>
Inheritance diagram for RPrgInstMethod:
Collaboration diagram for RPrgInstMethod:
Public Member Functions | |
void | AddParam (RPrgVar *var) |
RPrgInstMethod (RInterpreter *prg, const RString &method, RContainer< RPrgVar, false, false > ¶ms) | |
RPrgInstMethod (RInterpreter *prg, const RString &name, const RString &method, RContainer< RPrgVar, false, false > ¶ms) | |
virtual void | Run (RInterpreter *prg, RPrgOutput *o) |
virtual | ~RPrgInstMethod (void) |
Public Member Functions inherited from RPrgInst | |
int | Compare (const RPrgInst &t) const |
int | Compare (const RString &t) const |
size_t | GetLine (void) const |
RPrgInst (size_t line) | |
virtual | ~RPrgInst (void) |
Protected Attributes | |
RString | Inst |
RString | Method |
RContainer< RPrgVar, true, false > | Params |
Detailed Description
Method or Function Runner.
The RPrgInstMethod provides a class to call a method or a function.
Constructor & Destructor Documentation
RPrgInstMethod | ( | RInterpreter * | prg, |
const RString & | method, | ||
RContainer< RPrgVar, false, false > & | params | ||
) |
Constructor of a class method.
- Parameters
-
prg Program. method Name of the method. params Parameters.
RPrgInstMethod | ( | RInterpreter * | prg, |
const RString & | name, | ||
const RString & | method, | ||
RContainer< RPrgVar, false, false > & | params | ||
) |
Constructor of a class method.
- Parameters
-
prg Program. name Name of the instance. method Name of the method. params Parameters.
|
virtual |
Destruct the class method.
Member Function Documentation
void AddParam | ( | RPrgVar * | var | ) |
Add a parameter to the method.
- Parameters
-
var Parameter to add.
|
virtual |
Member Data Documentation
|
protected |
Name of the instance.
|
protected |
Name of the method.
|
protected |
Parameters of the method.