#include <FBaseTypes.h>
#include <FBaseColICollection.h>
-
namespace Tizen { namespace Base { namespace Collection
{
/**
* @param[in] capacity The number of elements in the queue @n
* The default capacity is @c 10.
* @exception E_SUCCESS The method is successful.
- * @exception E_INVALID_ARG The specified input parameter is invalid, or
- * the specified @c capacity is negative.
+ * @exception E_INVALID_ARG The specified input parameter is invalid, or
+ * the specified @c capacity is negative.
* @remarks If the number of elements added to the queue reaches the current capacity,
* the capacity is automatically increased by memory reallocation.
* Therefore, if the size of the queue can be estimated,
* @since 2.0
*
* @return An error code
- * @param[in] collection The collection to copy elements from
+ * @param[in] collection The collection to copy elements from
* @exception E_SUCCESS The method is successful.
* @exception E_INVALID_OPERATION The current state of the instance prohibits the execution of the specified operation, or
* the @c collection is modified during the operation of this method.
* @exception E_UNDERFLOW The operation (arithmetic/casting/conversion) has caused an underflow, or
* this queue is empty.
* @remarks The specific error code can be accessed using the GetLastResult() method.
- * @see Enqueue(Object*)
+ * @see Enqueue(Object*)
*/
virtual Object* Dequeue(void);
* @since 2.0
*
* @return An error code
- * @param[in] obj The object to add to this queue
+ * @param[in] obj The object to add to this queue
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
* @remarks This method performs a shallow copy. It inserts just the pointer; not the element itself.
- * @see Dequeue()
+ * @see Dequeue()
* @endif
*/
result Enqueue(const Object& obj)
* @since 2.0
*
* @return An error code
- * @param[in] pObj The pointer to object to add to this queue
- * @exception E_SUCCESS The method is successful.
+ * @param[in] pObj The pointer to object to add to this queue
+ * @exception E_SUCCESS The method is successful.
* @exception E_INVALID_ARG The specified input parameter is invalid.
* @remarks This method performs a shallow copy. It inserts just the pointer; not the element itself.
- * @see Dequeue()
+ * @see Dequeue()
*/
virtual result Enqueue(Object* pObj);
* @return An enumerator (an instance of the IEnumerator derived class) of this queue, @n
* else @c null if an exception occurs
* @remarks The specific error code can be accessed using the GetLastResult() method.
- * @see IEnumerator
+ * @see IEnumerator
*/
virtual IEnumerator* GetEnumeratorN(void) const;
/**
* Removes all objects and their pointers in collection, when the @c deallocate parameter is set to @c true.
- *
+ *
* @since 2.0
*
* @param[in] deallocate Set to @c true to deallocate all objects, @n
* @since 2.0
*
* @return @c true if this queue contains all the elements in the specified collection, @n
- * else @c false
- * @param[in] collection The collection to locate
+ * else @c false
+ * @param[in] collection The collection to locate
* @exception E_SUCCESS The method is successful.
* @exception E_INVALID_OPERATION The current state of the instance prohibits the execution of the specified operation, or
* the @c collection is modified during the operation of this method.