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

Zygoma::MemoryStrider< stride > Class Template Reference
[Kernel Physical Memory Management]

#include <memory.h>

List of all members.


Detailed Description

template<int stride>
class Zygoma::MemoryStrider< stride >

An iterator over a MemoryRange.

The MemoryStrider is a forward iterator over a physical memory range, stepping stride addresses at a time.


Public Member Functions

 MemoryStrider (PhysicalAddress start=0)
 Constructs a MemoryStrider object beginning its walk at physical address start.
reference operator * () const
 MemoryStrider derference operator.
MemoryStrideroperator++ ()
 Preincrement operator.
MemoryStrideroperator++ (int)
 Postincrement operator.


Constructor & Destructor Documentation

template<int stride>
Zygoma::MemoryStrider< stride >::MemoryStrider PhysicalAddress  start = 0  )  [inline]
 

Constructs a MemoryStrider object beginning its walk at physical address start.


Member Function Documentation

template<int stride>
reference Zygoma::MemoryStrider< stride >::operator *  )  const [inline]
 

MemoryStrider derference operator.

Returns:
the physical address currently iterated by the MemoryStrider.

template<int stride>
MemoryStrider& Zygoma::MemoryStrider< stride >::operator++ int   )  [inline]
 

Postincrement operator.

Walks the MemoryStrider to the next physical address in its stride.

Returns:
a reference to the MemoryStrider.

template<int stride>
MemoryStrider& Zygoma::MemoryStrider< stride >::operator++  )  [inline]
 

Preincrement operator.

Walks the MemoryStrider to the next physical address in its stride.

Returns:
a reference to the MemoryStrider.


The documentation for this class was generated from the following file:
Generated on Fri Sep 2 10:45:08 2005 for zygoma by doxygen 1.4.2