buffy::MaildirMailFolder Class Reference

#include <MaildirMailFolder.h>

Inheritance diagram for buffy::MaildirMailFolder:

buffy::MailFolderImpl buffy::SmartPointerItem List of all members.

Public Member Functions

 MaildirMailFolder (const std::string &path) throw ()
 MaildirMailFolder (const std::string &name, const std::string &path) throw ()
virtual ~MaildirMailFolder () throw ()
virtual const std::string & name () const throw ()
virtual const std::string & path () const throw ()
virtual std::string type () 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 MailFolder accessFolder (const std::string &path)
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
bool _deleted
time_t _new_mtime
time_t _cur_mtime

Constructor & Destructor Documentation

buffy::MaildirMailFolder::MaildirMailFolder const std::string &  path  )  throw ()
 

buffy::MaildirMailFolder::MaildirMailFolder const std::string &  name,
const std::string &  path
throw ()
 

virtual buffy::MaildirMailFolder::~MaildirMailFolder  )  throw () [inline, virtual]
 


Member Function Documentation

MailFolder MaildirMailFolder::accessFolder const std::string &  path  )  [static]
 

bool MaildirMailFolder::changed  )  [virtual]
 

Implements buffy::MailFolderImpl.

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

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

Implements buffy::MailFolderImpl.

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

Implements buffy::MailFolderImpl.

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

Implements buffy::MailFolderImpl.

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

Implements buffy::MailFolderImpl.

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

Implements buffy::MailFolderImpl.

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

Implements buffy::MailFolderImpl.

virtual std::string buffy::MaildirMailFolder::type  )  const throw () [inline, virtual]
 

Implements buffy::MailFolderImpl.

void MaildirMailFolder::updateStatistics  )  [virtual]
 

Count messages in the 'new' directory

Count messages in the 'cur' directory

Implements buffy::MailFolderImpl.


Member Data Documentation

time_t buffy::MaildirMailFolder::_cur_mtime [protected]
 

bool buffy::MaildirMailFolder::_deleted [protected]
 

std::string buffy::MaildirMailFolder::_name [protected]
 

time_t buffy::MaildirMailFolder::_new_mtime [protected]
 

std::string buffy::MaildirMailFolder::_path [protected]
 

int buffy::MaildirMailFolder::_stat_flagged [protected]
 

int buffy::MaildirMailFolder::_stat_new [protected]
 

int buffy::MaildirMailFolder::_stat_total [protected]
 

int buffy::MaildirMailFolder::_stat_unread [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 30 18:18:30 2005 for libbuffy by  doxygen 1.4.5