//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
#include <FBaseNumber.h>
-
namespace Tizen { namespace Base
{
/**
*
* @since 2.0
*
- * @return An integer value indicating the hash value of the specified @c long @c long value
+ * @return An integer value indicating the hash value of the specified @c long @c long value
* @param[in] val A @c long @c long value to get the hash value
*/
static int GetHashCode(long long val);
*
* @since 2.0
*
- * @return The string containing a Unicode representation of the specified @c signed @c long @c long value
+ * @return The string containing a Unicode representation of the specified @c signed @c long @c long value
* @param[in] value A @c signed @c long @c long value to convert
*/
static String ToString(long long value);
*
* @since 2.0
*
- * @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.
- * @remarks This method assumes that the string representing the numeric value
- * uses a radix 10.
+ * @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.
+ * @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.
*/
static result Parse(const String& s, long long& ret);
*
* @since 2.1
*
- * @return An error code
- * @param[in] s A string representing a numeric value
- * @param[in] radix The radix of the string representing a unmeric value @n
+ * @return An error code
+ * @param[in] s A string representing a numeric value
+ * @param[in] radix The radix of the string representing a numeric value @n
* It must be either 2, 8, 10 or 16.
- * @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.
+ * @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.
+ * @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, long long& ret);
private:
friend class _LongLongImpl;
- class _LongLongImpl * __pLongLongImpl;
+ class _LongLongImpl* __pLongLongImpl;
}; // LongLong