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 | |
template<typename object_a_t , typename 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. | |
bool | equals (const enable_debug &value) const noexcept override |
virtual bool | equals (const object &obj) const noexcept |
Determines whether the specified object is equal to the current object. | |
Additional Inherited Members | |
Public Member Functions inherited from xtd::object | |
object ()=default | |
Create a new instance of the ultimate base class object. | |
virtual size_t | get_hash_code () const noexcept |
Serves as a hash function for a particular type. | |
virtual type_object | get_type () const noexcept |
Gets the type of the current instance. | |
template<typename 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. | |
Public Member Functions inherited from xtd::iequatable< enable_debug > | |
virtual bool | equals (const enable_debug &) const noexcept=0 |
Indicates whether the current object is equal to another object of the same type. | |
Static Public Member Functions inherited from xtd::object | |
template<typename object_a_t , typename 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<typename object_a_t , typename 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.
|
static |
Gets enable_debug flags status.
|
static |
Sets enable_debug flags status.
on | true if enable_debug flags is on; otherwise false. |
|
virtualnoexcept |
Determines whether the specified object is equal to the current object.
obj | The object to compare with the current object. |
Reimplemented from xtd::object.
|
inlinestaticnoexcept |
Determines whether the specified object instances are considered equal.
object_a | The first object to compare. |
object_b | The second object to compare. |
|
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.