Colobot
Public Member Functions | Friends | List of all members
CBot::CBotCallMethode Class Reference

The CBotCallMethode class Class managing the methods declared by AddFunction on a class. More...

#include <CBotCallMethode.h>

Inheritance diagram for CBot::CBotCallMethode:
Inheritance graph
[legend]

Public Member Functions

 CBotCallMethode (const std::string &name, bool rExec(CBotVar *pThis, CBotVar *pVar, CBotVar *pResult, int &Exception, void *user), CBotTypResult rCompile(CBotVar *pThis, CBotVar *&pVar))
 CBotCallMethode. More...
 
 ~CBotCallMethode ()
 ~CBotCallMethode More...
 
CBotTypResult CompileCall (const std::string &name, CBotVar *pThis, CBotVar **ppVars, CBotCStack *pStack)
 CompileCall Is acceptable by a call procedure name and given parameters. More...
 
int DoCall (const std::string &name, CBotVar *pThis, CBotVar **ppVars, CBotVar *&pResult, CBotStack *pStack, CBotToken *pFunc)
 DoCall. More...
 
- Public Member Functions inherited from CBot::CBotLinkedList< CBotCallMethode >
virtual ~CBotLinkedList ()
 Destructor. Be careful, destroys the whole linked list! More...
 
CBotCallMethodeGetNext ()
 Returns the next variable in the linked list. More...
 
void AddNext (CBotCallMethode *elem)
 Appends a new element at the end of the linked list. More...
 

Friends

class CBotClass
 

Additional Inherited Members

- Protected Attributes inherited from CBot::CBotLinkedList< CBotCallMethode >
CBotCallMethodem_next
 

Detailed Description

The CBotCallMethode class Class managing the methods declared by AddFunction on a class.

Constructor & Destructor Documentation

CBot::CBotCallMethode::CBotCallMethode ( const std::string &  name,
bool   rExecCBotVar *pThis, CBotVar *pVar, CBotVar *pResult, int &Exception, void *user,
CBotTypResult   rCompileCBotVar *pThis, CBotVar *&pVar 
)

CBotCallMethode.

Parameters
name
rExec
rCompile
CBot::CBotCallMethode::~CBotCallMethode ( )

~CBotCallMethode

Member Function Documentation

CBotTypResult CBot::CBotCallMethode::CompileCall ( const std::string &  name,
CBotVar pThis,
CBotVar **  ppVars,
CBotCStack pStack 
)

CompileCall Is acceptable by a call procedure name and given parameters.

Parameters
name
pThis
ppVars
pStack
Returns
int CBot::CBotCallMethode::DoCall ( const std::string &  name,
CBotVar pThis,
CBotVar **  ppVars,
CBotVar *&  pResult,
CBotStack pStack,
CBotToken pFunc 
)

DoCall.

Parameters
name
pThis
ppVars
pResult
pStack
pFunc
Returns

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