source: trunk/bin/Parameter.h @ 37

Last change on this file since 37 was 37, checked in by Peter Johansson, 16 years ago

added Parameter class and main doing nothing.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 703 bytes
Line 
1// $Id: Parameter.h 37 2006-01-13 10:22:05Z peter $
2
3#ifndef _theplu_svnstat_parameter_
4#define _theplu_svnstat_parameter_
5
6#include <string>
7
8namespace theplu {
9namespace svnstat {
10
11  // class for command line options.
12  class Parameter {
13  public:
14    Parameter(const int argc,const char *argv[]);
15    inline bool force(void) const { return force_; }
16    inline const std::string& outdir(void) const { return outdir_; }
17    inline const std::string& root(void) const { return root_; }
18    inline bool verbose(void) const { return verbose_; }
19
20  private:
21    void analyse(void);
22    void help(void);
23    void version(void);
24
25    bool force_;
26    std::string outdir_;
27    std::string root_;
28    bool verbose_;
29   
30  };
31
32}} // of namespace svnstat and namespace theplu
33
34#endif
Note: See TracBrowser for help on using the repository browser.