#include <mranalyse.h>
Inheritance diagram for mrAnalyse:

Public Methods | |
| mrAnalyse () | |
| 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 | ~mrAnalyse () |
Private Attributes | |
| const char *const | strPrefix |
| const char *const | strName |
| const char *const | strVersion |
| const char *const | strAuthor |
| const char *const | strHelp |
| std::map< std::string, unity_t > * | unity_map |
| std::multimap< long, std::string > | most_recipients |
This analysis count the number of recipients of every mail (spam ;-) and create a statistic about. The result is sorted by the number of recipients.
|
|
|
|
|
|
|
|
Name of authors of the Object with Email in format "Firstname Lastname <email>" up to 40 chars. Reimplemented from Parameter. |
|
|
This funcion should free unused memory (from map's etc.). Implements Analyse. |
|
|
A short helptext, or description to this object. Reimplemented from Parameter. |
|
|
Select a short Name for the parameter Object. Reimplemented from Parameter. |
|
|
This function returns a unique object prefix. Use only lowercase letters (a-z) and keep this name short as possible. Implements Parameter. |
|
|
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. |
|
|
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. |
|
|
Version up to 8 chars in the format V-.- Reimplemented from Parameter. |
|
|
map for the analysis |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This pointer is used to save the pointer to the _unity map_. The unity map pointer is later used in the result to get detail informations about the mails. |
1.2.18