X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=include%2Fanna%2Fcore%2Ffunctions.hpp;fp=include%2Fanna%2Fcore%2Ffunctions.hpp;h=b2a24ab7779bfa55e3e2354449084ffb4ada9176;hb=706c5ba5c35199816446453e6e144200cf79265b;hp=d43dcd07756c6cac0d2d0f55b03600d025686da0;hpb=24ef34af54c4a42fcbd65a0ef065bddaaf1bd096;p=anna.git diff --git a/include/anna/core/functions.hpp b/include/anna/core/functions.hpp index d43dcd0..b2a24ab 100644 --- a/include/anna/core/functions.hpp +++ b/include/anna/core/functions.hpp @@ -99,15 +99,25 @@ struct functions { /** \param number Numero a convertir. - @return Un literal con el numero convertido a cadena decimal. + @return Un literal con el numero sin signo convertido a cadena decimal. */ - static std::string asString(const unsigned long number) throw(); + static std::string asString(const unsigned int number) throw(); /** \param number Numero a convertir. @return Un literal con el numero sin signo convertido a cadena decimal. */ - static std::string asString(const unsigned int number) throw(); + static std::string asString(const unsigned long long int number) throw() { + return asString((U64)number); + } + + /** + \param number Numero a convertir. + @return Un literal con el numero sin signo convertido a cadena decimal. + */ + static std::string asString(const long long int number) throw() { + return asString((S64)number); + } /** Devuelve un literal con tel numero convertido a cadena decimal @@ -232,12 +242,6 @@ struct functions { */ static std::string asHexString(const S64 number) throw(); - /** - \param number Numero a convertir. - @return Un literal con el numero convertido a cadena hexadecimal. - */ - static std::string asHexString(const long number) throw(); - /** \param number Numero a convertir. @return Un literal con el numero convertido a cadena hexadecimal.