Changeset 229 for trunk/bin/Parameter.h


Ignore:
Timestamp:
Mar 25, 2007, 10:16:07 PM (14 years ago)
Author:
Peter Johansson
Message:

Modified behaviour of Configuration. Fixes #114, #115, #116

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/Parameter.h

    r226 r229  
    3636  public:
    3737    Parameter(const int argc,const char *argv[]);
     38    inline std::string config_file(void) const { return config_file_; }
    3839    inline bool copyright(void) const { return copyright_; }
    3940    /// @todo
    40     inline const std::map<std::string, std::string>
    41     copyright_alias(void) const { return copyright_alias_; }
    4241    inline bool force(void) const { return force_; }
     42    inline bool generate_config(void) const { return generate_config_; }
    4343    inline bool revisions(void) const { return revisions_; }
    4444    /// @return absolute path to root directory
     
    5252    void defaults(void);
    5353    void help(void);
    54     void print_config(std::string) const;
    55     void read_config(std::string);
    5654    void version(void) const;
    5755
    58     std::string config_path_;
     56    std::string config_file_;
    5957    bool copyright_;
    60     std::map<std::string, std::string> copyright_alias_;
    6158    bool force_;
     59    bool generate_config_;
    6260    bool revisions_;
    6361    std::string root_;
Note: See TracChangeset for help on using the changeset viewer.