![]() |
(git:d18deda)
|
#include "../base/base_uses.f90"
Go to the source code of this file.
Modules | |
module | string_table |
generates a unique id number for a string (str2id) that can be used two compare two strings. I.e. if (str1==str2) => str2id(str1)==str2id(str2) if (str1.NE.str2) => str2id(str1).NE.str2id(str2) and the other way around. Given an id, the string can be retrieved. | |
Functions/Subroutines | |
integer function, public | string_table::str2id (str) |
returns a unique id for a given string, and stores the string for later retrieval using the id. | |
character(len=default_string_length) function, public | string_table::id2str (id) |
returns the string associated with a given id | |
character(len=default_string_length) function, public | string_table::s2s (str) |
converts a string in a string of default_string_length | |
subroutine, public | string_table::string_table_allocate () |
allocates the string table | |
subroutine, public | string_table::string_table_deallocate (iw) |
deallocates the string table | |
Variables | |
type(hash_element_type), dimension(:), allocatable, target, save | string_table::hash_table |