Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

globals.c File Reference

#include <volume_io/internal_volume_io.h>
#include <bicpl/prog_utils.h>
#include <bicpl/objects.h>

Include dependency graph for globals.c:

Include dependency graph

Go to the source code of this file.

Functions

public Status input_globals_file (int n_globals_lookup, global_struct globals_lookup[], STRING filename)
private Status lookup_global (int n_globals, global_struct global_lookup[], STRING variable_name, void **ptr, Variable_types *type, Smallest_int **set_flag)
public Status get_global_variable (int n_globals_lookup, global_struct globals_lookup[], STRING variable_name, STRING *value)
public Status set_global_variable (int n_globals_lookup, global_struct globals_lookup[], STRING variable_name, STRING value_to_set)
public Status set_or_get_global_variable (int n_globals_lookup, global_struct globals_lookup[], STRING input_str, STRING *variable_name, STRING *value_string)
public void delete_global_variables (int n_globals_lookup, global_struct globals_lookup[])


Function Documentation

public void delete_global_variables int  n_globals_lookup,
global_struct  globals_lookup[]
 

Definition at line 555 of file globals.c.

References STRING_type.

public Status get_global_variable int  n_globals_lookup,
global_struct  globals_lookup[],
STRING  variable_name,
STRING *  value
 

Definition at line 203 of file globals.c.

References BOOLEAN_type, Colour_type, convert_colour_to_string(), int_type, lookup_global(), Point_type, Real_type, STRING_type, Surfprop_type, Variable_types, and Vector_type.

Referenced by set_or_get_global_variable().

public Status input_globals_file int  n_globals_lookup,
global_struct  globals_lookup[],
STRING  filename
 

Definition at line 43 of file globals.c.

References FALSE.

private Status lookup_global int  n_globals,
global_struct  global_lookup[],
STRING  variable_name,
void **  ptr,
Variable_types type,
Smallest_int **  set_flag
 

Definition at line 145 of file globals.c.

References global_struct::variable_name.

Referenced by get_global_variable(), and set_global_variable().

public Status set_global_variable int  n_globals_lookup,
global_struct  globals_lookup[],
STRING  variable_name,
STRING  value_to_set
 

Definition at line 303 of file globals.c.

References BOOLEAN_type, Colour_type, convert_string_to_colour(), FALSE, int_type, lookup_global(), Point_type, Real_type, STRING_type, Surfprop_type, TRUE, Variable_types, and Vector_type.

Referenced by set_or_get_global_variable().

public Status set_or_get_global_variable int  n_globals_lookup,
global_struct  globals_lookup[],
STRING  input_str,
STRING *  variable_name,
STRING *  value_string
 

Definition at line 449 of file globals.c.

References get_global_variable(), and set_global_variable().


Generated on Wed Jul 28 09:11:05 2004 for BICPL by doxygen 1.3.7