Changeset 482 for trunk/lib/Stats.h
- Timestamp:
- Oct 13, 2007, 3:40:38 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Stats.h
r468 r482 32 32 33 33 #include <map> 34 #include <istream> 34 35 #include <set> 35 36 #include <string> … … 104 105 { return accumulated(total_, user).back(); } 105 106 107 /** 108 Load object from a stream. 109 110 \return true if successful 111 */ 112 bool load_cache(std::istream&); 113 106 114 void parse(const std::string&); 107 115 … … 178 186 const Parser::line_type&); 179 187 180 181 /** 182 Load object from a stream. 183 */ 184 void load(std::istream&); 188 // Change this string if cache format is changed in such a way 189 // that all old cache files are obsolete. 190 inline std::string end_of_cache(void) const {return "END OF OK CACHE FILE";} 191 inline std::string code_cache(void) const {return "CACHE CODE";} 192 inline std::string comments_cache(void) const {return "CACHE COMMENTS";} 193 inline std::string empty_cache(void) const {return "CACHE EMPTY";} 194 inline std::string total_cache(void) const {return "CACHE TOTAL";} 195 185 196 186 197 /**
Note: See TracChangeset
for help on using the changeset viewer.