Changeset 356
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Directory.cc
r344 r356 56 56 output_dir_=local_path(); 57 57 if (!output_dir_.empty()) 58 output_dir_+= "/";58 output_dir_+='/'; 59 59 60 60 using namespace std; -
trunk/lib/File.cc
r345 r356 47 47 output_dir_=output; 48 48 if (!output_dir_.empty()) 49 output_dir_+= "/";49 output_dir_+='/'; 50 50 } 51 51 … … 65 65 std::string File::output_path(void) const 66 66 { 67 return local_path_+".html";67 return output_dir()+name()+".html"; 68 68 } 69 69 -
trunk/lib/File.h
r343 r356 56 56 57 57 /** 58 @return output dir for example 'lib' for this file59 */60 std::string output_dir(void) const;61 62 /**63 58 @return output path for example 'lib/File.h.html' for this file 64 59 */ -
trunk/lib/Node.cc
r345 r356 200 200 color="dark"; 201 201 os << "<tr class=\"" << color << "\"><td>"; 202 os << anchor(*i+"/"+line_type+ output_path()202 os << anchor(*i+"/"+line_type+"/"+output_path() 203 203 ,*i, level_+2, "View statistics for "+*i); 204 204 os << "</td><td>" << stats_.lines(*i) -
trunk/lib/Node.h
r343 r356 131 131 132 132 /** 133 Note that returned string always end with '/' with the 134 exception when an empty string is returned. 135 133 136 @return output dir for example 'lib' for this file 134 137 */ … … 136 139 137 140 /** 138 @return output path for example 'lib/ File.h.html' for this file141 @return output path for example 'lib/Node.h.html' for this file 139 142 */ 140 143 virtual std::string output_path(void) const=0;
Note: See TracChangeset
for help on using the changeset viewer.