set_user_name Subroutine

private pure elemental subroutine set_user_name(this, user_name)

Type Bound

ImageGeneration

Arguments

Type IntentOptional Attributes Name
class(ImageGeneration), intent(inout) :: this
character(len=*), intent(in) :: user_name

Called by

proc~~set_user_name~2~~CalledByGraph proc~set_user_name~2 foropenai_ImageGeneration::ImageGeneration%set_user_name proc~create_image foropenai_ImageGeneration::ImageGeneration%create_image proc~create_image->proc~set_user_name~2 proc~set_imagegeneration_data foropenai_ImageGeneration::ImageGeneration%set_ImageGeneration_data proc~set_imagegeneration_data->proc~set_user_name~2 program~test_imagegeneration test_ImageGeneration program~test_imagegeneration->proc~create_image program~test_imagegeneration->proc~set_imagegeneration_data

Source Code

   elemental pure subroutine set_user_name(this, user_name)
      class(ImageGeneration), intent(inout) :: this
      character(len=*),       intent(in)    :: user_name
      this%user_name = trim(user_name)
   end subroutine set_user_name