Project

General

Profile

to_string Function

private recursive function to_string(this)

Arguments

Type IntentOptional AttributesName
class(vector_ref), intent(in) :: this

Return Value character(len=:), allocatable

Calls

proc~~to_string~~CallsGraph proc~to_string to_string object_pointer_string object_pointer_string proc~to_string->object_pointer_string

Variables

TypeVisibility AttributesNameInitial
integer, public :: i

Source Code

    recursive function to_string(this)
        class(vector_ref), intent(in) :: this
        character(:), allocatable :: to_string
        integer :: i
        to_string = "["
        if(this%current_size > 0) then
            to_string = to_string // object_pointer_string(this%items(1)%stuff)
        end if
        do i = 2, this%current_size
            to_string = to_string // "," // &
                object_pointer_string(this%items(i)%stuff)
        end do
        to_string = to_string // "]"
    end function to_string


© 2016
self was developed by
Documentation generated by FORD