Constructors
Declared in <mrdocs/Engines/Lua/Param.hpp>
Deleted copy constructor to avoid double pops.
Param(Param const& other) = delete;
» more...
Construct from a DOM array.
Param(dom::Array arr) noexcept;
» more...
Construct from a DOM object.
Param(dom::Object obj) noexcept;
» more...
Construct an integer parameter.
Param(int64_t value) noexcept;
» more...
Construct a nil parameter.
Param(std::nullptr_t value) noexcept;
» more...
Construct a string parameter (non-owning).
Param(std::string_view s) noexcept;
» more...
Construct from a Lua Value already on the stack.
Param(Value const& value) noexcept;
» more...
Construct from a generic DOM value.
Param(dom::Value const& value) noexcept;
» more...
Construct a string parameter from C-string.
Param(char const* s) noexcept;
» more...
Construct an integral parameter from an enum.
template<class Enum>
requires std::is_enum_v<Enum>
Param(Enum v) noexcept;
» more...
Construct a boolean parameter from a bool-like type.
template<class Boolean>
requires std::is_same_v<Boolean, bool>
Param(Boolean const& b) noexcept;
» more...
Construct a string parameter from a convertible string type.
template<class String>
requires std::is_convertible_v<
String, std::string_view>
Param(String const& s);
» more...