Changeset 226 for trunk/lib/Directory.cc


Ignore:
Timestamp:
Mar 11, 2007, 8:32:41 PM (15 years ago)
Author:
Peter Johansson
Message:

added reading of config file in Parameter closes ##106 and #98. Move function check_target from svndigest.cc to utility.cc and changed name to node_exist. added support for aliases in Copyright update refs #36

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Directory.cc

    r225 r226  
    3737#include <iterator>
    3838#include <list>
     39#include <map>
    3940
    4041#include <cerrno> // Needed to check error state below.
     
    223224
    224225
    225   void Directory::print_copyright(const std::vector<std::string>& dates,
    226                                   const std::vector<std::string>& authors) const
     226  void Directory::print_copyright
     227  (const std::vector<std::string>& dates,
     228   const std::vector<std::string>& authors,
     229   const std::map<std::string, std::string>& alias) const
    227230  {
    228231    if (!ignore()){
    229232      // print daughter nodes, i.e, this function is recursive
    230233      for (NodeConstIterator i = daughters_.begin(); i!=daughters_.end(); ++i)
    231         (*i)->print_copyright(dates, authors);
     234        (*i)->print_copyright(dates, authors, alias);
    232235    }
    233236  }
Note: See TracChangeset for help on using the changeset viewer.