Changeset 531 for trunk/lib/BlameStats.h


Ignore:
Timestamp:
Dec 25, 2007, 7:51:07 PM (14 years ago)
Author:
Peter Johansson
Message:

moving more stuff to base class and add class for Blame Statistics

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/lib/BlameStats.h

    r529 r531  
    1 #ifndef _theplu_svndigest_classic_stats_
    2 #define _theplu_svndigest_classic_stats_
     1#ifndef _theplu_svndigest_blame_stats_
     2#define _theplu_svndigest_blame_stats_
    33
    44// $Id$
     
    3535  /// Class taking care of statistics from svn.
    3636  ///
    37   class ClassicStats : public Stats
     37  class BlameStats : public Stats
    3838  {
    3939  public:
     
    4141    /// @brief Default Constructor
    4242    ///
    43     explicit ClassicStats(const std::string& path);
     43    explicit BlameStats(const std::string& path);
    4444
    45     ClassicStats(const ClassicStats& other);
     45    BlameStats(const BlameStats& other);
    4646
    4747  private:
     
    5454             const Parser::line_type&);
    5555
    56     /**
    57        Load object from a stream.
    58        
    59        \return true if successful
    60      */
    61     bool do_load_cache(std::istream&);
    62 
    6356    void do_parse(const std::string&);
    64 
    65     ///
    66     /// Create statistics graph.
    67     ///
    68     std::string do_plot(const std::string&, const std::string&) const;
    69 
    70     /**
    71      */
    72     void do_print(std::ostream&) const;
    73 
    74     std::vector<u_int> vector(std::string type, std::string user) const;
    75     /**
    76        Load map from stream
    77      */
    78     void load(std::istream&, Author2Vector&);
    79 
    80     void do_print(std::ostream& os, const Author2Vector& map) const;
    8157
    8258  };
Note: See TracChangeset for help on using the changeset viewer.