xtd - Reference Guide
0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
|
#include <enable_debug.h>
Represent enable debug class.
Inherits xtd::object.
Static Public Attributes | |
static const enable_debug | all |
Represent all debug. More... | |
static const enable_debug | creation |
Represent creation debug. More... | |
static const enable_debug | events |
Represent events debug. More... | |
static const enable_debug | key_events |
Represent key events debug. More... | |
static const enable_debug | layout |
Represent layout debug. More... | |
static const enable_debug | mouse_events |
Represent mouse events debug. More... | |
static const enable_debug | none |
Represent none debug. More... | |
static const enable_debug | workaround |
Represent workaround debug. More... | |
Static Public Member Functions | |
static bool | get (const enable_debug &flags) |
Gets enable_debug flags status. More... | |
static void | set (const enable_debug &flags, bool on) |
Sets enable_debug flags status. More... | |
static xtd::diagnostics::trace_switch & | trace_switch () |
Gets a trace switch to configure debug traces. More... | |
Static Public Member Functions inherited from xtd::object | |
static bool | equals (const object &object_a, const object &object_b) noexcept |
Determines whether the specified object instances are considered equal. More... | |
static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
Determines whether the specified object instances are the same instance. More... | |
Additional Inherited Members | |
Public Member Functions inherited from xtd::object | |
object ()=default | |
Create a new instance of the ultimate base class object. More... | |
virtual bool | equals (const object &obj) const noexcept |
Determines whether the specified object is equal to the current object. More... | |
virtual size_t | get_hash_code () const noexcept |
Serves as a hash function for a particular type. More... | |
template<typename object_t > | |
std::unique_ptr< object_t > | memberwise_clone () const |
Gets the type of the current instance. More... | |
virtual xtd::ustring | to_string () const noexcept |
Returns a std::string that represents the current object. More... | |
|
inlinestatic |
Gets enable_debug flags status.
|
inlinestatic |
Sets enable_debug flags status.
on | true if enable_debug flags is on; otherwise false. |
|
inlinestatic |
Gets a trace switch to configure debug traces.
|
static |
Represent all debug.
|
static |
Represent creation debug.
|
static |
Represent events debug.
|
static |
Represent key events debug.
|
static |
Represent layout debug.
|
static |
Represent mouse events debug.
|
static |
Represent none debug.
|
static |
Represent workaround debug.