PropertySetCall Class Reference

#include <Pt/Lua/Call.h>

Reflected property write from Lua.

Inherits Call.

Public Member Functions

 PropertySetCall (Pt::Reflex::PropertyInfo *pi, void *self, Pt::Reflex::Argument value)
 Creates a write of value to 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.