Toggle navigation
Gtool Project
地球流体電脳倶楽部
dcmodel プロジェクト
SIGEN
English
dc_hash
rewind
Private Member Functions
dc_hash::rewind Interface Reference
Private Member Functions
subroutine
dchashrewind0
(hashv)
Detailed Description
Definition at line
162
of file
dc_hash.f90
.
Member Function/Subroutine Documentation
◆
dchashrewind0()
subroutine dc_hash::rewind::dchashrewind0
(
type(
hash
), intent(inout)
hashv
)
private
Definition at line
237
of file
dc_hash.f90
.
237
!
238
! 主にハッシュの内容を取り出すことを目的として,
239
! *hashv* の巻き戻しを行います. DCHashNext との組み合わせによって
240
! キーと値のリストを取得すること可能です.
241
!
242
! 以下のサンプルソースコードを参照ください.
243
!
244
! program hash_sample
245
! use dc_type
246
! use dc_hash
247
! type(HASH):: hashv
248
! character(len = STRING):: key, value
249
! logical:: end
250
!
251
! call DCHashRewind( hashv ) ! (inout)
252
! do
253
! call DCHashNext( hashv = hashv, & ! (inout)
254
! & key = key, value = value, end = end) ! (out)
255
! if (end) exit
256
! write(*,*) 'key=' // trim(key) // ', value=' // trim(value)
257
! enddo
258
! end program hash_sample
259
!
260
implicit none
261
type
(
hash
),
intent(inout)
:: hashv
262
continue
263
hashv % search_index = 1
dc_hash::hash
Definition:
dc_hash.f90:104
The documentation for this interface was generated from the following file:
dc_utils/
dc_hash.f90