STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

heapwalk_sequence Class Reference

An STL-like sequence for walking heap allocated blocks. More...

#include <winstl_heapwalk_sequence.h>

List of all members.

Public Types

typedef heapwalk_sequence class_type
 The class.

typedef entry_type const & value_type
 The value type.

typedef heapwalk_sequence_const_iterator const_iterator
 The non-mutating (const) iterator type.

typedef entry_type const & const_reference
 The non-mutating (const) reference type.


Public Methods

 heapwalk_sequence ()
 Creates an instance that walks the default process heap.

 heapwalk_sequence (HANDLE hHeap)
 Creates an instance that walks the given heap.

 ~heapwalk_sequence () winstl_throw_0()
 Destructor.

const_iterator begin () const
 Begins the iteration.

const_iterator end () const
 Ends the iteration.


Detailed Description

An STL-like sequence for walking heap allocated blocks.


Member Typedef Documentation

typedef heapwalk_sequence class_type
 

The class.

typedef heapwalk_sequence_const_iterator const_iterator
 

The non-mutating (const) iterator type.

typedef entry_type const& const_reference
 

The non-mutating (const) reference type.

typedef entry_type const& value_type
 

The value type.


Constructor & Destructor Documentation

heapwalk_sequence   [inline]
 

Creates an instance that walks the default process heap.

heapwalk_sequence HANDLE    hHeap [inline, explicit]
 

Creates an instance that walks the given heap.

Note:
The heapwalk_sequence does not take ownership of the given heap handle

~heapwalk_sequence   [inline]
 

Destructor.


Member Function Documentation

heapwalk_sequence::const_iterator begin   [inline]
 

Begins the iteration.

Returns:
An iterator representing the start of the sequence

heapwalk_sequence::const_iterator end   [inline]
 

Ends the iteration.

Returns:
An iterator representing the end of the sequence


The documentation for this class was generated from the following file:

STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004