#include <main.h>
Definition at line 42 of file main.h.
Application::Application |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Application::~Application |
( |
| ) |
|
|
virtual |
Destructor.
Definition at line 323 of file main.cc.
void Application::after_run |
( |
| ) |
|
|
protectedvirtual |
Check pause_after_run flag defined in input file.
Reimplemented from ApplicationBase.
Definition at line 313 of file main.cc.
void Application::display_version |
( |
| ) |
|
Displays program version and build info. Pass version information to Profiler.
TODO: Split these two functionalities.
Definition at line 111 of file main.cc.
void Application::parse_cmd_line |
( |
const int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
protectedvirtual |
Parse command line parameters.
- Parameters
-
[in] | argc | command line argument count |
[in] | argv | command line arguments |
Reimplemented from ApplicationBase.
Definition at line 160 of file main.cc.
Read main input file
Returns accessor to the root Record.
Definition at line 132 of file main.cc.
void Application::run |
( |
| ) |
|
|
protectedvirtual |
void Application::split_path |
( |
const string & |
path, |
|
|
string & |
directory, |
|
|
string & |
file_name |
|
) |
| |
|
protected |
Split path to directory (part up to last DIR_SEPARATOR excluded) and filename. Directory is set to "." if no DIR_SEPARATOR is found.
Definition at line 97 of file main.cc.
Initial value:=
it::Record(
"Root",
"Root record of JSON input for Flow123d.")
"Simulation problem to be solved.")
"If true, the program will wait for key press before it terminates.")
Root of the Input::Type tree. Description of whole input structure.
Definition at line 45 of file main.h.
string Application::main_input_dir_ |
|
private |
directory of main input file (used to resolve relative paths of other input files)
Definition at line 98 of file main.h.
string Application::main_input_filename_ |
|
private |
filename of main input file
Definition at line 100 of file main.h.
int Application::passed_argc_ |
|
private |
char** Application::passed_argv_ |
|
private |
string Application::program_arguments_desc_ |
|
private |
Description of possible command line arguments.
Definition at line 106 of file main.h.
root input record
Definition at line 112 of file main.h.
bool Application::use_profiler |
|
private |
If true, we do output of profiling information.
Definition at line 109 of file main.h.
The documentation for this class was generated from the following files:
- /home/cygwin64/F123-windows-release/flow123d/src/main.h
- /home/cygwin64/F123-windows-release/flow123d/src/main.cc