Changeset 532 for trunk/lib/Node.h


Ignore:
Timestamp:
Dec 26, 2007, 2:47:03 AM (14 years ago)
Author:
Peter Johansson
Message:

Node holds a StatsCollection? rather than a Stats object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Node.h

    r519 r532  
    2626
    2727#include "html_utility.h"
    28 #include "ClassicStats.h"
     28#include "StatsCollection.h"
    2929#include "SVNinfo.h"
    3030#include "SVNlog.h"
     
    8989
    9090    void html_tablerow(std::ostream&, const std::string&,
     91                       const std::string& css,
    9192                       const std::string& user) const;
    9293
     
    151152    /// @brief parsing file using svn blame.
    152153    ///
    153     virtual const ClassicStats& parse(const bool verbose=false)=0;
     154    virtual const StatsCollection& parse(const bool verbose=false)=0;
    154155
    155156    ///
     
    163164    void print(const bool verbose=false) const;
    164165
    165     void print_author_summary(std::ostream&, std::string, const SVNlog&) const;
     166    void print_author_summary(std::ostream&,
     167                              const Stats& stats,
     168                              const std::string& line_type,
     169                              const SVNlog&) const;
    166170
    167171    virtual void print_copyright(std::map<std::string,Alias>&, bool) const=0;
     
    198202    std::string path_; // absolute path
    199203    static std::string project_;
    200     ClassicStats stats_;
     204    StatsCollection stats_;
    201205
    202206  private:
Note: See TracChangeset for help on using the changeset viewer.