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 auto | trace_switch () noexcept -> xtd::diagnostics::trace_switch & |
| Gets a trace switch to configure debug traces. | |
Public Static Methods | |
| static auto | get (const enable_debug &flags) -> bool |
| Gets enable_debug flags status. | |
| static auto | set (const enable_debug &flags, bool on) -> void |
| Sets enable_debug flags status. | |
Public Methods | |
| auto | equals (const xtd::object &obj) const noexcept -> bool override |
| Determines whether the specified object is equal to the current object. | |
| auto | equals (const enable_debug &other) const noexcept -> bool override |
| Determines whether the specified object is equal to the current object. | |
| auto | get_hash_code () const noexcept -> xtd::usize 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 auto | get_type () const noexcept -> type_object |
| Gets the type of the current instance. | |
| template<typename object_t> | |
| auto | memberwise_clone () const -> xtd::unique_ptr_object< object_t > |
| Creates a shallow copy of the current object. | |
| virtual auto | to_string () const -> xtd::string |
| Returns a xtd::string that represents the current object. | |
| virtual auto | equals (const enable_debug &) const noexcept -> bool=0 |
| Indicates whether the current object is equal to another object of the same type. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept -> bool |
| Determines whether the specified object instances are considered equal. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept -> bool |
| Determines whether the specified object instances are the same instance. | |
|
staticnodiscardnoexcept |
Gets a trace switch to configure debug traces.
|
nodiscardoverridevirtualnoexcept |
Determines whether the specified object is equal to the current object.
| obj | The object to compare with the current object. |
Reimplemented from xtd::object.
|
nodiscardoverridenoexcept |
Determines whether the specified object is equal to the current object.
| other | The object to compare with the current object. |
|
nodiscardoverridevirtualnoexcept |
Serves as a hash function for a particular type.
Reimplemented from xtd::object.
|
staticnodiscard |
Gets enable_debug flags status.
|
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.