Changeset 343 for trunk/lib/File.cc


Ignore:
Timestamp:
May 19, 2007, 3:58:19 PM (14 years ago)
Author:
Peter Johansson
Message:

refs #169

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/File.cc

    r307 r343  
    4444             const std::string& output)
    4545    : Node(level,path,output)
    46   {}
     46  {
     47    output_dir_=output;
     48    if (!output_dir_.empty())
     49      output_dir_+="/";
     50  }
    4751
    4852
     
    5357
    5458
    55   const std::string File::node_type(void) const
     59  std::string File::node_type(void) const
    5660  {
    5761    return std::string("file");
     62  }
     63
     64
     65  std::string File::output_dir(void) const
     66  {
     67    return std::string();
     68  }
     69
     70
     71  std::string File::output_path(void) const
     72  {
     73    return local_path_+".html";
    5874  }
    5975
Note: See TracChangeset for help on using the changeset viewer.