source: trunk/lib/BlameStats.h @ 847

Last change on this file since 847 was 847, checked in by Peter Johansson, 12 years ago

updating copyrights

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