source: trunk/lib/BlameStats.h @ 537

Last change on this file since 537 was 537, checked in by Peter Johansson, 14 years ago

Blame stats is implemented - fixes #24

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1#ifndef _theplu_svndigest_blame_stats_
2#define _theplu_svndigest_blame_stats_
3
4// $Id: BlameStats.h 537 2007-12-27 06:37:39Z peter $
5
6/*
7  Copyright (C) 2005 Peter Johansson
8  Copyright (C) 2006 Jari Häkkinen, Peter Johansson
9  Copyright (C) 2007 Peter Johansson
10
11  This file is part of svndigest, http://trac.thep.lu.se/svndigest
12
13  svndigest is free software; you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation; either version 2 of the License, or
16  (at your option) any later version.
17
18  svndigest is distributed in the hope that it will be useful, but
19  WITHOUT ANY WARRANTY; without even the implied warranty of
20  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21  General Public License for more details.
22
23  You should have received a copy of the GNU General Public License
24  along with this program; if not, write to the Free Software
25  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
26  02111-1307, USA.
27*/
28
29#include "Stats.h"
30
31namespace theplu{
32namespace svndigest{
33
34  ///
35  /// Class taking care of statistics from svn.
36  ///
37  class BlameStats : public Stats
38  {
39  public:
40    ///
41    /// @brief Default Constructor
42    ///
43    explicit BlameStats(const std::string& path);
44
45    BlameStats(const BlameStats& other);
46
47  private:
48    void do_parse(const std::string&);
49    void fill_in(Author2Vector&, svn_revnum_t rev);
50
51  };
52}} // end of namespace svndigest end of namespace theplu
53
54#endif
Note: See TracBrowser for help on using the repository browser.