Changeset 1290 for trunk/lib/File.h


Ignore:
Timestamp:
Nov 12, 2010, 5:01:35 AM (11 years ago)
Author:
Peter Johansson
Message:

closes #457. Lifting out plotting functions in Stats into a new class
StatsPlotter?. In same manner lifting out print functions from
Node/Directory/File? into a new hierarchy
NodePrinter/DirectoryPrinter/FilePrinter?. To accomplish these splits
without to much recoding some friendships are introduced. These new
classes are only needed for svndigest (not svncopyright) and are
therefore placed in a library named libsvndigest together with Graph
class and first_page functions. Remaining functionality, shared
between svncopyright and svndigest, are located in libsvndigest_core
and linked into both binaries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/File.h

    r1267 r1290  
    2626#include "Node.h"
    2727
    28 #include <map>
    2928#include <string>
    3029
     
    6059    std::string node_type(void) const;
    6160
    62     /**
    63        @return output path for example 'lib/File.h.html' for this file
    64      */
    65     std::string output_path(void) const;
    66 
    6761    ///
    6862    /// @brief Parsing out information from svn repository
     
    7872
    7973  private:
    80     std::string blame_output_file_name(void) const;
    81 
    8274    /**
    8375       do nothing
     
    9082    File(const File&);
    9183
    92     ///
    93     /// @brief Parsing svn blame output
    94     ///
    95     /// @return true if parsing is succesful
    96     ///
    97     bool blame(void) const;
    98 
    99     /**
    100        @brief Print blame output
    101     */
    102     void print_blame(std::ofstream& os) const;
    103 
    104     void print_core(bool verbose=false) const;
    105 
    106     ///
    107     /// print page for specific user (or all) and specific line_style
    108     /// (or total).
    109     ///
    110     void print_core(const std::string& stats_type, const std::string& user,
    111                     const std::string& line_type, const SVNlog&) const;
    112 
    11384  };
    11485
Note: See TracChangeset for help on using the changeset viewer.