Merge "Added new method to the NotificationManager Interface" into tizen_2.2
[platform/framework/native/appfw.git] / inc / FBaseLongLong.h
index 27c73a8..4ec1223 100644 (file)
@@ -18,9 +18,9 @@
  * @file               FBaseLongLong.h
  * @brief              This is the header file for the %LongLong class.
  *
- * @see                        Tizen::Base::Number
- *
  * This header file contains the declarations of the %LongLong class.
+ *
+ * @see                        Tizen::Base::Number
  */
 #ifndef _FBASE_LONG_LONG_H_
 #define _FBASE_LONG_LONG_H_
@@ -35,8 +35,8 @@ namespace Tizen { namespace Base
  *
  *     @since  2.0
  *
- *     The %LongLong class represents an integer value ranging from -9223372036854775808 to 9223372036854775807
- *     , that is, -(2^63) to +((2^63)-1). The class is useful when passing a 64-bit @c signed
+ *     The %LongLong class represents an integer value ranging from @c -9223372036854775808 to @c 9223372036854775807,
+ *     that is, @c -(2^63) to @c +((2^63)-1). The class is useful when passing a 64-bit @c signed
  *     integral value to a method that accepts only an instance of Object. Furthermore,
  *     this class provides methods for converting %LongLong (and @c long @c long) to String, and %String
  *     to %LongLong (and @c long @c long).
@@ -81,7 +81,7 @@ public:
         *
         *      @since                  2.0
         *
-        *      @param[in]      value   A @c long @c long value
+        *      @param[in]      value   The @c long @c long value
         */
        LongLong(long long value = 0);
 
@@ -90,7 +90,7 @@ public:
         *
         *      @since                  2.0
         *
-        *      @param[in]      value   An instance of %LongLong
+        *      @param[in]      value   An instance of %LongLong to copy
         */
        LongLong(const LongLong& value);
 
@@ -106,7 +106,7 @@ public:
         *
         *      @since                  2.0
         *
-        *      @param[in]      rhs     An instance of %LongLong
+        *      @param[in]      rhs     An instance of %LongLong to copy
         */
        LongLong& operator =(const LongLong& rhs);
 
@@ -115,11 +115,11 @@ public:
         *
         *      @since          2.0
         *
-        *      @return         A 32-bit @c signed integer value
+        *      @return         The 32-bit @c signed integer value
         *      @code
-        *      <  0  if the value of @c l1 is less than the value of @c l2
-        *      == 0  if the value of @c l1 is equal to the value of @c l2
-        *      >  0  if the value of @c l1 is greater than the value of @c l2
+        *      <  0  if the value of l1 is less than the value of l2
+        *      == 0  if the value of l1 is equal to the value of l2
+        *      >  0  if the value of l1 is greater than the value of l2
         *      @endcode
         *      @param[in]      l1      The first @c long @c long value to compare
         *      @param[in]      l2      The second @c long @c long value to compare
@@ -127,17 +127,17 @@ public:
        static int Compare(long long l1, long long l2);
 
        /**
-        *      Compares the value of the current instance with the value of the specified instance of the %LongLong class.
+        *      Compares the value of the current instance with the value of the specified instance of %LongLong.
         *
         *      @since          2.0
         *
-        *      @return         A 32-bit @c signed integer value
+        *      @return         The 32-bit @c signed integer value
         *      @code
         *      <  0  if the value of the current instance is less than the value of the specified instance
         *      == 0  if the value of the current instance is equal to the value of the specified instance
         *      >  0  if the value of the current instance is greater than the value of the specified instance
         *      @endcode
-        *      @param[in]      value   An instance of the %LongLong class to compare
+        *      @param[in]      value   An instance of %LongLong to compare
         */
        int CompareTo(const LongLong& value) const;
 
@@ -158,25 +158,26 @@ public:
         *
         *      @since          2.0
         *
-        *      @return         An integer value indicating the hash value of the current instance of %LongLong
-        *      @remarks        Two equal instances must return the same hash value. For better performance,
-        *                              the used hash function must generate a random distribution for all inputs. @n
-        *                              The default implementation of this method returns the value of the current instance.
+        *      @return         The integer value that indicates the hash value of the current instance of %LongLong
+        *      @remarks        
+        *                              - Two equal instances must return the same hash value. @n
+        *                              For better performance, the used hash function must generate a random distribution for all the inputs. @n
+        *                              - The default implementation of this method returns the value of the current instance.
         */
        virtual int GetHashCode(void) const;
 
        /**
-       *        Gets the hash value of the specified @c long @c long value.
-       *
-       *        @since         2.0
-       *
-       *        @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
+        *  Gets the hash value of the specified @c long @c long value.
+        *
+        *  @since         2.0
+        *
+        *  @return      The integer value that indicates the hash value of the specified @c long @c long value
+        *  @param[in]   val   The @c long @c long value used to get the hash value
        */
        static int GetHashCode(long long val);
 
        /**
-        *      Gets the @c signed @c char equivalent of the current instance of the %LongLong class.
+        *      Gets the @c signed @c char equivalent of the current instance of %LongLong.
         *
         *      @since          2.0
         *
@@ -185,7 +186,7 @@ public:
        virtual char ToChar(void) const;
 
        /**
-        *      Gets the @c signed @c short equivalent of the current instance of the %LongLong class.
+        *      Gets the @c signed @c short equivalent of the current instance of %LongLong.
         *
         *      @since          2.0
         *
@@ -194,7 +195,7 @@ public:
        virtual short ToShort(void) const;
 
        /**
-        *      Gets the @c signed @c int equivalent of the current instance of the %LongLong class.
+        *      Gets the @c signed @c int equivalent of the current instance of %LongLong.
         *
         *      @since          2.0
         *
@@ -203,7 +204,7 @@ public:
        virtual int ToInt(void) const;
 
        /**
-        *      Gets the @c signed @c long equivalent of the current instance of the %LongLong class.
+        *      Gets the @c signed @c long equivalent of the current instance of %LongLong.
         *
         *      @since          2.0
         *
@@ -212,7 +213,7 @@ public:
        virtual long ToLong(void) const;
 
        /**
-        *      Gets the @c signed @c float equivalent of the current instance of the %LongLong class.
+        *      Gets the @c signed @c float equivalent of the current instance of %LongLong.
         *
         *      @since          2.0
         *
@@ -221,7 +222,7 @@ public:
        virtual float ToFloat(void) const;
 
        /**
-        *      Gets the @c signed @c double equivalent of the current instance of the %LongLong class.
+        *      Gets the @c signed @c double equivalent of the current instance of %LongLong.
         *
         *      @since          2.0
         *
@@ -230,7 +231,7 @@ public:
        virtual double ToDouble(void) const;
 
        /**
-        *      Gets the @c signed @c long @c long equivalent of the current instance of the %LongLong class.
+        *      Gets the @c signed @c long @c long equivalent of the current instance of %LongLong.
         *
         *      @since          2.0
         *
@@ -239,75 +240,75 @@ public:
        virtual long long ToLongLong(void) const;
 
        /**
-        *      Gets the string representing the value of the current instance of the %LongLong class.
+        *      Gets the string that represents the value of the current instance of %LongLong.
         *
         *      @since          2.0
         *
-        *      @return         The string representing the value of the current instance
+        *      @return         The string that represents the value of the current instance
         */
        virtual String ToString(void) const;
 
        /**
-        *      Gets the string representing the specified @c signed @c long @c long value.
+        *      Gets the string that represents the specified @c signed @c long @c long value.
         *
         *      @since                  2.0
         *
-        *      @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
+        *      @return         The string that contains the Unicode representation of the specified @c signed @c long @c long value
+        *      @param[in]      value   The @c signed @c long @c long value to convert
         */
        static String ToString(long long value);
 
        /**
-        *      Parses the specified string representing a numeric value and
+        *      Parses the specified string that represents a numeric value and
         *      returns the value as a @c signed @c long @c long (as out parameter).
         *
         *      @since                  2.0
         *
         *      @return                 An error code
-        *      @param[in]      s                               A string representing a numeric value
+        *      @param[in]      s                               The string that represents the 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.
+        *                              - This method assumes that the string that represents the numeric value uses a radix @c 10.
+        *                              - This method guarantees that the original value of the out-parameter is not changed when the method returns an error.
         */
        static result Parse(const String& s, long long& ret);
 
        /**
-        *      Parses the specified string representing a numeric value using the specified radix and
+        *      Parses the specified string that represents a numeric value using the specified radix and
         *      returns the value as a @c signed @c long @c long (as out parameter).
         *
         *      @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 numeric value @n
+        *      @param[in]      s                               The string that represents the numeric value
+        *      @param[in]      radix                   The radix of the string that represents 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.
-        *      @remarks        This method guarantees that the original value of out-parameter is not changed when the method returns error.
+        *      @remarks        This method guarantees that the original value of the out-parameter is not changed when the method returns an error.
         */
        static result Parse(const String& s, int radix, long long& ret);
 
        /**
-        *      A constant holding the maximum value a @c long @c long can have; 2^63-1.
+        *      The constant holding the maximum value a @c long @c long can have; @c 2^63-1.
         *
         *      @since  2.0
         */
        static const long long VALUE_MAX = (long long) 0x7FFFFFFFFFFFFFFFLL;
 
        /**
-        *      A constant holding the minimum value a @c long @c long can have; -2^63.
+        *      The constant holding the minimum value a @c long @c long can have; @c -2^63.
         *
         *      @since  2.0
         */
        static const long long VALUE_MIN = (long long) 0x8000000000000000LL;
 
        /**
-        * A @c long @c long value of this instance.
+        * The @c long @c long value of this instance.
         *
         * @since       2.0
         */