source: trunk/lib/File.h @ 63

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

plotting vs date rather than revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 942 bytes
Line 
1// $Id: File.h 60 2006-01-16 10:03:04Z peter $
2
3#ifndef _theplu_svnstat_file_
4#define _theplu_svnstat_file_
5
6#include "Node.h"
7
8#include <string>
9
10namespace theplu{
11namespace svnstat{
12
13  class File : public Node
14  {
15  public:
16    ///
17    /// @brief Default Constructor
18    ///
19    File(const std::string& path, const std::string& output="") 
20      : Node(path,output), binary_(false) {}
21
22    ///
23    /// Parsing out information from svn repository
24    ///
25    /// @return true if succesful
26    ///
27    const Stats& parse(const bool verbose=false);
28
29    ///
30    ///
31    ///
32    void print(const bool verbose=false) const;
33
34  private:
35    ///
36    /// @brief Parsing svn blame output
37    ///
38    /// @return true if parsing is succesful
39    ///
40    bool blame(void) const;
41   
42    ///
43    /// @brief Copy Constructor, not implemented
44    ///
45    File(const File&);
46
47    std::string author_;
48    bool binary_;
49    u_int revision_;
50 
51  };
52
53}} // end of namespace svnstat and namespace theplu
54
55#endif
56
57
Note: See TracBrowser for help on using the repository browser.