GSmtp::FileIterator Class Reference

A 'body' class for the MessageStore::Iterator 'handle'. More...

Inheritance diagram for GSmtp::FileIterator:

GSmtp::MessageStore::IteratorImp G::noncopyable

List of all members.

Public Member Functions

 FileIterator (FileStore &store, const G::Path &dir, bool lock)
virtual std::auto_ptr
< GSmtp::StoredMessage
next ()


Detailed Description

A 'body' class for the MessageStore::Iterator 'handle'.

The handle/body pattern allows us to copy iterators by value, and therefore return them from MessageStore::iterator().

Definition at line 50 of file gfilestore.cpp.


Constructor & Destructor Documentation

GSmtp::FileIterator::FileIterator ( FileStore store,
const G::Path dir,
bool  lock 
)

Definition at line 63 of file gfilestore.cpp.

References G::DirectoryList::readType().


Member Function Documentation

std::auto_ptr< GSmtp::StoredMessage > GSmtp::FileIterator::next (  )  [virtual]


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

Generated on Fri Apr 18 15:56:13 2008 for E-MailRelay by  doxygen 1.5.5