Yate
Public Member Functions
ExpFunction Class Reference

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

#include <yatescript.h>

Inheritance diagram for ExpFunction:
ExpOperation NamedString String GenObject

List of all members.

Public Member Functions

 ExpFunction (const char *name, long int argc=0)
virtual ExpOperationclone (const char *name) const

Detailed Description

Helper class to declare a native function.

Small helper class that simplifies declaring native functions


Constructor & Destructor Documentation

ExpFunction ( const char *  name,
long int  argc = 0 
) [inline]

Constructor

Parameters:
nameName of the function
argcNumber of arguments expected by function

Member Function Documentation

virtual ExpOperation* clone ( const char *  name) const [virtual]

Clone and rename method

Parameters:
nameName of the cloned operation
Returns:
New operation instance

Reimplemented from ExpOperation.


The documentation for this class was generated from the following file: