Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (21 sloc) 593 Bytes
#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