source: trunk/lib/ClassicStats.h

Last change on this file was 1515, checked in by Peter Johansson, 11 years ago

update copyright years

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