Parent Directory | Revision Log | Patch
revision 2011 by schoenebeck, Sat Jul 4 12:31:44 2009 UTC | revision 2012 by iliev, Fri Oct 23 17:53:17 2009 UTC | |
---|---|---|
# | Line 90 inline int ToInt(const std::string& s) t | Line 90 inline int ToInt(const std::string& s) t |
90 | return i; | return i; |
91 | } | } |
92 | ||
93 | inline float ToFloat(const std::string& s) throw(LinuxSampler::Exception) { | |
94 | float i; | |
95 | std::istringstream iss(s); | |
96 | if(!(iss >> i)) throw LinuxSampler::Exception("Not a floating-point number"); | |
97 | return i; | |
98 | } | |
99 | ||
100 | class Runnable { | class Runnable { |
101 | public: | public: |
102 | virtual ~Runnable() { } | virtual ~Runnable() { } |
|
ViewVC Help | |
Powered by ViewVC |