source: trunk/lib/File.h @ 14

Last change on this file since 14 was 14, checked in by Peter Johansson, 17 years ago

adding Stats class and removed pointer from node to its mother(dir), which enforced some changes here and there

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