- Timestamp:
- Aug 2, 2006, 6:39:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Parser.h
r125 r128 2 2 3 3 /* 4 Copyright (C) 2006 Peter Johansson4 Copyright (C) 2006 Jari Häkkinen, Peter Johansson 5 5 6 6 This file is part of svnstat, http://lev.thep.lu.se/trac/svnstat … … 25 25 #define _theplu_svnstat_parser_ 26 26 27 #include < fstream>27 #include <iosfwd> 28 28 #include <string> 29 29 #include <vector> … … 32 32 namespace svnstat{ 33 33 34 35 36 37 38 39 34 /// 35 /// Class parsing files 36 /// 37 class Parser 38 { 39 public: 40 40 /// 41 41 /// A line is considered empty if it only contains spaces and tabs. … … 52 52 }; 53 53 54 55 54 /// 55 /// @brief Constructor 56 56 /// 57 57 explicit Parser(const std::string&); … … 62 62 inline const std::vector<line_type>& type(void) const { return type_; } 63 63 64 64 private: 65 65 /// 66 66 /// Copy constructor (not implemented) 67 67 /// 68 68 Parser(const Parser& other); 69 69 70 70 void cc_mode(std::istream&); … … 72 72 std::vector<line_type> type_; 73 73 74 74 }; 75 75 76 76 ///
Note: See TracChangeset
for help on using the changeset viewer.