gtool5 Fortran 90/95 Library 1.0.0-rc5
日本語
Loading...
Searching...
No Matches
dc_hash::dchashputline Interface Reference

Public Member Functions

subroutine dchashputline0 (hashv)

Detailed Description

Definition at line 202 of file dc_hash.f90.

Member Function/Subroutine Documentation

◆ dchashputline0()

subroutine dc_hash::dchashputline::dchashputline0 ( type(hash), intent(in) hashv)

Print hash contents to stdout

Displays the contents of hashv to standard output. This is mainly for debugging purposes.

Parameters
[in]hashvHash variable

Definition at line 475 of file dc_hash.f90.

476 use dc_types, only: string
477 use dc_string, only: printf, joinchar
478 implicit none
479 type(HASH), intent(in) :: hashv
480 type(HASH) :: hashv_tmp
481 character(len = STRING):: key, value
482 logical:: end
483 continue
484 hashv_tmp = hashv
485
486 call printf(6, '#<HASH:: ')
487 call dchashrewind(hashv_tmp)
488 do
489 call dchashnext(hashv_tmp, key, value, end)
490 if (end) exit
491 call printf(6, ' "%c" -> "%c",', &
492 & c1=trim(key), c2=trim(value))
493 enddo
494 call printf(6, '> ')
495
Handling character types.
Definition dc_string.f90:83
character(string) function, public joinchar(carray, expr)
Provides kind type parameter values.
Definition dc_types.f90:55
integer, parameter, public string
Character length for string
Definition dc_types.f90:137

References dc_string::joinchar(), and dc_types::string.

Here is the call graph for this function:

The documentation for this interface was generated from the following file: