Last change
on this file since 80 was
73,
checked in by Jari Häkkinen, 18 years ago
|
Divided Gnuplot class into a basic gnuplot communication class
and a front end class specialized for svnstat.
Added option to plot stats against time or revision.
Removed gnuplot usage of temporary files.
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id
|
File size:
810 bytes
|
Line | |
---|
1 | // $Id: Parameter.h 73 2006-03-04 18:10:07Z jari $ |
---|
2 | |
---|
3 | #ifndef _theplu_svnstat_parameter_ |
---|
4 | #define _theplu_svnstat_parameter_ |
---|
5 | |
---|
6 | #include <string> |
---|
7 | |
---|
8 | namespace theplu { |
---|
9 | namespace 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 bool revisions(void) const { return revisions_; } |
---|
17 | inline const std::string& root(void) const { return root_; } |
---|
18 | inline const std::string& targetdir(void) const { return targetdir_; } |
---|
19 | inline bool verbose(void) const { return verbose_; } |
---|
20 | |
---|
21 | private: |
---|
22 | void analyse(void); |
---|
23 | void defaults(void); |
---|
24 | void help(void); |
---|
25 | void version(void); |
---|
26 | |
---|
27 | bool force_; |
---|
28 | bool revisions_; |
---|
29 | std::string root_; |
---|
30 | std::string targetdir_; |
---|
31 | bool verbose_; |
---|
32 | }; |
---|
33 | |
---|
34 | }} // of namespace svnstat and namespace theplu |
---|
35 | |
---|
36 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.