wrap_json_file_get_alloc_string_vec Subroutine

private subroutine wrap_json_file_get_alloc_string_vec(me, path, vec, ilen, found)

Alternate version of json_file_get_alloc_string_vec, where “path” is kind=CDK. This is just a wrapper for wrap_json_get_alloc_string_vec_by_path.

Arguments

Type IntentOptional AttributesName
class(json_file), intent(inout) :: me
character(kind=CDK,len=*), intent(in) :: path

the path to the variable

character(kind=CK,len=:), intent(out), dimension(:), allocatable:: vec

value vector

integer(kind=IK), intent(out), dimension(:), allocatable:: ilen

the actual length of each character string in the array

logical(kind=LK), intent(out), optional :: found

Calls

proc~~wrap_json_file_get_alloc_string_vec~~CallsGraph proc~wrap_json_file_get_alloc_string_vec wrap_json_file_get_alloc_string_vec interface~to_unicode to_unicode proc~wrap_json_file_get_alloc_string_vec->interface~to_unicode proc~to_uni to_uni interface~to_unicode->proc~to_uni proc~to_uni_vec to_uni_vec interface~to_unicode->proc~to_uni_vec

Contents


Source Code

    subroutine wrap_json_file_get_alloc_string_vec(me, path, vec, ilen, found)

    implicit none

    class(json_file),intent(inout)       :: me
    character(kind=CDK,len=*),intent(in) :: path !! the path to the variable
    character(kind=CK,len=:),dimension(:),allocatable,intent(out) :: vec  !! value vector
    integer(IK),dimension(:),allocatable,intent(out) :: ilen !! the actual length
                                                             !! of each character
                                                             !! string in the array
    logical(LK),intent(out),optional :: found

    call me%get(to_unicode(path), vec, ilen, found)

    end subroutine wrap_json_file_get_alloc_string_vec