QSS Solver GUI  4.5.3
Utils Class Reference

#include <utils.hpp>

Public Member Functions

 ~Utils ()=default
 
QString appCommand (AppCmds c)
 
QString appDir (AppDirs d)
 
QString appFlag (AppFlags f)
 
QString defaultValue (QString tok)
 
bool isSet (AppFlags f)
 
QString relativePath (AppDirs d)
 
void setCommand (AppCmds c, QString value)
 
void setDir (AppDirs d, QString value)
 
void setFlag (AppFlags f, QString value)
 

Protected Member Functions

QString getDir (AppDirs dir)
 
QString getDebugValue ()
 
QString appFlagName (AppFlags flag)
 
QString appDirsName (AppDirs dir)
 
QString appCommandsName (AppCmds cmd)
 

Detailed Description

Definition at line 60 of file utils.hpp.

Constructor & Destructor Documentation

◆ ~Utils()

Utils::~Utils ( )
default

Member Function Documentation

◆ appCommand()

◆ appCommandsName()

QString Utils::appCommandsName ( AppCmds  cmd)
protected

Definition at line 151 of file utils.cpp.

References CMD_BUILD, CMD_COMPILE, CMD_LOG, CMD_PLOT, CMD_SBML, and CMD_SIMULATE.

Referenced by appCommand(), and setCommand().

◆ appDir()

◆ appDirsName()

QString Utils::appDirsName ( AppDirs  dir)
protected

◆ appFlag()

QString Utils::appFlag ( AppFlags  f)

Definition at line 78 of file utils.cpp.

References appFlagName(), FLG_DEBUG, and getDebugValue().

Referenced by MmomeGui::compile(), MmomeGui::on_actionAbout_triggered(), MmomeGui::on_actionGraphics_triggered(), and SettingsDlg::SettingsDlg().

Here is the call graph for this function:

◆ appFlagName()

◆ defaultValue()

QString Utils::defaultValue ( QString  tok)

◆ getDebugValue()

QString Utils::getDebugValue ( )
protected

Definition at line 42 of file utils.cpp.

References FLG_DBG_ALL, FLG_DBG_DT, FLG_DBG_EXTERNAL_EVENT, FLG_DBG_INIT_VALUES, FLG_DBG_MEMORY, FLG_DBG_STEP_INFO, FLG_DBG_SYNCHRONIZE, FLG_DBG_VAR_CHANGES, FLG_DBG_WAIT_FOR, FLG_DBG_WEIGHTS, and isSet().

Referenced by appFlag().

Here is the call graph for this function:

◆ getDir()

QString Utils::getDir ( AppDirs  dir)
protected

Definition at line 92 of file utils.cpp.

References appDirsName().

Referenced by appDir(), and relativePath().

Here is the call graph for this function:

◆ isSet()

bool Utils::isSet ( AppFlags  f)

Definition at line 35 of file utils.cpp.

References appFlagName().

Referenced by getDebugValue().

Here is the call graph for this function:

◆ relativePath()

QString Utils::relativePath ( AppDirs  d)

Definition at line 90 of file utils.cpp.

References getDir().

Referenced by SettingsDlg::SettingsDlg().

Here is the call graph for this function:

◆ setCommand()

void Utils::setCommand ( AppCmds  c,
QString  value 
)

Definition at line 99 of file utils.cpp.

References appCommandsName().

Referenced by SettingsDlg::_save().

Here is the call graph for this function:

◆ setDir()

void Utils::setDir ( AppDirs  d,
QString  value 
)

Definition at line 219 of file utils.cpp.

References appDirsName().

Referenced by SettingsDlg::_save().

Here is the call graph for this function:

◆ setFlag()

void Utils::setFlag ( AppFlags  f,
QString  value 
)

Definition at line 225 of file utils.cpp.

References appFlagName().

Referenced by SettingsDlg::_save().

Here is the call graph for this function:

The documentation for this class was generated from the following files: