Last change
on this file since 48 was
48,
checked in by Peter Johansson, 16 years ago
|
added class for keeping stats from svn log
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id
|
File size:
697 bytes
|
Line | |
---|
1 | //$Id: CommitStat.h 48 2006-01-13 21:37:26Z peter $ |
---|
2 | |
---|
3 | #ifndef _theplu_svnstat_commit_stat_ |
---|
4 | #define _theplu_svnstat_commit_stat_ |
---|
5 | |
---|
6 | #include <string> |
---|
7 | |
---|
8 | namespace theplu{ |
---|
9 | namespace svnstat{ |
---|
10 | |
---|
11 | /// |
---|
12 | /// Class for parsing and storing information from svn log |
---|
13 | /// |
---|
14 | class CommitStat |
---|
15 | { |
---|
16 | public: |
---|
17 | /// |
---|
18 | /// @brief Default Constructor |
---|
19 | /// |
---|
20 | inline CommitStat(void) {} |
---|
21 | |
---|
22 | /// |
---|
23 | /// Function parsing output from 'svn log \a path'. |
---|
24 | /// |
---|
25 | /// @return return value from system call |
---|
26 | /// |
---|
27 | int parse(const std::string& path); |
---|
28 | |
---|
29 | private: |
---|
30 | /// |
---|
31 | /// @return return value from 'svn log \a path' |
---|
32 | /// |
---|
33 | int log(const std::string& path) const; |
---|
34 | |
---|
35 | inline void reset(void) {}; |
---|
36 | }; |
---|
37 | }} |
---|
38 | // end of namespace svnstat end of namespace theplu |
---|
39 | |
---|
40 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.