Ignore:
Timestamp:
Oct 30, 2010, 4:41:51 AM (11 years ago)
Author:
Peter Johansson
Message:

fixes #477

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.8-stable/bin/Parameter.h

    r1119 r1246  
    5555    bool generate_config(void) const ;
    5656    bool ignore_cache(void) const;
    57     /// @return absolute path to root directory
     57
     58    /**
     59       @return Dereferenced absolute path to root directory
     60    */
    5861    std::string root(void) const;
     62
     63    /**
     64       If --root argument is a link we return the file_name(argument).
     65       Otherwise we return file_name(root()). See root(void).
     66
     67       \return basename of --root argument.
     68     */
     69    const std::string& root_basename(void) const;
    5970    bool verbose(void) const;
    6071
     
    8394    yat::utility::OptionSwitch ignore_cache_;
    8495    yat::utility::OptionArg<std::string> root_;
     96    std::string root_basename_;
     97    std::string root_full_;
    8598    yat::utility::OptionSwitch verbose_;
    8699  protected:
Note: See TracChangeset for help on using the changeset viewer.