kspread
KSpread::Function Class Reference
List of all members.Detailed Description
Definition at line 50 of file functions.h.
Public Member Functions | |
Function (const QString &name, FunctionPtr ptr) | |
~Function () | |
void | setParamCount (int min, int max=0) |
bool | paramCountOkay (int count) |
void | setAcceptArray (bool accept=true) |
bool | needsExtra () |
void | setNeedsExtra (bool extra) |
QString | name () const |
QString | localizedName () const |
QString | helpText () const |
void | setHelpText (const QString &text) |
Value | exec (valVector args, ValueCalc *calc, FuncExtra *extra=0) |
Member Function Documentation
|
is it okay for the function to receive this many parameters ?
Definition at line 89 of file functions.cc. |
|
when set to true, the function can receive arrays. When set to false, the auto-array mechamism will be used for arrays (so the fuction will receive simple values, not arrays). Definition at line 101 of file functions.cc. |
|
setParamCount sets allowed parameter count for a function. if max=0, it means max=min. If max=-1, there is no upper limit. Definition at line 83 of file functions.cc. |
The documentation for this class was generated from the following files: