artefaktur
software engineer &        architecture

 
 
 
 

class LispCallBack

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lisp::LispCallBack Class Reference

#include <LispCallBack.h>

Inheritance diagram for acdk::lisp::LispCallBack:

acdk::lang::Object acdk::lisp::Function acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Public Member Functions

 LispCallBack (const char *lispdecl, EvalFunc evalfunc, bool evalargs=true, bool ownsScope=true)
 
  • lispdecl an valid lisp declaration like (defun funcname (arg1 arg2)
  • evalfunc the callback function
  • evalargs if true the arguments will be evaluated before caling function
  • an static char* help string


virtual RString functionName ()
virtual RLispVar eval (IN(RLispEnvironment) env, IN(RLispList) args)
 args[0] == the symbol of function args[1 + n] == the arguments

virtual RString getHelpText ()
virtual RLispList getDefinition ()
virtual RLispList getDeclDefinition ()
bool ownScope ()
void ownScope (bool own)

Private Attributes

EvalFunc _evalfunc
bool _evalargs
bool _ownScope
RLispList _declCode

Constructor & Destructor Documentation

acdk::lisp::LispCallBack::LispCallBack const char *  lispdecl,
EvalFunc  evalfunc,
bool  evalargs = true,
bool  ownsScope = true
 

  • lispdecl an valid lisp declaration like (defun funcname (arg1 arg2)
  • evalfunc the callback function
  • evalargs if true the arguments will be evaluated before caling function
  • an static char* help string


Member Function Documentation

virtual RLispVar acdk::lisp::LispCallBack::eval IN(RLispEnvironment env,
IN(RLispList args
[virtual]
 

args[0] == the symbol of function args[1 + n] == the arguments

Implements acdk::lisp::Function.

virtual RString acdk::lisp::LispCallBack::functionName  )  [inline, virtual]
 

Implements acdk::lisp::Function.

RLispList acdk::lisp::LispCallBack::getDeclDefinition  )  [inline, virtual]
 

Implements acdk::lisp::Function.

RLispList acdk::lisp::LispCallBack::getDefinition  )  [inline, virtual]
 

Implements acdk::lisp::Function.

virtual RString acdk::lisp::LispCallBack::getHelpText  )  [virtual]
 

Implements acdk::lisp::Function.

void acdk::lisp::LispCallBack::ownScope bool  own  )  [inline]
 

bool acdk::lisp::LispCallBack::ownScope  )  [inline]
 


Member Data Documentation

RLispList acdk::lisp::LispCallBack::_declCode [private]
 

bool acdk::lisp::LispCallBack::_evalargs [private]
 

EvalFunc acdk::lisp::LispCallBack::_evalfunc [private]
 

bool acdk::lisp::LispCallBack::_ownScope [private]
 

 
Last modified 2005-05-08 18:32 by SYSTEM By Artefaktur, Ing. Bureau Kommer