Develop and Download Open Source Software

Browse Subversion Repository

Diff of /Conograph/trunk/src/utility_func/zstring.hh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 32 by rtomiyasu, Fri Feb 22 04:51:31 2013 UTC revision 33 by rtomiyasu, Wed Sep 7 04:38:51 2016 UTC
# Line 27  THE SOFTWARE. Line 27  THE SOFTWARE.
27  #ifndef _ZSTRING_HH_  #ifndef _ZSTRING_HH_
28  #define _ZSTRING_HH_  #define _ZSTRING_HH_
29    
30    #include <vector>
31  #include <sstream>  #include <sstream>
32  #include "../RietveldAnalysisTypes.hh"  #include "../zerror_type/ZErrorType.hh"
33  #include "../zerror_type/error_mes.hh"  
34    class ZErrorMessage;
35    
36    using namespace std;
37    
38  // Change the argument type from T to string.  // Change the argument type from T to string.
39  template<class T>  template<class T>
# Line 52  inline string num2str(const T& num) Line 56  inline string num2str(const T& num)
56    
57    
58  template<class T>  template<class T>
59  inline string num2str(const T& num, const Int4& precision)  inline string num2str(const T& num, const int& precision)
60  {  {
61    stringstream strstream;    stringstream strstream;
62    strstream.precision(precision);    strstream.precision(precision);

Legend:
Removed from v.32  
changed lines
  Added in v.33

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26