Lua-API++
2015-02-12-3
Lua-API++ library
|
Key for registry-stored values. More...
Public Member Functions | |
RegistryKey () noexcept=default | |
Default RegistryKey is empty. | |
RegistryKey & | operator= (const RegistryKey &)=delete |
RegistryKey cannot be overwritten by another. | |
void | kill () noexcept |
Destroy the reference (becomes non-ref). | |
operator bool () const noexcept | |
Check if the value is not empty. More... | |
int | get () const noexcept |
Get underlying key value. | |
bool | operator== (const RegistryKey &rhs) const noexcept |
Check for equality of keys. | |
bool | operator!= (const RegistryKey &rhs) const noexcept |
Check for inequality of keys. | |
Static Public Attributes | |
static constexpr int | noref = -2 |
Empty key value (LUA_NOREF). | |
Key for registry-stored values.
|
inlinenoexcept |
Check if the value is not empty.
Only valid non-empty keys can be used with registry.