Mercurial > hg > svcore
diff base/RealTime.h @ 121:7c3e1bc51080
* RFE 1497743: Adjust layer text file format to allow copy/paste into Excel
Use \t as the default separator for text file export, and remove the leading
space from RealTime::toString values
author | Chris Cannam |
---|---|
date | Thu, 08 Jun 2006 11:12:47 +0000 |
parents | 7afcfe666910 |
children | 3c1d5ef43baa |
line wrap: on
line diff
--- a/base/RealTime.h Mon May 22 10:46:43 2006 +0000 +++ b/base/RealTime.h Thu Jun 08 11:12:47 2006 +0000 @@ -21,10 +21,10 @@ #ifndef _REAL_TIME_H_ #define _REAL_TIME_H_ -#include "vamp-sdk/RealTime.h" -using Vamp::RealTime; +//#include "vamp-sdk/RealTime.h" +//using Vamp::RealTime; -#ifdef NOT_DEFINED +//#ifdef NOT_DEFINED #include <iostream> #include <string> @@ -104,9 +104,11 @@ double operator/(const RealTime &r) const; // Return a human-readable debug-type string to full precision - // (probably not a format to show to a user directly) + // (probably not a format to show to a user directly). If align + // is true, prepend " " to the start of positive values so that + // they line up with negative ones (which start with "-"). // - std::string toString() const; + std::string toString(bool align = false) const; // Return a user-readable string to the nearest millisecond // in a form like HH:MM:SS.mmm @@ -123,6 +125,6 @@ std::ostream &operator<<(std::ostream &out, const RealTime &rt); -#endif +//#endif #endif