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);
36 alloc_filter_ct
const& M_filter;
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"); }
A memory allocation marker.
Definition: class_marker.h:33
~marker_ct()
Destructor.
Definition: debugmalloc.cc:3370
marker_ct(alloc_filter_ct const &filter, bool make_invisible=false)
Construct a marker with label "An allocation marker".
Definition: class_marker.h:67
marker_ct()
Construct a marker with label "An allocation marker".
Definition: class_marker.h:71
marker_ct(char const *label)
Construct a marker with label label.
Definition: class_marker.h:54
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
void make_invisible(void const *void_ptr)
Make allocation pointed to by ptr invisible.
Definition: debugmalloc.cc:3159
namespace for libcwd.
Definition: debug.cc:87