Index of values


A
at_start [Dtools.Init]
Same as make plus a shortcut for "after Init.start".
at_stop [Dtools.Init]
Same as make plus a shortcut for "before Init.stop".

C
conf [Dtools.Conf]
Adds a value to the configuration keys, according to the given correctly formated string: "type key :value" Raises Wrong_Conf in badly formated cases.
cons [Dtools.Conf]

E
exec [Dtools.Init]
Launch the execution of a given init atom.

F
f [Dtools.Log]
Printf.sprintf equivalent that should be used for logging.

G
get_bool [Dtools.Conf]
get_float [Dtools.Conf]
get_int [Dtools.Conf]
get_list [Dtools.Conf]
Retrieves the value associated with the given configuration key.
get_string [Dtools.Conf]

I
init [Dtools.Init]
This fuction must be used to launch the main procedure of the program.

L
list [Dtools.Options]
log [Dtools.Log]
Logs the given string associated with a optional label and a log level.
logged [Dtools.Log]
logged label level returns wether the log level level for logging instructions associated with the label label will be considered for logging.
logl [Dtools.Log]
Same as log with lazy evaluation of the string.

M
make [Dtools.Init]
Defines a init atom associated with the given (unit -> unit) procedure, which eventualy depends on others atoms (these atoms will be executed before the one currently defined) an triggers other atoms (these atoms will be executed after the one currently defined).

R
read_file [Dtools.Conf]
Reads configuration values from the file associated with the given filename.
ref_bool [Dtools.Conf]
ref_float [Dtools.Conf]
ref_int [Dtools.Conf]
ref_list [Dtools.Conf]
Retrieves a reference to the value associated with the given configuration key.
ref_string [Dtools.Conf]
register [Dtools.Var]

S
set_bool [Dtools.Var]
set_bool [Dtools.Conf]
set_float [Dtools.Var]
set_float [Dtools.Conf]
set_int [Dtools.Var]
set_int [Dtools.Conf]
set_list [Dtools.Var]
set_list [Dtools.Conf]
Links a value to the configuration keys.
set_string [Dtools.Var]
set_string [Dtools.Conf]
start [Dtools.Log]
An atom that starts the logging.
start [Dtools.Init]
stop [Dtools.Log]
An atom that stops the logging.
stop [Dtools.Init]