add_child_component Function

public function add_child_component(this, name, user_component) result(child)

Type Bound

CompleteComponent

Arguments

Type IntentOptional Attributes Name
class(CompleteComponent), intent(inout), target :: this
character(len=*), intent(in) :: name
class(AbstractComponent), intent(in) :: user_component

Return Value class(AbstractFrameworkComponent), pointer


Source Code

   function add_child_component(this, name, user_component) result(child)
      class(AbstractFrameworkComponent), pointer :: child
      class(CompleteComponent), target, intent(inout) :: this
      character(*), intent(in) :: name
      class(AbstractComponent), intent(in) :: user_component
   end function add_child_component