00001
#ifndef DEF_prog_prototypes
00002
#define DEF_prog_prototypes
00003
00004
public int get_n_arguments_remaining(
void );
00005
00006
public void initialize_argument_processing(
00007
int argc,
00008
char *argv[] );
00009
00010
public BOOLEAN
get_int_argument(
00011
int default_value,
00012
int *value );
00013
00014
public BOOLEAN
get_real_argument(
00015 Real default_value,
00016 Real *value );
00017
00018
public BOOLEAN
get_string_argument(
00019 STRING default_value,
00020 STRING *value );
00021
00022
public BOOLEAN
get_prefix_argument(
00023 STRING prefix );
00024
00025
public Status
input_globals_file(
00026
int n_globals_lookup,
00027
global_struct globals_lookup[],
00028 STRING filename );
00029
00030
public Status
get_global_variable(
00031
int n_globals_lookup,
00032
global_struct globals_lookup[],
00033 STRING variable_name,
00034 STRING *value );
00035
00036
public Status
set_global_variable(
00037
int n_globals_lookup,
00038
global_struct globals_lookup[],
00039 STRING variable_name,
00040 STRING value_to_set );
00041
00042
public Status
set_or_get_global_variable(
00043
int n_globals_lookup,
00044
global_struct globals_lookup[],
00045 STRING input_str,
00046 STRING *variable_name,
00047 STRING *value_string );
00048
00049
public void delete_global_variables(
00050
int n_globals_lookup,
00051
global_struct globals_lookup[] );
00052
00053
public void set_random_seed(
int seed );
00054
00055
public int get_random_int(
int n );
00056
00057
public Real
get_random_0_to_1(
void );
00058
00059
public void start_timing(
void );
00060
00061
public void end_timing(
00062 STRING title,
00063
int n );
00064
#endif