X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=inc%2FFBaseInt8.h;h=bfa88351f4aa2770764fd9db77cf81e4bc19eb6d;hb=fb5667f78709a4d3614533078d60f149a6323377;hp=950347dc3914cdd38745a6ee19cdbf49c5aabb54;hpb=14883320830aa32ca9936685ca49eeb6b538b0ef;p=platform%2Fframework%2Fnative%2Fappfw.git diff --git a/inc/FBaseInt8.h b/inc/FBaseInt8.h index 950347d..bfa8835 100644 --- a/inc/FBaseInt8.h +++ b/inc/FBaseInt8.h @@ -207,8 +207,10 @@ public: * @return An error code * @param[in] s A string representing a numeric value * @param[out] ret The result of the operation - * @exception E_SUCCESS The method is successful. - * @exception E_NUM_FORMAT The specified string does not contain a number that can be parsed. + * @exception E_SUCCESS The method is successful. + * @exception E_NUM_FORMAT The specified string does not contain a number that can be parsed. + * @exception E_OUT_OF_RANGE The decoded value is not between VALUE_MIN and VALUE_MAX range. @b Since: @b 3.0 + * * @remarks This method accepts decimal, hexadecimal, and octal numbers given by the * following grammar: * @code @@ -241,8 +243,10 @@ public: * @return An error code * @param[in] s A string representing a numeric value * @param[out] ret The result of the operation - * @exception E_SUCCESS The method is successful. - * @exception E_NUM_FORMAT The specified string does not contain a byte that can be parsed. + * @exception E_SUCCESS The method is successful. + * @exception E_NUM_FORMAT The specified string does not contain a byte that can be parsed. + * @exception E_OUT_OF_RANGE The parsed value is not between VALUE_MIN and VALUE_MAX range. @b Since: @b 3.0 + * * @remarks * - This method assumes that the string representing the numeric value uses a radix 10. * - This method guarantees that the original value of out-parameter is not changed when the method returns error. @@ -260,11 +264,13 @@ public: * @return The @c signed @c char equivalent of the specified string representing the numeric value using the specified index * @param[in] s A string representing a numeric value * @param[in] radix The radix of the string representing a numeric value @n - * It must either be 2, 8, 10, or 16. + * Radix value range is from 2 to 36. * @param[out] ret The result of the operation - * @exception E_SUCCESS The method is successful. - * @exception E_NUM_FORMAT The specified string does not contain a number that can be parsed. - * @exception E_OUT_OF_RANGE The specified @c radix is invalid. + * @exception E_SUCCESS The method is successful. + * @exception E_NUM_FORMAT The specified string does not contain a number that can be parsed. + * @exception E_OUT_OF_RANGE The specified @c radix is invalid or + * The parsed value is not between VALUE_MIN and VALUE_MAX range. @b Since: @b 3.0 + * * @remarks This method guarantees that the original value of out-parameter is not changed when the method returns error. */ static result Parse(const String& s, int radix, char& ret);