Changeset 58


Ignore:
Timestamp:
Jan 15, 2006, 3:01:44 AM (16 years ago)
Author:
Jari Häkkinen
Message:

Removed string from print() interface.

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/svnstat.cc

    r57 r58  
    4040  Stats::gnuplot_pipe_.command(string("cd '")+option.targetdir()+"'");
    4141  chdir(option.targetdir().c_str());
    42   tree.print("./");
     42  tree.print();
    4343
    4444  string htmltopnode=option.root()+".html";
  • trunk/lib/Directory.cc

    r29 r58  
    7171
    7272
    73   void Directory::print(const std::string& path) const
     73  void Directory::print(void) const
    7474  {
    75     std::string output(path + output_name_ + ".html");
     75    std::string output(output_name_ + ".html");
    7676    std::ofstream os(output.c_str());
    7777    print_header(os);
     
    9090    // Peter, use STL algo.
    9191    for (NodeConstIter_ i=daughters_.begin();i!=daughters_.end();i++)
    92       (*i)->print(path);
     92      (*i)->print();
    9393  }
    9494
  • trunk/lib/Directory.h

    r29 r58  
    3939    const Stats& parse(void);
    4040
    41     void print(const std::string&) const;
     41    void print(void) const;
    4242
    4343    void purge(void);
  • trunk/lib/File.cc

    r29 r58  
    8888  }
    8989
    90   void File::print(const std::string& path) const
     90  void File::print(void) const
    9191  {
    92     std::string output(path + output_name_ + ".html");
     92    std::string output(output_name_ + ".html");
    9393    std::ofstream os(output.c_str());
    9494    print_header(os);
  • trunk/lib/File.h

    r29 r58  
    3030    ///
    3131    ///
    32     void print(const std::string& path) const;
     32    void print(void) const;
    3333
    3434  private:
  • trunk/lib/Node.h

    r29 r58  
    3434
    3535    ///
    36     /// Function printing HTML in directory path
     36    /// Function printing HTML in current working directory
    3737    ///
    38     virtual void print(const std::string& path) const=0;
     38    virtual void print(void) const=0;
    3939
    4040    ///
Note: See TracChangeset for help on using the changeset viewer.