#define _FBASE_COL_IENUMERATOR_H_
#include <FBaseTypes.h>
-
-namespace Tizen {namespace Base
-{
-class Object;
-}}
+#include <FBaseObject.h>
namespace Tizen { namespace Base { namespace Collection
{
*/
virtual result Reset(void) = 0;
+ /**
+ * Gets the reference of the current object in the collection
+ *
+ * @since 3.0
+ *
+ * @return The reference of the pointer to the current object in the collection
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_OPERATION Either of the following conditions has occurred: @n
+ * - The current state of the instance prohibits the execution of the specified operation. @n
+ * - The enumerator is currently positioned before the first element
+ * or after the last element. @n
+ * - The collection is modified after the enumerator is created.
+ * @remarks The specific error code can be accessed using the GetLastResult() method.
+ * @see GetLastResult()
+ */
+ virtual Tizen::Base::Object*& GetCurrentRef(void) const
+ {
+ return Tizen::Base::Object::pNullObj;
+ }
+
protected:
//
// This method is for internal use only. Using this method can cause behavioral, security-related,
//
virtual void IEnumerator_Reserved1(void) { }
-
- //
- // This method is for internal use only. Using this method can cause behavioral, security-related,
- // and consistency-related issues in the application.
- // This method is reserved and may change its name at any time without prior notice.
- //
- // @since 2.0
- //
- virtual void IEnumerator_Reserved2(void) { }
-
}; // IEnumerator
}}} // Tizen::Base::Collection