Changeset 1290 for trunk/lib/Directory.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/Directory.h

    r1264 r1290  
    111111    Directory(const Directory&);
    112112
    113     void print_core(bool verbose=false) const;
    114 
    115     void print_core(const std::string& stats_type, const std::string& user,
    116                     const std::string& line_type, const SVNlog&) const;
    117 
    118 
    119113    typedef std::vector<Node*> NodeContainer;
    120114    typedef NodeContainer::iterator NodeIterator;
    121115    typedef NodeContainer::const_iterator NodeConstIterator;
    122116    NodeContainer daughters_;
     117
     118    friend class DirectoryPrinter;
    123119  };
    124120
Note: See TracChangeset for help on using the changeset viewer.