X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=inc%2FFBaseObject.h;h=f75eb44180dbd082bcf3db26b188b630ddb2c0a9;hb=HEAD;hp=eb21496bf0e3b934fe847bc8e8e8d90c4c759b41;hpb=e80995cdc52540955e96e50a86d3b298a48f416a;p=platform%2Fframework%2Fnative%2Fappfw.git diff --git a/inc/FBaseObject.h b/inc/FBaseObject.h index eb21496..f75eb44 100644 --- a/inc/FBaseObject.h +++ b/inc/FBaseObject.h @@ -65,9 +65,11 @@ public: * @return @c true if the value of the specified instance of %Object is equal to the value of the current instance of %Object, @n * else @c false * @param[in] obj An instance of %Object to compare - * @remarks The default implementation of this method returns @c true - * if the two instances have the same address. @n - * The method can be overridden to support value equality. Furthermore, this method must return the same result as the equality operator. + * @remarks + * - The default implementation of this method returns @c true, + * if the two instances have the same address. + * - The method can be overridden to support value equality. + * Furthermore, this method must return the same result as the equality operator. */ virtual bool Equals(const Object& obj) const; @@ -76,10 +78,11 @@ public: * * @since 2.0 * - * @return An integer value indicating the hash value of the current instance of %Object - * @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 address of the current instance. + * @return The integer value that indicates the hash value of the current instance of %Object + * @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. + * - The default implementation of this method returns the address of the current instance. */ virtual int GetHashCode(void) const; @@ -107,6 +110,12 @@ protected: // virtual void Object_Reserved1(void) { } +public: + // This pointer is initalized null. It is used to return null pointer. + // + // @since 3.0 + // + static Object* pNullObj; }; // Object }} // Tizen::Base