Provides the base class for trace filter implementations.
Provides the base class for trace filter implementations.
Definition trace_filter.hpp:35
#define abstract_
This keyword is used to represents an abstract class.
Definition abstract.hpp:25
#define core_export_
Define shared library export.
Definition core_export.hpp:13
- Inheritance
- xtd::object → xtd::abstract_object → xtd::diagnostics::trace_filter
- Header
#include <xtd/diagnostics/trace_filter>
- Namespace
- xtd::diagnostics
- Library
- xtd.core
|
| object ()=default |
| Create a new instance of the ultimate base class object.
|
|
virtual bool | equals (const object &obj) const noexcept |
| Determines whether the specified object is equal to the current object.
|
|
virtual xtd::size | 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<class 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.
|
|
template<class object_a_t , class 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<class object_a_t , class 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.
|
|
| abstract_object ()=default |
| Initializes a new instance of the xtd::abstract_object class.
|
|
◆ trace_filter()
xtd::diagnostics::trace_filter::trace_filter |
( |
| ) |
|
|
protecteddefault |
◆ should_trace() [1/3]
When overridden in a derived class, determines whether the trace listener should trace the event.
- Parameters
-
cache | The trace_event_cache that contains information for the trace event. |
source | The name of the source. |
event_type | One of the trace_event_type values specifying the type of event that has caused the trace |
id | A trace identifier number. |
message | Message to write. |
data1 | A trace data object. |
data_array | A trace data object. |
Implemented in xtd::diagnostics::event_type_filter, and xtd::diagnostics::source_filter.
◆ should_trace() [2/3]
determines whether the trace listener should trace the event.
- Parameters
-
cache | The trace_event_cache that contains information for the trace event. |
source | The name of the source. |
event_type | One of the trace_event_type values specifying the type of event that has caused the trace |
id | A trace identifier number. |
message | Message to write. |
◆ should_trace() [3/3]
determines whether the trace listener should trace the event.
- Parameters
-
cache | The trace_event_cache that contains information for the trace event. |
source | The name of the source. |
event_type | One of the trace_event_type values specifying the type of event that has caused the trace |
id | A trace identifier number. |
message | Message to write. |
data1 | A trace data object. |
The documentation for this class was generated from the following file: