source: trunk/lib/File.h @ 37

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

modified output file names

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
RevLine 
[7]1// $Id: File.h 29 2006-01-09 09:35:50Z peter $
[4]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    ///
[29]19    File(const std::string& path, const std::string& output="") 
20      : Node(path,output), binary_(false) {}
[9]21
[4]22    ///
23    /// Parsing out information from svn repository
24    ///
25    /// @return true if succesful
26    ///
[14]27    const Stats& parse(void);
[4]28
[23]29    ///
30    ///
31    ///
32    void print(const std::string& path) const;
[10]33
[23]34  private:
[4]35    ///
36    /// @brief Parsing svn blame output
37    ///
38    /// @return true if parsing is succesful
39    ///
40    bool blame(void) const;
41   
[23]42    ///
43    /// @brief Copy Constructor, not implemented
44    ///
45    File(const File&);
46
47    ///
48    /// Extracts information from 'svn info <node>'
49    ///
50    /// @note <node> must be in subversion control.
51    ///
52    void info(void);
53
54    std::string author_;
[4]55    bool binary_;
[23]56    u_int revision_;
[4]57 
58  };
59
[7]60}} // end of namespace svnstat and namespace theplu
[4]61
[7]62#endif
[4]63
[7]64
Note: See TracBrowser for help on using the repository browser.