mrdocs::lua::Param

A lazy container to push values to the Lua stack.

Synopsis

Declared in <mrdocs/Engines/Lua/Param.hpp>

class Param;

Member Functions

NameDescription
Param [constructor]Constructors
~Param [destructor]Destroy the stored value without throwing.
operator= [deleted]Deleted copy assignment to avoid double pops.

Data Members

NameDescription
arr_ [variant member]Stored array when kind_ == domArray.
b_ [variant member]Stored boolean value when kind_ == boolean.
i_ [variant member]Stored integer value when kind_ == integer.
index_ [variant member]Stack index when kind_ == value.
obj_ [variant member]Stored object when kind_ == domObject.
s_ [variant member]Stored string view when kind_ == string.

Friends

NameDescription
mrdocs::lua::AccessInternal tag granting access to lua internals.