Changeset 129 for trunk/lib/Node.h
- Timestamp:
- Aug 2, 2006, 7:56:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Node.h
r112 r129 26 26 27 27 #include "Stats.h" 28 #include "SVNinfo.h" 28 29 #include "utility.h" 29 30 … … 61 62 62 63 /// 64 /// @brief Get the author of the latest commit. 63 65 /// 64 /// 65 virtual std::string author(void) const=0; 66 std::string author(void) const { return svninfo_.last_changed_author(); } 66 67 67 68 /// … … 81 82 82 83 /// 84 /// @brief Get the revision number of the latest commit. 83 85 /// 84 ///85 virtual u_int last_changed_rev(void) const=0;86 svn_revnum_t last_changed_rev(void) const 87 { return svninfo_.last_changed_rev(); } 86 88 87 89 /// … … 90 92 inline const std::string& output_name(void) const { return output_name_; } 91 93 92 93 94 95 94 /// 95 /// @brief parsing file using svn blame. 96 /// 97 virtual const Stats& parse(const bool verbose=false)=0; 96 98 97 99 inline const std::string& path(void) const { return path_; } … … 102 104 virtual void print(const bool verbose=false) const=0; 103 105 104 106 protected: 105 107 106 108 /// … … 123 125 u_int level_; 124 126 std::string output_name_; //without suffix 125 126 127 std::string path_; 128 Stats stats_; 127 129 128 130 private: … … 132 134 Node(const Node&); 133 135 136 SVNinfo svninfo_; 134 137 }; 135 138
Note: See TracChangeset
for help on using the changeset viewer.