C++ API Reference for Oracle® Coherence Community Edition
(14.1.1.0.1)

F23533-01

HeapAnalyzer::Block Class Reference

#include <coherence/lang/HeapAnalyzer.hpp>

List of all members.


Detailed Description

The HeapAnalyzer::Block allows for easily verifying that a block of code does not leak memory.

 COH_ENSURE_HEAP
    {
    ... // your code here
    }

Public Member Functions

 Block ()
 Construct a ZeroBlock object.
 Block (const Block &that)
 Copy constructor for COH_ENSURE_HEAP macro.
 ~Block ()
 Destroy a Block object.

Constructor & Destructor Documentation

Block (  )  [inline]

Construct a ZeroBlock object.

This will automatically capture an initial snapshot

~Block (  )  [inline]

Destroy a Block object.

This will test that no memory has been leaked


The documentation for this class was generated from the following file:
Copyright © 2000, 2020, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.