Changeset 201 for trunk/lib/File.cc
- Timestamp:
- Sep 9, 2006, 7:36:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/File.cc
r199 r201 56 56 57 57 58 void File::print(const bool verbose) const58 void File::print(const std::string& out_path, const bool verbose) const 59 59 { 60 60 // no output page for binary files 61 61 if (ignore()) 62 62 return; 63 std::string output(out put_name()+ ".html");63 std::string output(out_path + ".html"); 64 64 if (verbose) 65 65 std::cout << "Printing output for " << path_ << std::endl; 66 66 std::ofstream os(output.c_str()); 67 print_header(os, name(), level_ );67 print_header(os, name(), level_+2); 68 68 path_anchor(os); 69 69 os << "<p align=center>\n<img src='" 70 << file_name(stats_.plot(out put_name()+".png",output_name()))70 << file_name(stats_.plot(out_path+".png",local_path())) 71 71 << "' alt='[plot]' border=0>\n</p>"; 72 72 … … 126 126 if (ignore()) 127 127 return; 128 std::cout << "\nCOPYRIGHT " << output_name() << std::endl;128 std::cout << "\nCOPYRIGHT " << local_path() << std::endl; 129 129 // last rev and 4-chars string for each year 130 130 std::vector<std::pair<size_t,std::string> > years;
Note: See TracChangeset
for help on using the changeset viewer.