GeNN
3.3.0
GPU enhanced Neuronal Networks (GeNN)
stringUtils.h
Go to the documentation of this file.
1
2
#ifndef STRINGUTILS_H
3
#define STRINGUTILS_H
4
5
#include <string>
6
#include <sstream>
7
8
9
// Forward declarations
10
class
NNmodel
;
11
12
using namespace
std
;
13
14
15
//--------------------------------------------------------------------------
18
//--------------------------------------------------------------------------
19
20
template
<
class
T> std::string
toString
(T t)
21
{
22
std::stringstream s;
23
s << std::showpoint << t;
24
return
s.str();
25
}
26
27
#define tS(X) toString(X)
28
29
#endif // STRINGUTILS_H
NNmodel
Definition:
modelSpec.h:132
std
toString
std::string toString(T t)
template functions for conversion of various types to C++ strings
Definition:
stringUtils.h:20
lib
include
stringUtils.h
Generated on Thu Apr 11 2019 11:11:27 for GeNN by
1.8.13