9 #include "../forms_export.h"
32 bool operator==(
const enable_debug& value)
const {
return value_ == value.value_;}
33 bool operator!=(
const enable_debug& value)
const {
return !operator==(value);}
57 static bool get(
const enable_debug& flags) {
return (values_.value_ & flags.value_) == flags.value_;}
60 static void set(
const enable_debug& flags,
bool on) {values_.value_ = on ? (values_.value_ | flags.value_) : (values_.value_ & ~flags.value_);}
71 static enable_debug values_;
Provides a multilevel switch to control tracing and debug output without recompiling your code.
Definition: trace_switch.h:21
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition: object.h:26
#define forms_export_
Define shared library export.
Definition: forms_export.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::object class.
Contains xtd::static_object class.
Contains xtd::diagnostics::trace_switch class.