buffy::MailboxMailFolder Class Reference

#include <MailboxMailFolder.h>

Inheritance diagram for buffy::MailboxMailFolder:

buffy::MailFolderImpl buffy::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 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
int _mbox_mtime
int _mbox_size
int _deleted


Constructor & Destructor Documentation

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

Normalize the folder name

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

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


Member Function Documentation

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

Implements buffy::MailFolderImpl.

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

Implements buffy::MailFolderImpl.

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

Implements buffy::MailFolderImpl.

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

Implements buffy::MailFolderImpl.

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

Implements buffy::MailFolderImpl.

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

Implements buffy::MailFolderImpl.

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

Implements buffy::MailFolderImpl.

bool buffy::MailboxMailFolder::changed (  )  [virtual]

Implements buffy::MailFolderImpl.

void buffy::MailboxMailFolder::updateStatistics (  )  [virtual]

Count messages in the 'new' directory

Implements buffy::MailFolderImpl.

MailFolder buffy::MailboxMailFolder::accessFolder ( const std::string &  path  )  [static]

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


Member Data Documentation

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

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

int buffy::MailboxMailFolder::_stat_total [protected]

int buffy::MailboxMailFolder::_stat_unread [protected]

int buffy::MailboxMailFolder::_stat_new [protected]

int buffy::MailboxMailFolder::_stat_flagged [protected]

int buffy::MailboxMailFolder::_mbox_mtime [protected]

int buffy::MailboxMailFolder::_mbox_size [protected]

int buffy::MailboxMailFolder::_deleted [protected]


The documentation for this class was generated from the following files:
Generated on Mon Sep 24 05:36:17 2007 for libbuffy by  doxygen 1.5.3