Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

mfAnalyse Class Reference

Mail from count analysis. More...

#include <mfanalyse.h>

Inheritance diagram for mfAnalyse:

Analyse Parameter List of all members.

Public Methods

 mfAnalyse ()
virtual const char * Prefix (void) const
virtual const char * Name (void) const
virtual const char * Version (void) const
virtual const char * Author (void) const
virtual const char * Help (void) const
virtual void run (std::map< std::string, unity_t > *unity_map)
virtual void print (void)
virtual void free (void)
virtual ~mfAnalyse ()

Private Attributes

const char *const strPrefix
const char *const strName
const char *const strVersion
const char *const strAuthor
const char *const strHelp
std::multimap< long, std::string > mailc_l
std::multimap< long, std::string > mailc_e

Detailed Description

Mail from count analysis.

This simple analysis module count every mail from a local or external address, The result is sorted by mailcount.

Author:
Tobias Erbsland


Constructor & Destructor Documentation

mfAnalyse::mfAnalyse  
 

virtual mfAnalyse::~mfAnalyse   [inline, virtual]
 


Member Function Documentation

virtual const char* mfAnalyse::Author void    const [inline, virtual]
 

Name of authors of the Object with Email in format "Firstname Lastname <email>" up to 40 chars.

Reimplemented from Parameter.

void mfAnalyse::free void    [virtual]
 

This funcion should free unused memory (from map's etc.).

Implements Analyse.

virtual const char* mfAnalyse::Help void    const [inline, virtual]
 

A short helptext, or description to this object.

Reimplemented from Parameter.

virtual const char* mfAnalyse::Name void    const [inline, virtual]
 

Select a short Name for the parameter Object.

Reimplemented from Parameter.

virtual const char* mfAnalyse::Prefix void    const [inline, virtual]
 

This function returns a unique object prefix. Use only lowercase letters (a-z) and keep this name short as possible.

Implements Parameter.

void mfAnalyse::print void    [virtual]
 

This function printout the result of this analyse to the selected report object. Is no report object selected (report is a null pointer) - nothing should happens. (check also report first!).

Implements Analyse.

void mfAnalyse::run std::map< std::string, unity_t > *    unity_map [virtual]
 

This function should do all calculations for this analyse, and store the result for multible print() calls until someone call free() or destroy the object.

Implements Analyse.

virtual const char* mfAnalyse::Version void    const [inline, virtual]
 

Version up to 8 chars in the format V-.-

Reimplemented from Parameter.


Member Data Documentation

std::multimap< long, std::string > mfAnalyse::mailc_e [private]
 

Map for the analysis.

std::multimap< long, std::string > mfAnalyse::mailc_l [private]
 

Map for the analysis.

const char* const mfAnalyse::strAuthor [private]
 

const char* const mfAnalyse::strHelp [private]
 

const char* const mfAnalyse::strName [private]
 

const char* const mfAnalyse::strPrefix [private]
 

const char* const mfAnalyse::strVersion [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Oct 15 13:54:52 2003 for Anteater.kdevelop by doxygen1.2.18