487 |
13 Oct 07 |
peter |
1 |
#ifndef _theplu_svndigest_classic_stats_ |
487 |
13 Oct 07 |
peter |
2 |
#define _theplu_svndigest_classic_stats_ |
165 |
24 Aug 06 |
jari |
3 |
|
84 |
13 Mar 06 |
jari |
// $Id$ |
14 |
30 Dec 05 |
peter |
5 |
|
84 |
13 Mar 06 |
jari |
6 |
/* |
84 |
13 Mar 06 |
jari |
Copyright (C) 2005 Peter Johansson |
1635 |
30 Mar 23 |
peter |
Copyright (C) 2006 Jari Häkkinen, Peter Johansson |
1635 |
30 Mar 23 |
peter |
Copyright (C) 2007 Peter Johansson |
1635 |
30 Mar 23 |
peter |
Copyright (C) 2008 Jari Häkkinen, Peter Johansson |
1635 |
30 Mar 23 |
peter |
Copyright (C) 2010 Peter Johansson |
84 |
13 Mar 06 |
jari |
12 |
|
687 |
04 Aug 08 |
peter |
This file is part of svndigest, http://dev.thep.lu.se/svndigest |
84 |
13 Mar 06 |
jari |
14 |
|
149 |
12 Aug 06 |
jari |
svndigest is free software; you can redistribute it and/or modify it |
84 |
13 Mar 06 |
jari |
under the terms of the GNU General Public License as published by |
693 |
11 Sep 08 |
jari |
the Free Software Foundation; either version 3 of the License, or |
84 |
13 Mar 06 |
jari |
(at your option) any later version. |
84 |
13 Mar 06 |
jari |
19 |
|
149 |
12 Aug 06 |
jari |
svndigest is distributed in the hope that it will be useful, but |
84 |
13 Mar 06 |
jari |
WITHOUT ANY WARRANTY; without even the implied warranty of |
149 |
12 Aug 06 |
jari |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
84 |
13 Mar 06 |
jari |
General Public License for more details. |
84 |
13 Mar 06 |
jari |
24 |
|
84 |
13 Mar 06 |
jari |
You should have received a copy of the GNU General Public License |
693 |
11 Sep 08 |
jari |
along with svndigest. If not, see <http://www.gnu.org/licenses/>. |
84 |
13 Mar 06 |
jari |
27 |
*/ |
84 |
13 Mar 06 |
jari |
28 |
|
487 |
13 Oct 07 |
peter |
29 |
#include "Stats.h" |
118 |
03 Jul 06 |
peter |
30 |
|
14 |
30 Dec 05 |
peter |
31 |
namespace theplu{ |
149 |
12 Aug 06 |
jari |
32 |
namespace svndigest{ |
14 |
30 Dec 05 |
peter |
33 |
|
14 |
30 Dec 05 |
peter |
34 |
/// |
14 |
30 Dec 05 |
peter |
/// Class taking care of statistics from svn. |
14 |
30 Dec 05 |
peter |
36 |
/// |
487 |
13 Oct 07 |
peter |
37 |
class ClassicStats : public Stats |
14 |
30 Dec 05 |
peter |
38 |
{ |
14 |
30 Dec 05 |
peter |
39 |
public: |
1513 |
23 Sep 12 |
peter |
40 |
/// |
1513 |
23 Sep 12 |
peter |
/// @brief Default Constructor |
34 |
12 Jan 06 |
jari |
42 |
/// |
487 |
13 Oct 07 |
peter |
43 |
explicit ClassicStats(const std::string& path); |
34 |
12 Jan 06 |
jari |
44 |
|
528 |
25 Dec 07 |
peter |
45 |
ClassicStats(const ClassicStats& other); |
118 |
03 Jul 06 |
peter |
46 |
|
14 |
30 Dec 05 |
peter |
47 |
private: |
664 |
13 Jun 08 |
peter |
48 |
void do_parse(const std::string&, svn_revnum_t); |
1513 |
23 Sep 12 |
peter |
49 |
unsigned int max_element(const SumVector&) const; |
487 |
13 Oct 07 |
peter |
50 |
|
14 |
30 Dec 05 |
peter |
51 |
}; |
149 |
12 Aug 06 |
jari |
52 |
}} // end of namespace svndigest end of namespace theplu |
14 |
30 Dec 05 |
peter |
53 |
|
1513 |
23 Sep 12 |
peter |
54 |
#endif |