tdeioslave/mbox

#include <stat.h>

List of all members.

Public Member Functions

 Stat ()
 ~Stat ()

Static Public Member Functions

static TDEIO::UDSEntry stat (const UrlInfo &info)
static TDEIO::UDSEntry stat (ReadMBox &mbox, const UrlInfo &info)
static TDEIO::UDSEntry statDirectory (const UrlInfo &info)
static TDEIO::UDSEntry statMessage (const UrlInfo &info)

Detailed Description

This class is used to get the stats of a mbox-email or mbox-file.

This class only uses static members.

Definition at line 35 of file stat.h.


Constructor & Destructor Documentation

Stat::Stat ( ) [inline]

Empty constructor.

Definition at line 41 of file stat.h.

Stat::~Stat ( ) [inline]

Emtpy destructor.

Definition at line 46 of file stat.h.


Member Function Documentation

TDEIO::UDSEntry Stat::stat ( const UrlInfo &  info) [static]

This functions gives information with a given UrlInfo.

Parameters:
infoThe file information
Returns:
The information of the file as destribed in UrlInfo.

Definition at line 29 of file stat.cc.

TDEIO::UDSEntry Stat::stat ( ReadMBox mbox,
const UrlInfo &  info 
) [static]

This function gives information with a given ReadMBox and UrlInfo.

Through this, it is possible to ask the stats of the next message, without reopening the mbox-file.

Parameters:
mboxThe ReadMBox instance, used to search the mbox-email in.
infoThe url information.
Returns:
The requesteds information.

Definition at line 39 of file stat.cc.

TDEIO::UDSEntry Stat::statDirectory ( const UrlInfo &  info) [static]

This function gets the stats of a given mbox-file in an UDSEntry.

Parameters:
infoThe location of the mbox-file.
Returns:
A list of Atoms.

Definition at line 66 of file stat.cc.

TDEIO::UDSEntry Stat::statMessage ( const UrlInfo &  info) [static]

This function gets the stats of a geven mbox-message in a UDSEntry.

Parameters:
infoThe url of the mbox-message.
Returns:
Information shipped in an UDSEntry.

Definition at line 78 of file stat.cc.


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