MCPcopy Create free account
hub / github.com/YCAMInterlab/Duration / isNumber

Function isNumber

Duration/src/ofxTLUIHeader.cpp:37–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36#include <locale>
37bool isNumber(const string& s){
38 locale loc;
39 std::string::const_iterator it = s.begin();
40 while (it != s.end() && (std::isdigit(*it, loc))) ++it;
41 return !s.empty() && it == s.end();
42}
43
44ofxTLUIHeader::ofxTLUIHeader(){
45 gui = NULL;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected