|
FEDEM Solver
R8.0
Source code of the dynamics solver
|
Namespace with functions returning information about the application. More...
Functions | |
| void | openConsole (bool withGUI=false) |
| Sets this to be a console application, optionally with GUI too. More... | |
| void | closeConsole (bool acknowledge=true) |
| Closes the current console window. More... | |
| bool | isConsole () |
| Returns true if this is a console-only application. More... | |
| bool | haveConsole () |
| Returns true if this application has a console windows. More... | |
| std::string | getVersion () |
| Returns the current program version. More... | |
| std::string | getUser () |
| Returns the user id of the executing process. More... | |
| std::string | getDate () |
| Returns the current date and time. More... | |
| void | init (const char *program) |
| Initializes the program path. More... | |
| std::string | getProgramPath (const std::string &program, bool fnutts=true) |
| Returns full path of a program, or blank if not existing. More... | |
| std::string | checkProgramPath (const std::string &program) |
| Returns path of a program, or blank if not existing. More... | |
| const std::string & | getProgramPath () |
| Returns the program path. More... | |
| std::string | getCWD () |
| Returns the current working directory of the program. More... | |
| bool | isInCwd () |
| Returns whether this program is in current working dir or not. More... | |
Namespace with functions returning information about the application.
E.g. UI-type (console, GUI), version number, user data, etc.
| std::string FFaAppInfo::checkProgramPath | ( | const std::string & | program | ) |
Returns path of a program, or blank if not existing.
| void FFaAppInfo::closeConsole | ( | bool | acknowledge = true | ) |
Closes the current console window.
| std::string FFaAppInfo::getCWD | ( | ) |
Returns the current working directory of the program.
| std::string FFaAppInfo::getDate | ( | ) |
Returns the current date and time.
| const std::string & FFaAppInfo::getProgramPath | ( | ) |
Returns the program path.
| std::string FFaAppInfo::getProgramPath | ( | const std::string & | program, |
| bool | fnutts = true |
||
| ) |
Returns full path of a program, or blank if not existing.
| std::string FFaAppInfo::getUser | ( | ) |
Returns the user id of the executing process.
| std::string FFaAppInfo::getVersion | ( | ) |
Returns the current program version.
| bool FFaAppInfo::haveConsole | ( | ) |
Returns true if this application has a console windows.
| void FFaAppInfo::init | ( | const char * | program | ) |
Initializes the program path.
| bool FFaAppInfo::isConsole | ( | ) |
Returns true if this is a console-only application.
| bool FFaAppInfo::isInCwd | ( | ) |
Returns whether this program is in current working dir or not.
| void FFaAppInfo::openConsole | ( | bool | withGUI = false | ) |
Sets this to be a console application, optionally with GUI too.