Enable build with iniparser v 3.1
[platform/framework/native/appfw.git] / inc / FBaseInteger8.h
index eca0b9a..e5cce38 100644 (file)
@@ -189,7 +189,9 @@ public:
         * @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.
-        * @remarks             This method accepts decimal, hexadecimal, and octal numbers given by the
+        * @remarks     
+        *              - This method guarantees that the original value of out-parameter is not changed when the method returns error.
+        *              - This method accepts decimal, hexadecimal, and octal numbers given by the
         *                              following grammar:
         * @code
         *      - DecodableString:
@@ -240,17 +242,31 @@ public:
        static result Parse(const String& s, int radix, int8_t& ret);
 
        /**
-        * Gets the @c signed @c char equivalent of the current instance of %Integer8.
+        * Gets the @c char equivalent of the current instance of %Integer8.
         *
         * @since 3.0
+        * @brief       <i> [Deprecated] </i>
         *
-        * @return      The @c signed @c char equivalent of the current instance
-        * @remarks     This method has portability issue. Return value may not be @c signed @c char since char is treated as unsigned char in ARM architecture. @n
+        * @deprecated  This method has portability issue.
+        *              Return value may not be @c signed @c char since char is treated as unsigned char in ARM architecture. @n
+        *              Use ToInt8() method to get @c int8_t
+        *
+        * @return      The @c char equivalent of the current instance
         *
         */
        virtual char ToChar(void) const;
 
        /**
+        * Gets the @c int8_t equivalent of the current instance of %Integer8.
+        *
+        * @since 3.0
+        *
+        * @return      The @c int8_t equivalent of the current instance
+        *
+        */
+       virtual int8_t ToInt8(void) const;
+
+       /**
         * Gets the @c signed @c short equivalent of the current instance of %Integer8.
         *
         * @since 3.0