set_size Subroutine

private pure elemental subroutine set_size(this, size)

Type Bound

ImageGeneration

Arguments

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

Called by

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

Source Code

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