#include <Pt/Lua/Call.h>
Reflected method invocation from Lua.
Inherits Call.
Public Member Functions | |
| MethodCall (Pt::Reflex::MethodInfo *mi, void *self, std::vector< Pt::Reflex::Argument > args) | |
| Creates a call of mi on self with args. | |
| Pt::Any | call () override |
| Performs the invocation and returns the result. | |
| Pt::Reflex::Type * | rtype () const override |
| Returns the Reflex result type, or a null pointer. | |
| bool | hasError () const |
| Returns true when the invocation stored an error. | |
| const std::string & | errorMessage () const |
| Returns the stored error text. | |
Protected Member Functions | |
| void | setError (const std::string &msg) |
| Stores msg as the error of this call. | |