Changeset 34 for trunk/lib/Stats.h


Ignore:
Timestamp:
Jan 12, 2006, 2:17:11 AM (16 years ago)
Author:
Jari Häkkinen
Message:

Started implementing gnuplot into Stats.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Stats.h

    r23 r34  
    44#define _theplu_svnstat_stats_
    55
     6#include "Gnuplot.h"
     7
    68#include <map>
     9#include <string>
    710#include <vector>
    811
     
    1821    ///
    1922    /// @brief Default Constructor
    20     ///
    21     Stats(void);
    22    
     23    ///
     24    inline Stats(void) {}
     25
    2326    ///
    2427    /// @brief adding a line to user from revision to the stats
    2528    ///
    2629    void add(const std::string& user, const u_int& revision);
     30
     31    std::string plot(void) const;
    2732
    2833    ///
     
    5762    std::vector<u_int> accumulated(const std::string& user);
    5863
     64    static Gnuplot gnuplot_pipe_;
    5965    // Peter, if the vector is sparse make it a map
    6066    typedef std::map<std::string, std::vector<u_int> > Map_;
Note: See TracChangeset for help on using the changeset viewer.