This documentation is archived and is not being maintained.

CMemoryState::CMemoryState 

Constructs an empty CMemoryState object that must be filled in by the Checkpoint or Difference member function.


CMemoryState( );

See CObList::CObList for a listing of the CAge class used in all collection examples.

// example for CMemoryState::CMemoryState
// Includes all CMemoryState functions
CMemoryState msOld;
msOld.Checkpoint();
CAge* page1 = new CAge( 21 );
CAge* page2 = new CAge( 22 );
msOld.DumpAllObjectsSince();

The results from this program are as follows:

Dumping objects ->
{2} a CObject at $190A
{1} a CObject at $18EA
Object dump complete.
Show: