Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (21 sloc) 0.593 kb
#ifndef TD3_UTILITY_HPP_INCLUDED
#define TD3_UTILITY_HPP_INCLUDED
#include <string>
#include <vector>
//Work around for scoped using statements
#define string std::string
#define vector std::vector
class td3Utility
{
public:
static string toString(int, bool fpn = 0);
static string toString(double, bool fpn = 1);
static vector<vector<string> > makeVector(string, string);
static bool isFloat(string);
static int stoi(string);
static double stof(string);
};
//undefine the previously defined aliases
#undef string
#undef vector
#endif // TD3_UTILITY_HPP_INCLUDED
Jump to Line
Something went wrong with that request. Please try again.