Represent enable debug class.
Public Fields | |
static const enable_debug | none |
Represent none 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 | mouse_events |
Represent mouse events debug. | |
static const enable_debug | layout |
Represent layout debug. | |
static const enable_debug | workaround |
Represent workaround debug. | |
static const enable_debug | style |
Represent style debug. | |
static const enable_debug | all |
Represent all debug. | |
Public Static Properties | |
static xtd::diagnostics::trace_switch & | trace_switch () noexcept |
Gets a trace switch to configure debug traces. | |
Public Static Methods | |
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. | |
Public Methods | |
bool | equals (const xtd::object &obj) const noexcept override |
Determines whether the specified object is equal to the current object. | |
bool | equals (const enable_debug &other) const noexcept override |
Determines whether the specified object is equal to the current object. | |
xtd::size | get_hash_code () const noexcept override |
Serves as a hash function for a particular type. | |
Additional Inherited Members | |
![]() | |
object ()=default | |
Create a new instance of the ultimate base class object. | |
virtual type_object | get_type () const noexcept |
Gets the type of the current instance. | |
template<class object_t > | |
xtd::uptr< object_t > | memberwise_clone () const |
Creates a shallow copy of the current object. | |
virtual xtd::string | to_string () const noexcept |
Returns a xtd::string that represents the current object. | |
![]() | |
virtual bool | equals (const enable_debug &) const noexcept=0 |
Indicates whether the current object is equal to another object of the same type. | |
![]() | |
template<class object_a_t , class object_b_t > | |
static bool | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
Determines whether the specified object instances are considered equal. | |
template<class object_a_t , class object_b_t > | |
static bool | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
Determines whether the specified object instances are the same instance. | |
|
staticnoexcept |
Gets a trace switch to configure debug traces.
|
overridevirtualnoexcept |
Determines whether the specified object is equal to the current object.
obj | The object to compare with the current object. |
true
if the specified object is equal to the current object. otherwise, false
. Reimplemented from xtd::object.
|
overridenoexcept |
Determines whether the specified object is equal to the current object.
other | The object to compare with the current object. |
true
if the specified object is equal to the current object. otherwise, false
.
|
overridevirtualnoexcept |
Serves as a hash function for a particular type.
Reimplemented from xtd::object.
|
static |
Gets enable_debug flags status.
true
if enable_debug flags is on; otherwise false
.
|
static |
Sets enable_debug flags status.
on | true if enable_debug flags is on; otherwise false . |
|
static |
Represent none debug.
|
static |
Represent creation debug.
|
static |
Represent events debug.
|
static |
Represent key events debug.
|
static |
Represent mouse events debug.
|
static |
Represent layout debug.
|
static |
Represent workaround debug.
|
static |
Represent style debug.
|
static |
Represent all debug.