libcsdbg  1.28
C++ exception (and generic) stack trace debug library
object.cpp
Go to the documentation of this file.
1 #include "../include/util.hpp"
2 
9 namespace csdbg {
10 
22 {
23 }
24 
25 
33 inline const i8* object::class_name() const
34 {
35  return util::type_name(typeid(*this));
36 }
37 
38 }
39 
char i8
8-bit signed integer
Definition: config.hpp:72
static const i8 * type_name(const std::type_info &)
Get the demangled name of a type.
Definition: util.cpp:276
virtual ~object()=0
To be implemented.
Definition: object.cpp:21
virtual const i8 * class_name() const
Query the class name of an object descending from csdbg::object.
Definition: object.cpp:33