xtd - Reference Guide
0.1.0
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. | |
static const enable_debug | creation |
Represent creation debug. | |
static const enable_debug | events |
Represent events debug. | |
static const enable_debug | key_events |
Represent key events debug. | |
static const enable_debug | layout |
Represent layout debug. | |
static const enable_debug | mouse_events |
Represent mouse events debug. | |
static const enable_debug | none |
Represent none debug. | |
static const enable_debug | workaround |
Represent workaround debug. | |
Static Public Member Functions | |
static bool | get (const enable_debug &flags) |
Gets enable_debug flags status. | |
static void | set (const enable_debug &flags, bool on) |
Sets enable_debug flags status. | |
static xtd::diagnostics::trace_switch & | trace_switch () |
Gets a trace switch to configure debug traces. | |
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. | |
static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
Determines whether the specified object instances are the same instance. | |
Additional Inherited Members | |
Public Member Functions inherited from xtd::object | |
object ()=default | |
Create a new instance of the ultimate base class object. | |
virtual bool | equals (const object &obj) const noexcept |
Determines whether the specified object is equal to the current object. | |
virtual size_t | get_hash_code () const noexcept |
Serves as a hash function for a particular type. | |
template<typename object_t > | |
std::unique_ptr< object_t > | memberwise_clone () const |
Gets the type of the current instance. | |
virtual xtd::ustring | to_string () const noexcept |
Returns a std::string that represents the current object. | |
|
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.