Implemented the Handle assignment operators properly
[platform/core/uifw/dali-core.git] / dali / public-api / actors / image-actor.h
index 0507b7b..918535d 100644 (file)
@@ -198,9 +198,28 @@ public:
   ~ImageActor();
 
   /**
-   * @copydoc Dali::BaseHandle::operator=
+   * @brief Copy constructor
+   *
+   * @param [in] copy The actor to copy.
+   */
+  ImageActor(const ImageActor& copy);
+
+  /**
+   * @brief Assignment operator
+   *
+   * @param [in] rhs The actor to copy.
+   */
+  ImageActor& operator=(const ImageActor& rhs);
+
+  /**
+   * @brief This method is defined to allow assignment of the NULL value,
+   * and will throw an exception if passed any other value.
+   *
+   * Assigning to NULL is an alias for Reset().
+   * @param [in] rhs  A NULL pointer
+   * @return A reference to this handle
    */
-  using BaseHandle::operator=;
+  ImageActor& operator=(BaseHandle::NullType* rhs);
 
   /**
    * @brief Set the image rendered by the actor.