Go to the documentation of this file.
32 #if !defined(LUTOK_DEBUG_HPP)
33 #define LUTOK_DEBUG_HPP
36 #if defined(_LIBCPP_VERSION) || __cplusplus >= 201103L
62 #if defined(_LIBCPP_VERSION) || __cplusplus >= 201103L
63 std::shared_ptr< impl >
_pimpl;
75 int event(
void)
const;
76 std::string
name(
void)
const;
78 std::string
what(
void)
const;
79 std::string
source(
void)
const;
81 int n_ups(
void)
const;
90 #endif // !defined(LUTOK_DEBUG_HPP)
std::string name(void) const
Accessor for the 'name' field of lua_Debug.
Definition: debug.cpp:103
int line_defined(void) const
Accessor for the 'linedefined' field of lua_Debug.
Definition: debug.cpp:167
std::tr1::shared_ptr< impl > _pimpl
Pointer to the shared internal implementation.
Definition: debug.hpp:59
std::string short_src(void) const
Accessor for the 'short_src' field of lua_Debug.
Definition: debug.cpp:188
std::string source(void) const
Accessor for the 'source' field of lua_Debug.
Definition: debug.cpp:136
void get_info(state &, const std::string &)
Wrapper around lua_getinfo.
Definition: debug.cpp:67
Internal implementation for lutok::debug.
Definition: debug.cpp:40
int n_ups(void) const
Accessor for the 'nups' field of lua_Debug.
Definition: debug.cpp:157
debug(void)
Constructor for an empty debug structure.
Definition: debug.cpp:47
std::string name_what(void) const
Accessor for the 'namewhat' field of lua_Debug.
Definition: debug.cpp:114
int event(void) const
Accessor for the 'event' field of lua_Debug.
Definition: debug.cpp:93
int current_line(void) const
Accessor for the 'currentline' field of lua_Debug.
Definition: debug.cpp:147
A RAII model for the Lua state.
Definition: state.hpp:76
void get_stack(state &, const int)
Wrapper around lua_getstack.
Definition: debug.cpp:81
A model for the Lua debug state.
Definition: debug.hpp:58
std::string what(void) const
Accessor for the 'what' field of lua_Debug.
Definition: debug.cpp:125
~debug(void)
Destructor.
Definition: debug.cpp:54
int last_line_defined(void) const
Accessor for the 'lastlinedefined' field of lua_Debug.
Definition: debug.cpp:178