Main Page   Reference Manual   Namespace List   Compound List   Namespace Members   Compound Members   File Members  

Public Member Functions | List of all members

A memory allocation marker. More...

#include <class_marker.h>

Public Member Functions

 marker_ct (char const *label, alloc_filter_ct const &filter, bool make_invisible=false)
 Construct a marker with label label. More...
 
 marker_ct (char const *label)
 Construct a marker with label label.
 
 marker_ct (alloc_filter_ct const &filter, bool make_invisible=false)
 Construct a marker with label "An allocation marker". More...
 
 marker_ct ()
 Construct a marker with label "An allocation marker".
 
 ~marker_ct ()
 Destructor.
 

Detailed Description

A memory allocation marker.

Constructor & Destructor Documentation

◆ marker_ct() [1/2]

libcwd::marker_ct::marker_ct ( char const *  label,
alloc_filter_ct const &  filter,
bool  make_invisible = false 
)
inline

Construct a marker with label label.

The filter must exist until the marker is deleted; it is used by the destructor of the marker. Allocations that are hidden as a result of the filter will be placed outside the marker. Allocations done after the creation of the marker which are not deleted when the marker gets destructed and which are not hidden by the filter will be listed.

If make_invisible is set true then all filtered allocations will be made invisible at the destruction of the marker.

◆ marker_ct() [2/2]

libcwd::marker_ct::marker_ct ( alloc_filter_ct const &  filter,
bool  make_invisible = false 
)
inline

Construct a marker with label "An allocation marker".

The filter must exist until the marker is deleted; it is used by the destructor of the marker. Allocations that are hidden as a result of the filter will be placed outside the marker. Allocations done after the creation of the marker which are not deleted when the marker gets destructed and which are not hidden by the filter will be listed.

If make_invisible is set true then all filtered allocations will be made invisible at the destruction of the marker.

Copyright © 2001 - 2004 Carlo Wood.  All rights reserved.