class ExpFunction

Helper class to declare a native function. More...

Full nameTelEngine::ExpFunction
Definition#include <libs/yscript/yatescript.h>
InheritsTelEngine::ExpOperation [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

Small helper class that simplifies declaring native functions

inline  ExpFunction (const char* name, long int argc = 0, bool barrier = false)

ExpFunction

Constructor

Parameters:
nameName of the function
argcNumber of arguments expected by function
barrierTrue if the function is an expression barrier on the stack

bool  valBoolean ()

valBoolean

[const virtual]

Retrieve the boolean value of the function (not of its result)

Returns: Always true

Reimplemented from ExpOperation.

ExpOperation*  clone (const char* name)

clone

[const virtual]

Clone and rename method

Parameters:
nameName of the cloned operation

Returns: New operation instance

Reimplemented from ExpOperation.


Generated by: paulc on bussard on Sun Oct 20 21:06:06 2013, using kdoc 2.0a54.