Alternate version of json_file_get_integer_vec, where “path” is kind=CDK.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(json_file), | intent(inout) | :: | me | |||
character(kind=CDK, len=*), | intent(in) | :: | path |
the path to the variable |
||
integer(kind=IK), | intent(out), | dimension(:), allocatable | :: | vec |
the value vector |
|
logical(kind=LK), | intent(out), | optional | :: | found |
if it was really found |
|
integer(kind=IK), | intent(in), | optional, | dimension(:) | :: | default |
subroutine wrap_json_file_get_integer_vec(me, path, vec, found, default) implicit none class(json_file),intent(inout) :: me character(kind=CDK,len=*),intent(in) :: path !! the path to the variable integer(IK),dimension(:),allocatable,intent(out) :: vec !! the value vector logical(LK),intent(out),optional :: found !! if it was really found integer(IK),dimension(:),intent(in),optional :: default call me%get(to_unicode(path), vec, found, default) end subroutine wrap_json_file_get_integer_vec