Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

rfc822::mbox::iterator Class Reference

An iterator over UNIX style mail files. More...

#include <mbox.h>

List of all members.

Public Methods

 iterator ()
 iterator (const iterator &it)
iterator & operator= (const iterator &it)
msgoperator * ()
msgoperator-> ()
iterator & operator++ ()
iterator operator++ (int) const
bool operator== (const iterator &m2) const

Friends

class mbox


Detailed Description

An iterator over UNIX style mail files.

This class is a helper class for the mailparser class. It implements a const forward iterator interface; i.e. you may use it for iterating from the beginning of the file to the end, but not backwards.

A message cannot be changed, too.


Constructor & Destructor Documentation

rfc822::mbox::iterator::iterator  
 

rfc822::mbox::iterator::iterator const iterator &    it
 


Member Function Documentation

msg& rfc822::mbox::iterator::operator *   [inline]
 

iterator rfc822::mbox::iterator::operator++ int    const
 

iterator& rfc822::mbox::iterator::operator++  
 

msg* rfc822::mbox::iterator::operator->   [inline]
 

iterator& rfc822::mbox::iterator::operator= const iterator &    it
 

bool rfc822::mbox::iterator::operator== const iterator &    m2 const
 


Friends And Related Function Documentation

friend class mbox [friend]
 


The documentation for this class was generated from the following file:
Generated on Mon Oct 22 17:03:48 2001 for rfc822 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001