
#ifndef HEADER_INCLUDED__TypeConversion_H
#define HEADER_INCLUDED__TypeConversion_H

#include <string>
using std::string;

class CTypeConversion
{
public:
	
	CTypeConversion();
	~CTypeConversion();

	double		String2Double	(string &s);
	int			String2Int		(string &s);
	string		Double2String	(double d);
	string		Float2String	(float f);
	string		Int2String		(int i);

	// Converting a date string 'YYYYMMDD' 
	// to three separate integer values
	void		Get_Date_Int	(string date,
								 int &year,
								 int &month,
								 int &day);

};

#endif /* #ifndef HEADER_INCLUDED__TypeConversion_H */