8 #include "../iequatable.h" 10 #include "../ustring.h" 16 namespace diagnostics {
46 const std::map<xtd::ustring, xtd::ustring>& attributes()
const noexcept;
49 std::map<xtd::ustring, xtd::ustring>& attributes() noexcept;
52 void attributes(
const std::map<xtd::ustring, xtd::ustring>& attributes) noexcept;
68 bool equals(
const switch_base& value)
const noexcept
override;
95 int32 switch_setting()
const noexcept;
98 void switch_setting(
int32 switch_setting);
122 virtual std::vector<xtd::ustring> get_supported_attributes()
const noexcept;
125 virtual void on_switch_setting_changed();
131 virtual void on_value_changed();
137 std::map<xtd::ustring, xtd::ustring> attributes_;
138 int32 switch_setting_ = 0;
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition: iequatable.h:18
Contains xtd::diagnostics::source_levels enum class.
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes...
Definition: object.h:32
Provides an abstract base class to create new debugging and tracing switches.
Definition: switch_base.h:34
int_least32_t int32
Represents a 32-bit signed integer.
Definition: types.h:129