Change-Id: Iac7817dcd99315d102f033c56328a5ac8bbff52a
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;
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.