|
welder 0.1.0
Bindings for annotated C++ types, from C++26 reflection
|
The enum handle threaded from make_enum to add_enumerator: the enclosing module, the enum's Lua name (a nested namespace of values) and whether it is scoped (an unscoped enum also mirrors its names onto the module). More...
#include <welder/rods/lua/luabridge/rod.hpp>
Public Attributes | |
| module_scope | mod |
| std::string | name |
| bool | scoped |
| std::string | outer_key {} |
The enum handle threaded from make_enum to add_enumerator: the enclosing module, the enum's Lua name (a nested namespace of values) and whether it is scoped (an unscoped enum also mirrors its names onto the module).
For a class-nested enum, outer_key names the enclosing class's table on the module (make_nested_enum places the value table inside it), and the unscoped mirror lands there instead of on the module. Empty for the ordinary module-scope enum.
| module_scope welder::rods::luabridge::rod::enum_handle::mod |
Definition at line 180 of file rod.hpp.
Referenced by welder::rods::luabridge::rod::add_enumerator().
| std::string welder::rods::luabridge::rod::enum_handle::name |
Definition at line 181 of file rod.hpp.
Referenced by welder::rods::luabridge::rod::add_enumerator().
| std::string welder::rods::luabridge::rod::enum_handle::outer_key {} |
Definition at line 183 of file rod.hpp.
Referenced by welder::rods::luabridge::rod::add_enumerator().
| bool welder::rods::luabridge::rod::enum_handle::scoped |
Definition at line 182 of file rod.hpp.
Referenced by welder::rods::luabridge::rod::add_enumerator().