lib

Kross::Api::Function0< INSTANCE > Class Template Reference

#include <function.h>

Inheritance diagram for Kross::Api::Function0< INSTANCE >:

Kross::Api::Function List of all members.

Detailed Description

template<class INSTANCE>
class Kross::Api::Function0< INSTANCE >

This class implements the most abstract way to work with functions.

It implements pointing to functions of the form

where a low-level Object got returned that represents the returnvalue of the function-call, and a List instance is passed that may contain optional Object instances as parameters.

Definition at line 58 of file function.h.


Public Member Functions

 Function0 (INSTANCE *instance, Method method)
Object::Ptr call (List::Ptr args)

Member Function Documentation

template<class INSTANCE>
Object::Ptr Kross::Api::Function0< INSTANCE >::call ( List::Ptr  args  )  [inline, virtual]

Each function needs to implement the call-method which will be executed if the function itself should be executed.

Implements Kross::Api::Function.

Definition at line 67 of file function.h.


The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys