MONC
Data Types | Modules | Functions/Subroutines | Variables
optionsdatabase.F90 File Reference

Go to the source code of this file.

Data Types

interface  optionsdatabase_mod::options_add
 Generic add interface for adding different types of data to the databases. More...
 

Modules

module  optionsdatabase_mod
 Manages the options database. Contains administration functions and deduce runtime options from the command line.
 

Functions/Subroutines

integer function, public optionsdatabase_mod::options_size (options_database)
 Returns the number of entries in the options database. More...
 
character(len=string_length) function, public optionsdatabase_mod::options_key_at (options_database, i)
 Returns the ith key in the options database. More...
 
class(*) function, pointer, public optionsdatabase_mod::options_value_at (options_database, i)
 Returns the value at index in the database. More...
 
logical function, public optionsdatabase_mod::options_has_key (options_database, key)
 Determines whether a specific key is in the database. More...
 
real(kind=default_precision) function, public optionsdatabase_mod::options_get_real (options_database, key, index)
 Retrieves a real value from the database that matches the provided key. More...
 
subroutine, public optionsdatabase_mod::options_get_real_array (options_database, key, array_data, from, to)
 Retrieves an entire (or subset) real array. More...
 
logical function, public optionsdatabase_mod::options_get_logical (options_database, key, index)
 Retrieves a logical value from the database that matches the provided key. More...
 
subroutine, public optionsdatabase_mod::options_get_logical_array (options_database, key, array_data, from, to)
 Retrieves an entire (or subset) logical array. More...
 
integer function, public optionsdatabase_mod::options_get_integer (options_database, key, index)
 Retrieves an integer value from the database that matches the provided key. More...
 
subroutine, public optionsdatabase_mod::options_get_integer_array (options_database, key, array_data, from, to)
 Retrieves an entire (or subset) integer array. More...
 
character(len=string_length) function, public optionsdatabase_mod::options_get_string (options_database, key, index)
 Retrieves a string value from the database that matches the provided key. More...
 
subroutine, public optionsdatabase_mod::options_get_string_array (options_database, key, array_data, from, to)
 Retrieves an entire (or subset) string array. More...
 
integer function, public optionsdatabase_mod::options_get_array_size (options_database, key)
 Gets the size of the array held in the options database corresponding to a specific key. More...
 
subroutine, public optionsdatabase_mod::load_command_line_into_options_database (options_database)
 Loads in the command line arguments and stores them in the options database. More...
 
subroutine, public optionsdatabase_mod::options_remove_key (options_database, key)
 Removes a specific key from the options database, if it is an array then the entire array is removed. More...
 
subroutine optionsdatabase_mod::check_options_key_exists (options_database, key)
 Determines whether a specific options key exists in the database or not, if it doesn't then this results in a log error being issued. More...
 
subroutine optionsdatabase_mod::options_add_real (options_database, key, real_value, do_not_replace, array_index)
 Adds a real value to the options database with a specific key. More...
 
subroutine optionsdatabase_mod::options_add_logical (options_database, key, logical_value, do_not_replace, array_index)
 Adds a logical value to the options database with a specific key. More...
 
subroutine optionsdatabase_mod::options_add_string (options_database, key, string_value, do_not_replace, array_index)
 Adds a string value to the options database with a specific key. More...
 
recursive subroutine optionsdatabase_mod::options_add_integer (options_database, key, int_value, do_not_replace, array_index)
 Adds an integer value to the options database with a specific key. More...
 
character(len=string_length) function optionsdatabase_mod::get_options_array_key (key, index)
 Gets a key corresponding to the correct options key and index combination. More...
 
integer function optionsdatabase_mod::get_argument_value_type (specific_value)
 Given a specific value this will determine the type of data. More...
 
subroutine optionsdatabase_mod::add_specific_option_key_value_pair (type_of_config, parse_options, specific_arg)
 This will add a specific option key value pair to the options hashmap_type. More...
 
subroutine optionsdatabase_mod::set_options_logical_value (optionhashmap_type, key, logical_value)
 A helper procedure to set a specific logical value. More...
 
subroutine optionsdatabase_mod::set_options_real_value (optionhashmap_type, key, real_value)
 A helper procedure to set a specific real value. More...
 
subroutine optionsdatabase_mod::set_options_integer_value (optionhashmap_type, key, int_value)
 A helper procedure to set a specific integer value. More...
 
subroutine optionsdatabase_mod::set_options_string_value (optionhashmap_type, key, str_value)
 A helper procedure to set a specific string value. More...
 

Variables

integer, parameter optionsdatabase_mod::logical_type =0
 Type of logical value data. More...
 
integer, parameter optionsdatabase_mod::integer_type =1
 Type of integer value data. More...
 
integer, parameter optionsdatabase_mod::real_type =2
 Type of real value data. More...
 
integer, parameter optionsdatabase_mod::string_type =3
 Type of string value data. More...
 
integer, parameter optionsdatabase_mod::array_append_size = 10