PropertyGetCall Class Reference

#include <Pt/Lua/Call.h>

Reflected property read from Lua.

Inherits Call.

Public Member Functions

 PropertyGetCall (Pt::Reflex::PropertyInfo *pi, void *self)
 Creates a read of pi on self.
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.