18 #ifndef LIBCWD_CLASS_MARKER_H 19 #define LIBCWD_CLASS_MARKER_H 21 #ifndef LIBCWD_CLASS_ALLOC_FILTER_H 27 extern alloc_filter_ct
const default_ooam_filter;
35 void register_marker(
char const* label);
37 bool M_make_invisible;
51 M_filter(filter), M_make_invisible(
make_invisible) { register_marker(label); }
54 marker_ct(
char const* label) : M_filter(default_ooam_filter), M_make_invisible(false) { register_marker(label); }
68 M_filter(filter), M_make_invisible(
make_invisible) { register_marker(
"An allocation marker"); }
71 marker_ct() : M_filter(default_ooam_filter), M_make_invisible(false) { register_marker(
"An allocation marker"); }
78 #endif // LIBCWD_CLASS_MARKER_H marker_ct(char const *label)
Construct a marker with label label.
Definition: class_marker.h:54
A memory allocation marker.
Definition: class_marker.h:33
An allocated-memory filter class.An object of this type can be passed to list_allocations_on containi...
Definition: class_alloc_filter.h:89
void make_invisible(void const *void_ptr)
Make allocation pointed to by ptr invisible.The allocation pointed to by ptr is made invisible; it wo...
Definition: debugmalloc.cc:3126
marker_ct(char const *label, alloc_filter_ct const &filter, bool make_invisible=false)
Construct a marker with label label.
Definition: class_marker.h:50
namespace for libcwd.
Definition: debug.cc:87
marker_ct()
Construct a marker with label "An allocation marker".
Definition: class_marker.h:71
~marker_ct()
Destructor.
Definition: debugmalloc.cc:3337
marker_ct(alloc_filter_ct const &filter, bool make_invisible=false)
Construct a marker with label "An allocation marker".
Definition: class_marker.h:67