Mercurial > repos > aaronquinlan > multi_intersect
diff BEDTools-Version-2.14.3/src/utils/stringUtilities/stringUtilities.h @ 1:bec36315bd12 default tip
Deleted selected files
author | aaronquinlan |
---|---|
date | Sat, 19 Nov 2011 14:17:03 -0500 |
parents | dfcd8b6c1bda |
children |
line wrap: on
line diff
--- a/BEDTools-Version-2.14.3/src/utils/stringUtilities/stringUtilities.h Thu Nov 03 10:25:04 2011 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -#ifndef STRINGUTILITIES_H -#define STRINGUTILITIES_H - -#include <cctype> -#include <string> - -/**************************************************** -// isInteger(s): Tests if string s is a valid integer -*****************************************************/ -inline bool isInteger(const std::string& s) { - int len = s.length(); - for (int i = 0; i < len; i++) { - if (!std::isdigit(s[i])) return false; - return true; -} - -#endif /* STRINGUTILITIES_H */ -