|
gsystem
|
Minimal example : construct a world from command-line options. More...
#include "gworld.h"
Go to the source code of this file.
Functions | |
| int | main (int argc, char *argv[]) |
| Program entry point. | |
This example demonstrates the smallest executable that:
Typical usage:
The example intentionally performs no further actions beyond construction/destruction; it is meant as a smoke test for configuration and factory wiring.
Definition in file gsystem_example.cc.
| int main | ( | int | argc, |
| char * | argv[] ) |
| argc | Argument count from the command line. |
| argv | Argument vector from the command line. |
Execution flow:
gsystem::defineOptions().gsystem::getSystems();This program uses explicit new / delete to match existing ownership style in examples. In user applications, prefer automatic storage duration or smart pointers where appropriate.
Definition at line 48 of file gsystem_example.cc.