ExpExtender Class Reference

ExpEvaluator extending interface. More...

#include <yateclass.h>

Inheritance diagram for ExpExtender:

RefObject GenObject

List of all members.

Public Member Functions

virtual bool runFunction (ExpEvaluator *eval, ObjList &stack, const ExpOperation &oper)
virtual bool runField (ExpEvaluator *eval, ObjList &stack, const ExpOperation &oper)


Detailed Description

ExpEvaluator extending interface.

This class allows extending ExpEvaluator to implement custom fields and functions


Member Function Documentation

virtual bool runFunction ( ExpEvaluator eval,
ObjList stack,
const ExpOperation oper 
) [virtual]

Try to evaluate a single function

Parameters:
eval Pointer to the caller evaluator object
stack Evaluation stack in use, parameters are popped off this stack and results are pushed back on stack
oper Function to evaluate
Returns:
True if evaluation succeeded

virtual bool runField ( ExpEvaluator eval,
ObjList stack,
const ExpOperation oper 
) [virtual]

Try to evaluate a single field

Parameters:
eval Pointer to the caller evaluator object
stack Evaluation stack in use, field value must be pushed on it
oper Field to evaluate
Returns:
True if evaluation succeeded


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

Generated on Sat May 28 18:28:23 2011 for Yate by  doxygen 1.5.6