|
#pragma once
#include <string>
namespace Elmax
{
class DataType
{
public:
~DataType(void);
DataType( int i );
DataType( unsigned int ui );
DataType( const __int64& i64 );
DataType( const unsigned __int64& ui64 );
DataType( float f );
DataType( const double& d );
DataType( const std::string& s );
DataType( const std::wstring& ws );
DataType( const char* pc );
DataType( const wchar_t* pwc );
DataType( char c );
DataType( wchar_t wc );
std::wstring& ToString() { return m_str; }
protected:
std::wstring m_str;
};
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Shao Voon is from Singapore. His interest lies primarily in computer graphics, software optimization, concurrency, security, and Agile methodologies.
In recent years, he shifted focus to software safety research. His hobby is writing a free C++ DirectX photo slideshow application which can be viewed
here.