source: trunk/bin/Parameter.h @ 58

Last change on this file since 58 was 49, checked in by Jari Häkkinen, 16 years ago

bin directory compiles but svnstat not finished.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 710 bytes
Line 
1// $Id: Parameter.h 49 2006-01-14 00:53:56Z jari $
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& root(void) const { return root_; }
17    inline const std::string& targetdir(void) const { return targetdir_; }
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 root_;
27    std::string targetdir_;
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.