This file defines some helper functions for generating string representations, most of them for internal use only!
This file is part of the Lumina Graphics Framework.
Go to the source code of this file.
Functions | |
template<typename T > | |
std::enable_if < std::is_integral< T >::value, std::string >::type | numberToRep (T in) |
Helper function to generate a string from a arbitrary type. More... | |
template<typename T > | |
std::enable_if < std::is_floating_point< T > ::value &&!std::is_same< T, half >::value, std::string > ::type | numberToRep (T in) |
template<typename T > | |
std::enable_if< std::is_same < T, half >::value, std::string >::type | numberToRep (T in) |
template<typename T > | |
std::enable_if <!std::is_arithmetic< T > ::value, std::string >::type | numberToRep (const T &in) |
template<typename T > | |
const char * | typeCharRep () |
template<> | |
constexpr const char * | typeCharRep< int > () |
template<> | |
constexpr const char * | typeCharRep< unsigned int > () |
template<> | |
constexpr const char * | typeCharRep< float > () |
template<> | |
constexpr const char * | typeCharRep< double > () |