Main Page   Class Hierarchy   Compound List   File List   Compound Members  

wxRecipientsIterator Class Reference

Public helper class for iterating through all recipients of an email. More...

#include <email.h>

List of all members.

Public Methods

 wxRecipientsIterator (const wxEmailMessage &emailMessage)
 Creates a new iterator for the specified wxEmailMessage object. More...

bool HasNext ()
 Test if there are any more email recipients to be iterated. More...

wxString GetNext ()
 Gets the next email recipient and increments the iterator pointer. More...


Detailed Description

Public helper class for iterating through all recipients of an email.

Definition at line 108 of file email.h.


Constructor & Destructor Documentation

wxRecipientsIterator::wxRecipientsIterator const wxEmailMessage   emailMessage
 

Creates a new iterator for the specified wxEmailMessage object.

Parameters:
emailMessage  The wxEmailMessage object for which the iterator should iterate all recipients.

Definition at line 86 of file email.cpp.


Member Function Documentation

wxString wxRecipientsIterator::GetNext  
 

Gets the next email recipient and increments the iterator pointer.

Returns:
The next email recipient.

Definition at line 107 of file email.cpp.

References wxEmailMessage::m_bccArray, wxEmailMessage::m_ccArray, wxEmailMessage::m_rcptArray, and wxEmailMessage::m_toArray.

Referenced by wxSMTP::Send().

bool wxRecipientsIterator::HasNext  
 

Test if there are any more email recipients to be iterated.

The test doesn't increment the internal iterator counter.

Returns:
true, if there are more email recipients.

Definition at line 95 of file email.cpp.

References wxEmailMessage::m_bccArray, wxEmailMessage::m_ccArray, wxEmailMessage::m_rcptArray, and wxEmailMessage::m_toArray.

Referenced by wxSMTP::Send().


Generated on Mon May 6 01:14:20 2002 for Wino by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001