6#include <xtd/diagnostics/trace_switch>
7#include <xtd/iequatable>
33 enable_debug() =
default;
34 enable_debug(
const enable_debug&) =
default;
35 enable_debug& operator =(
const enable_debug&) =
default;
37 enable_debug operator |(
const enable_debug& value)
const noexcept;
38 enable_debug operator +(
const enable_debug& value)
const noexcept;
45 static const enable_debug
none;
59 static const enable_debug
style;
61 static const enable_debug
all;
78 bool equals(const
xtd::
object& obj) const noexcept override;
82 bool equals(const enable_debug&
other) const noexcept override;
97 static
void set(const enable_debug&
flags,
bool on);
101 explicit enable_debug(
uint64 value);
105 static enable_debug values_;
Provides a multilevel switch to control tracing and debug output without recompiling your code.
Definition trace_switch.hpp:30
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.hpp:22
object()=default
Create a new instance of the ultimate base class object.
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
uint64_t uint64
Represents a 64-bit unsigned integer.
Definition uint64.hpp:23
@ flags
Enum flags attribute.
Definition enum_attribute.hpp:26
@ other
The operating system is other.
Definition platform_id.hpp:58
The xtd::diagnostics namespace provides classes that allow you to interact with system processes,...
Definition assert_dialog_result.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8