Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

MailboxMailFolder Class Reference

#include <MailboxMailFolder.h>

Inheritance diagram for MailboxMailFolder:

MailFolderImpl SmartPointerItem List of all members.

Public Member Functions

 MailboxMailFolder (const std::string &path) throw ()
 MailboxMailFolder (const std::string &name, const std::string &path) throw ()
virtual ~MailboxMailFolder () throw ()
virtual const std::string & name () const throw ()
virtual const std::string & path () const throw ()
virtual int getMsgTotal () const throw ()
virtual int getMsgUnread () const throw ()
virtual int getMsgNew () const throw ()
virtual int getMsgFlagged () const throw ()
virtual bool changed ()
virtual void updateStatistics ()

Static Public Member Functions

static void enumerateFolders (const std::string &dir, MailFolderConsumer &cons)

Protected Attributes

std::string _name
std::string _path
int _stat_total
int _stat_unread
int _stat_new
int _stat_flagged
int _mbox_mtime

Constructor & Destructor Documentation

MailboxMailFolder::MailboxMailFolder const std::string &  path  )  throw ()
 

Normalize the folder name

MailboxMailFolder::MailboxMailFolder const std::string &  name,
const std::string &  path
throw ()
 

virtual MailboxMailFolder::~MailboxMailFolder  )  throw () [inline, virtual]
 


Member Function Documentation

bool MailboxMailFolder::changed  )  [virtual]
 

Implements MailFolderImpl.

void MailboxMailFolder::enumerateFolders const std::string &  dir,
MailFolderConsumer cons
[static]
 

virtual int MailboxMailFolder::getMsgFlagged  )  const throw () [inline, virtual]
 

Implements MailFolderImpl.

virtual int MailboxMailFolder::getMsgNew  )  const throw () [inline, virtual]
 

Implements MailFolderImpl.

virtual int MailboxMailFolder::getMsgTotal  )  const throw () [inline, virtual]
 

Implements MailFolderImpl.

virtual int MailboxMailFolder::getMsgUnread  )  const throw () [inline, virtual]
 

Implements MailFolderImpl.

virtual const std::string& MailboxMailFolder::name  )  const throw () [inline, virtual]
 

Implements MailFolderImpl.

virtual const std::string& MailboxMailFolder::path  )  const throw () [inline, virtual]
 

Implements MailFolderImpl.

void MailboxMailFolder::updateStatistics  )  [virtual]
 

Count messages in the 'new' directory

Implements MailFolderImpl.


Member Data Documentation

int MailboxMailFolder::_mbox_mtime [protected]
 

std::string MailboxMailFolder::_name [protected]
 

std::string MailboxMailFolder::_path [protected]
 

int MailboxMailFolder::_stat_flagged [protected]
 

int MailboxMailFolder::_stat_new [protected]
 

int MailboxMailFolder::_stat_total [protected]
 

int MailboxMailFolder::_stat_unread [protected]
 


The documentation for this class was generated from the following files:
Generated on Fri Mar 11 00:39:21 2005 for libbuffy by  doxygen 1.4.1