Remove un-used GetChildren internal actor api 30/38930/2
authorNick Holland <nick.holland@partner.samsung.com>
Thu, 30 Apr 2015 14:22:04 +0000 (15:22 +0100)
committerNick Holland <nick.holland@partner.samsung.com>
Thu, 30 Apr 2015 14:22:04 +0000 (15:22 +0100)
Change-Id: Iac7817dcd99315d102f033c56328a5ac8bbff52a

dali/internal/event/actors/actor-impl.cpp
dali/internal/event/actors/actor-impl.h

index 6cf14fc..8231c31 100644 (file)
@@ -557,28 +557,6 @@ Dali::Actor Actor::GetChildAt( unsigned int index ) const
   return ( ( mChildren ) ? ( *mChildren )[ index ] : Dali::Actor() );
 }
 
-ActorContainer Actor::GetChildren()
-{
-  if( NULL != mChildren )
-  {
-    return *mChildren;
-  }
-
-  // return copy of mNullChildren
-  return mNullChildren;
-}
-
-const ActorContainer& Actor::GetChildren() const
-{
-  if( NULL != mChildren )
-  {
-    return *mChildren;
-  }
-
-  // return const reference to mNullChildren
-  return mNullChildren;
-}
-
 ActorPtr Actor::FindChildByName( const std::string& actorName )
 {
   ActorPtr child = 0;
index bbc6287..9ca8845 100644 (file)
@@ -234,18 +234,6 @@ public:
   Dali::Actor GetChildAt( unsigned int index ) const;
 
   /**
-   * Retrieve the Actor's children.
-   * @return A copy of the container of children.
-   */
-  ActorContainer GetChildren();
-
-  /**
-   * Retrieve the Actor's children.
-   * @return A const reference to the container of children.
-   */
-  const ActorContainer& GetChildren() const;
-
-  /**
    * Retrieve a reference to Actor's children.
    * @note Not for public use.
    * @return A reference to the container of children.