Public Member Functions | |
| subroutine | dchashget0 (hashv, key, value, found) |
Definition at line 214 of file dc_hash.f90.
| subroutine dc_hash::dchashget::dchashget0 | ( | type(hash), intent(inout) | hashv, |
| character(*), intent(in) | key, | ||
| character(*), intent(out) | value, | ||
| logical, intent(out), optional | found | ||
| ) |
Get associated value from hash with key
Returns the value associated with key in hashv to value. If no value is associated with key, an empty string is returned to value.
If found is given, it returns .false. when no value associated with key is found.
| [in,out] | hashv | Hash variable |
| [in] | key | Key string to search |
| [out] | value | Value associated with the key |
| [out] | found | Returns .false. if the key is not found (optional) |
Definition at line 530 of file dc_hash.f90.
References dc_types::string.