|  |  (git:e68414f)
    | 
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. More...
| Functions/Subroutines | |
| integer function, public | 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 | id2str (id) | 
| returns the string associated with a given id | |
| character(len=default_string_length) function, public | s2s (str) | 
| converts a string in a string of default_string_length | |
| subroutine, public | string_table_allocate () | 
| allocates the string table | |
| subroutine, public | string_table_deallocate (iw) | 
| deallocates the string table | |
| Variables | |
| type(hash_element_type), dimension(:), allocatable, target, save | hash_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.
| integer function, public string_table::str2id | ( | character(len=*) | str | ) | 
returns a unique id for a given string, and stores the string for later retrieval using the id.
| str | the string to be stored (default_string_length) | 
Definition at line 71 of file string_table.F.
| character(len=default_string_length) function, public string_table::id2str | ( | integer | id | ) | 
returns the string associated with a given id
| id | the id to be converted into a string | 
Definition at line 114 of file string_table.F.
| character(len=default_string_length) function, public string_table::s2s | ( | character(len=*) | str | ) | 
converts a string in a string of default_string_length
| str | ... | 
Definition at line 140 of file string_table.F.
| subroutine, public string_table::string_table_allocate | 
allocates the string table
Definition at line 155 of file string_table.F.
| subroutine, public string_table::string_table_deallocate | ( | integer, intent(in) | iw | ) | 
deallocates the string table
| iw | a unit to which some info about the table usage can be printed | 
Definition at line 169 of file string_table.F.
| type(hash_element_type), dimension(:), allocatable, target, save string_table::hash_table | 
Definition at line 55 of file string_table.F.