Definition in file globals.h.
Go to the source code of this file.
Classes | |
| struct | s_globalvar |
Defines | |
| #define | FALSE (0) |
| #define | GLOBAL extern |
| #define | INIT(A) |
| #define | TRUE (!FALSE) |
Enumerations | |
| enum | STATUS { FAILED = FALSE, SUCCESS = TRUE } |
Functions | |
| GLOBALVAR * | global_create (char *name,...) |
| Creates a user-defined global variable. | |
| void | global_dump (void) |
| GLOBALVAR * | global_find (char *name) |
| Find a global variable. | |
| GLOBALVAR * | global_getnext (GLOBALVAR *previous) |
| Get global variable list. | |
| char * | global_getvar (char *name, char *buffer, int size) |
| Get the value of a global variable in a safer fashion. | |
| STATUS | global_init (void) |
| Register global variables. | |
| STATUS | global_setvar (char *def,...) |
| Sets a user-defined global variable. | |
| GLOBAL char global_object_scan[32] | INIT ("%[^:]:%d") |
| the format to use when scanning for object ids | |
| GLOBAL char global_complex_format[256] | INIT ("%+lg%+lg%c") |
| the format to use when processing complex numbers | |
| GLOBAL char global_double_format[32] | INIT ("%+lg") |
| the format to use when processing real numbers | |
| GLOBAL TIMESTAMP global_stoptime | INIT (TS_NEVER) |
| The simulation stop time. | |
| GLOBAL TIMESTAMP global_clock | INIT (TS_ZERO) |
| The main clock timestamp. | |
| GLOBAL int global_xml_encoding | INIT (8) |
| Specifies XML encoding (default is 8). | |
| GLOBAL int global_profiler | INIT (0) |
| Flags the profiler to process class performance data. | |
| GLOBAL int global_threadcount | INIT (1) |
| the maximum thread limit, zero means automagically determine best thread count | |
| GLOBAL char global_savefile[1024] | INIT ("") |
| The save file name. | |
| GLOBAL char global_dumpfile[1024] | INIT ("gridlabd.xml") |
| The dump file name. | |
| GLOBAL char global_workdir[1024] | INIT (".") |
| The current working directory. | |
| GLOBAL unsigned global_iteration_limit | INIT (100) |
| The global iteration limit. | |
| GLOBAL int global_quiet_mode | INIT (FALSE) |
| The quiet mode flag. | |
| GLOBAL char global_environment[1024] | INIT ("batch") |
| The processing environment in use. | |
| GLOBAL unsigned global_version_minor | INIT (REV_MINOR) |
| The software's minor version. | |
| GLOBAL unsigned global_version_major | INIT (REV_MAJOR) |
| The software's major version. | |
Variables | |
| GLOBAL char | global_command_line [1024] |
| The current command-line. | |