Oracle Coherence for C++ API


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.

    ... // 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, 2011, Oracle and/or its affiliates. All rights reserved.