X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=inc%2FFBaseColLinkedList.h;h=58104c9f54454b85c1714858f594bc7bfe7a5015;hb=HEAD;hp=32afbd5beab99210187541b89721254359110988;hpb=851cb906a7b33299709f32d7371c46577e853d36;p=platform%2Fframework%2Fnative%2Fappfw.git diff --git a/inc/FBaseColLinkedList.h b/inc/FBaseColLinkedList.h index 32afbd5..58104c9 100644 --- a/inc/FBaseColLinkedList.h +++ b/inc/FBaseColLinkedList.h @@ -108,7 +108,7 @@ public: * @since 2.0 * * @param[in] deleter The function pointer to type of the element deleter - * @remarks To create an owing collection, set the element deleter value as @c SingleObjectDeleter. This gives the collection the ownership of elements and the collection will destroy elements. @n + * @remarks To create an owning collection, set the element deleter value as @c SingleObjectDeleter. This gives the collection the ownership of elements and the collection will destroy elements. @n * On the other hand, to create a non-owning collection, you do not need to set the element deleter value, as @c NoOpDeleter is the default element deleter. * It means that you do not transfer the ownership of elements to the collection. * @see NoOpDeleter() @@ -212,6 +212,20 @@ public: virtual Object* GetAt(int index); /** + * Gets the reference of the object at the specified index of the calling list. + * + * @since 3.0 + * + * @return The reference of the object at the specified index of the list + * @param[in] index The index of the object to read + * @exception E_SUCCESS The method is successful. + * @exception E_OUT_OF_RANGE The specified index is outside the bounds of the data structure, or + * the specified @c index is equal to or greater than the number of elements or less than @c 0. + * @remarks The specific error code can be accessed using the GetLastResult() method. + */ + virtual Object*& GetAtRef(int index); + + /** * Gets an IList with the specified range from the calling list object. * * @since 2.0