Changeset 582 for branches/0.6-stable
- Timestamp:
- Apr 10, 2008, 10:23:24 PM (15 years ago)
- Location:
- branches/0.6-stable
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.6-stable/lib/Date.cc
r430 r582 69 69 struct tm* last = std::gmtime(&t1); 70 70 71 u _int year=0;71 unsigned int year=0; 72 72 while (t0<=t1) { 73 73 ++year; … … 85 85 } 86 86 87 u _int month=0;87 unsigned int month=0; 88 88 while (t0<=t1) { 89 89 ++month; … … 102 102 103 103 104 u _int day = (t1-t0)/24/60/60;104 unsigned int day = (t1-t0)/24/60/60; 105 105 ss << day << " day"; 106 106 if (day!=1) … … 117 117 struct tm* timeinfo = std::localtime(&time_); 118 118 119 u _int year, month, day, hour, minute, second;119 unsigned int year, month, day, hour, minute, second; 120 120 std::string tmp; 121 121 std::getline(sstream,tmp,'-'); -
branches/0.6-stable/lib/GnuplotFE.cc
r489 r582 38 38 39 39 40 void GnuplotFE::plot(std::vector<u _int>& y, const std::string& format)40 void GnuplotFE::plot(std::vector<unsigned int>& y, const std::string& format) 41 41 { 42 42 if (!date_.empty()) { … … 58 58 59 59 60 void GnuplotFE::replot(std::vector<u _int>& y)60 void GnuplotFE::replot(std::vector<unsigned int>& y) 61 61 { 62 62 if (!date_.empty()) { -
branches/0.6-stable/lib/GnuplotFE.h
r430 r582 79 79 /// shorter than \a y vector. 80 80 /// 81 void plot(std::vector<u _int>& y,const std::string& format="%y-%b");81 void plot(std::vector<unsigned int>& y,const std::string& format="%y-%b"); 82 82 83 83 /// … … 86 86 /// axis data and possible modifications of \a y. 87 87 /// 88 void replot(std::vector<u _int>& y);88 void replot(std::vector<unsigned int>& y); 89 89 90 90 /// -
branches/0.6-stable/lib/html_utility.h
r430 r582 43 43 /// 44 44 std::string anchor(const std::string& url, 45 const std::string& name, u _int level=0,45 const std::string& name, unsigned int level=0, 46 46 const std::string& title=""); 47 47 … … 58 58 /// \param level 59 59 /// \param 60 void print_header(std::ostream& os, std::string name, u _int level,60 void print_header(std::ostream& os, std::string name, unsigned int level, 61 61 std::string user, std::string item, std::string path); 62 62 -
branches/0.6-stable/lib/utility.h
r478 r582 78 78 /// @return x in hexadecimal base 79 79 /// 80 std::string hex(int x, u _int width=0);80 std::string hex(int x, unsigned int width=0); 81 81 82 82 /// -
branches/0.6-stable/test/utility_test.cc
r429 r582 27 27 #include <string> 28 28 29 bool test_hex(int, u _int, std::string);29 bool test_hex(int, unsigned int, std::string); 30 30 31 31 int main(const int argc,const char* argv[]) … … 42 42 } 43 43 44 bool test_hex(int x, u _int w, std::string facit)44 bool test_hex(int x, unsigned int w, std::string facit) 45 45 { 46 46 if (theplu::svndigest::hex(x,w)==facit)
Note: See TracChangeset
for help on using the changeset viewer.