NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
commandfunctions.hpp File Reference
#include <string>
#include <vector>
#include <map>
#include "built-in.hpp"
#include "maths/command_implementations.hpp"
#include "maths/matrixoperations.hpp"
#include "plotting/plotting.hpp"
#include "../kernel.hpp"
#include "ui/winlayout.hpp"
#include "io/logger.hpp"
#include "utils/tools.hpp"
#include "utils/archive.hpp"
#include "commandlineparser.hpp"
Include dependency graph for commandfunctions.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef CommandReturnValues(* CommandFunc) (string &)
 

Enumerations

enum  WindowType {
  WT_ALL , WT_GRAPH , WT_TABLEVIEWER , WT_IMAGEVIEWER ,
  WT_DOCVIEWER , WT_CUSTOM , WT_ALL , WT_GRAPH ,
  WT_TABLEVIEWER , WT_IMAGEVIEWER , WT_DOCVIEWER , WT_CUSTOM
}
 

Functions

string removeQuotationMarks (const string &sString)
 This function simply removes the surrounding quotation marks. More...
 
static size_t findSettingOption (const std::string &sCmd, const std::string &sOption)
 This static function is used to detect a setting option independent on a leading dash character in front of the option value. More...
 
static bool confirmOperation (const std::string &sMessage)
 Performs the operation confirmation loop, if the user did not supply the ignore command line option. More...
 
static string getVarList (const string &sCmd, Parser &_parser, MemoryManager &_data, Settings &_option)
 This function returns a list of the current defined variables either as strings or as plain text. More...
 
static bool undefineFunctions (string sFunctionList, FunctionDefinitionManager &_functions, const Settings &_option)
 This static function handles the undefinition process of custom defined functions. More...
 
static bool prepareTemplate (const std::string &sTemplateID, const std::string &sFileName)
 Perpares a template based upon the selected template id. The file has to exist. More...
 
static bool newObject (string &sCmd, Parser &_parser, MemoryManager &_data, Settings &_option)
 This function creates new objects: files, directories, procedures and tables. More...
 
static bool editObject (string &sCmd, Parser &_parser, MemoryManager &_data, Settings &_option)
 This function opens the object in the editor to edit its contents. More...
 
static bool listDirectory (const string &sDir, const string &sParams, const Settings &_option)
 This function displays the contents of a single directory directly in the terminal. More...
 
static string createListDirectoryHeader (const string &sPathName, const string &sLangString, size_t nWindowLength)
 This static function draws the headers for the listed directories. More...
 
static bool listFiles (const string &sCmd, const Settings &_option)
 This function handles the display of the contents of the selected folders directly in the terminal. More...
 
static void listFunctions (const Settings &_option, const string &sType)
 This function lists all known functions in the terminal. More...
 
static void listDefinitions (const FunctionDefinitionManager &_functions, const Settings &_option)
 This function lists all custom defined functions. More...
 
static void listLogicalOperators (const Settings &_option)
 This function lists all logical expressions. More...
 
static void listDeclaredVariables (Parser &_parser, const Settings &_option, const MemoryManager &_data)
 This function lists all declared variables, which are known by the numerical and the string parser as well as the current declared data tables and clusters. More...
 
static void listConstants (const Parser &_parser, const Settings &_option)
 This function lists all known constants. More...
 
static void listCommands (const Settings &_option)
 This function lists all defined commands. More...
 
static void printUnits (const string &sUnit, const string &sDesc, const string &sDim, const string &sValues, unsigned int nWindowsize)
 This static function prints the selected unit, its description, its dimension and its value conversion to the terminal. More...
 
static void listUnitConversions (const Settings &_option)
 This function lists all unit conversions and their result, if applied on 1. More...
 
std::vector< size_t > calcTableWidth (size_t maxWidth, std::vector< size_t > minDesiredColWidth)
 This function returns a vector with column widths for a table, depending on the overall table size and the minimal desired column sizes. A zero for the minimal desired column width means to maximize that column. If multiple columns are maximized then the space is distributed equally between them. More...
 
void plotTableBySize (std::vector< std::string > lineEntries, std::vector< size_t > lineColSizes)
 This function actually plots the table with the desired colun widths. For this all the content to plot and the column sizes are required. More...
 
static void listInstalledPlugins (Parser &_parser, MemoryManager &_data, const Settings &_option)
 This function lists all declared plugins including their name, their command and their description. More...
 
static bool executeCommand (string &sCmd, Parser &_parser, MemoryManager &_data, FunctionDefinitionManager &_functions, const Settings &_option)
 This static function implements the possibility to call the Windows shell directly from the code. More...
 
static void autoSave (MemoryManager &_data, Output &_out, Settings &_option)
 This function performs the autosave at the application termination. More...
 
static string getPathForSetting (string &sCmd, size_t pos)
 This static function extracts the path from the selected parameter. It is only used by cmd_set(). More...
 
static void copyDataToTemporaryTable (const string &sCmd, DataAccessParser &_accessParser, MemoryManager &_data, MemoryManager &_cache)
 This static function copies the contents of the selected table to the provided temporary Datafile object. This function evaluates user- provided indices during the copy process. More...
 
static CommandReturnValues swapTables (string &sCmd, MemoryManager &_data, Settings &_option)
 This static function handles the swapping of the data of the values of two tables. More...
 
static CommandReturnValues saveDataObject (string &sCmd)
 This static function handles the saving and exporting of data into files (internally, there's no real difference between those two actions). More...
 
static CommandReturnValues cmd_find (string &sCmd)
 This static function implements the "find" command. More...
 
static CommandReturnValues cmd_integrate (string &sCmd)
 This static function implements the "integrate" command. More...
 
static CommandReturnValues cmd_diff (string &sCmd)
 This static function implements the "diff" command. More...
 
static CommandReturnValues cmd_extrema (string &sCmd)
 This static function implements the "extrema" command. More...
 
static CommandReturnValues cmd_pulse (string &sCmd)
 This static function implements the "pulse" command. More...
 
static CommandReturnValues cmd_eval (string &sCmd)
 This static function implements the "eval" command. More...
 
static CommandReturnValues cmd_zeroes (string &sCmd)
 This static function implements the "zeroes" command. More...
 
static CommandReturnValues cmd_sort (string &sCmd)
 This static function implements the "sort" command. More...
 
static CommandReturnValues cmd_dialog (string &sCmd)
 This static function handles the displaying of user interaction dialogs. More...
 
static CommandReturnValues cmd_pso (string &sCmd)
 This static function implements the interface to the particle swarm optimizer. More...
 
static CommandReturnValues cmd_plotting (string &sCmd)
 This static function implements all plotting commands. More...
 
static CommandReturnValues cmd_fit (string &sCmd)
 This static function implements the "fit" and "fitw" commands. More...
 
static CommandReturnValues cmd_fft (string &sCmd)
 This static function implements the "fft" command. More...
 
static CommandReturnValues cmd_fwt (string &sCmd)
 This static function implements the "fwt" command. More...
 
static CommandReturnValues cmd_get (string &sCmd)
 This static function implements the "get" command. More...
 
static CommandReturnValues cmd_undefine (string &sCmd)
 This static function implements the "undefine" command. More...
 
static CommandReturnValues cmd_readline (string &sCmd)
 This static function implements the "readline" command. More...
 
static CommandReturnValues cmd_read (string &sCmd)
 This static function implements the "read" command. More...
 
static CommandReturnValues cmd_window (string &sCmd)
 This static function implements the "window" command. More...
 
static CommandReturnValues cmd_new (string &sCmd)
 This static function implements the "new" command. More...
 
static CommandReturnValues cmd_edit (string &sCmd)
 This static function implements the "edit" command. More...
 
static CommandReturnValues cmd_taylor (string &sCmd)
 This static function implements the "taylor" command. More...
 
static CommandReturnValues cmd_quit (string &sCmd)
 This static function implements the "quit" command. More...
 
static CommandReturnValues cmd_odesolve (string &sCmd)
 This static function implements the "odesolve" command. More...
 
static CommandReturnValues cmd_delete (string &sCmd)
 This static function implements the "delete" command. More...
 
static CommandReturnValues cmd_clear (string &sCmd)
 This static function implements the "clear" command. More...
 
static CommandReturnValues cmd_close (string &sCmd)
 This static function implements the "close" command. More...
 
static CommandReturnValues cmd_ifndefined (string &sCmd)
 This static function implements the "ifndefined" command. More...
 
static CommandReturnValues cmd_install (string &sCmd)
 This static function implements the "install" command. More...
 
static CommandReturnValues cmd_copy (string &sCmd)
 This static function implements the "copy" command. More...
 
static CommandReturnValues cmd_credits (string &sCmd)
 This static function implements the "credits" command. More...
 
static CommandReturnValues cmd_append (string &sCmd)
 This static function implements the "append" command. More...
 
static CommandReturnValues cmd_audio (string &sCmd)
 This static function implements the "audio" command. More...
 
static CommandReturnValues cmd_clc (string &sCmd)
 This static function implements the "clc" command. More...
 
static CommandReturnValues cmd_audioread (string &sCmd)
 This static function implements the "audioread" command. More...
 
static CommandReturnValues cmd_seek (string &sCmd)
 This static function implements the "seek" command. More...
 
static CommandReturnValues cmd_imread (string &sCmd)
 This static function implements the "imread" command. More...
 
static CommandReturnValues cmd_write (string &sCmd)
 This static function implements the "write" command. More...
 
static CommandReturnValues cmd_workpath (string &sCmd)
 This static function implements the "workpath" command. More...
 
static CommandReturnValues cmd_warn (string &sCmd)
 This static function implements the "warn" command. More...
 
static CommandReturnValues cmd_stats (string &sCmd)
 This static function implements the "stats" command. More...
 
static CommandReturnValues cmd_stfa (string &sCmd)
 This static function implements the "stfa" command. More...
 
static CommandReturnValues cmd_spline (string &sCmd)
 This static function implements the "spline" command. More...
 
static CommandReturnValues cmd_save (string &sCmd)
 This static function implements the "save" command. More...
 
static CommandReturnValues cmd_set (string &sCmd)
 This static function implements the "set" command. More...
 
static CommandReturnValues cmd_start (string &sCmd)
 This static function implements the "start" command. More...
 
static CommandReturnValues cmd_show (string &sCmd)
 This static function implements the "show" command. Editing of tables is not supplied by this function. More...
 
static CommandReturnValues cmd_smooth (string &sCmd)
 This static function implements the "smooth" command. More...
 
static CommandReturnValues cmd_swap (string &sCmd)
 This static function implements the "swap" command. More...
 
static CommandReturnValues cmd_hist (string &sCmd)
 This static function implements the "hist" command. More...
 
static CommandReturnValues cmd_help (string &sCmd)
 This static function implements the "help" command. More...
 
static CommandReturnValues cmd_move (string &sCmd)
 This static function implements the "move" command. More...
 
static CommandReturnValues cmd_pack (string &sCmd)
 This static function implements the "pack" command. More...
 
static CommandReturnValues cmd_unpack (string &sCmd)
 This static function implements the "unpack" command. More...
 
static CommandReturnValues cmd_hline (string &sCmd)
 This static function implements the "hline" command. More...
 
static CommandReturnValues cmd_matop (string &sCmd)
 This static function implements the "matop" command. More...
 
static CommandReturnValues cmd_random (string &sCmd)
 This static function implements the "random" command. More...
 
static CommandReturnValues cmd_redefine (string &sCmd)
 This static function implements the "redefine" command. More...
 
static CommandReturnValues cmd_resample (string &sCmd)
 This static function implements the "resample" command. More...
 
static CommandReturnValues cmd_remove (string &sCmd)
 This static function implements the "remove" command. More...
 
static CommandReturnValues cmd_rename (string &sCmd)
 This static function implements the "rename" command. More...
 
static CommandReturnValues cmd_retouch (string &sCmd)
 This static function implements the "retouch" command. More...
 
static CommandReturnValues cmd_regularize (string &sCmd)
 This static function implements the "regularize" command. More...
 
static CommandReturnValues cmd_define (string &sCmd)
 This static function implements the "define" command. More...
 
static CommandReturnValues cmd_datagrid (string &sCmd)
 This static function implements the "datagrid" command. More...
 
static CommandReturnValues cmd_detect (string &sCmd)
 This static function implements the "detect" command. More...
 
static CommandReturnValues cmd_list (string &sCmd)
 This static function implements the "list" command. More...
 
static std::string getTargetTable (const std::string &sCmd)
 Simple handler function for cmd_load. More...
 
static CommandReturnValues cmd_load (string &sCmd)
 This static function implements the "load" command. More...
 
static CommandReturnValues cmd_reload (string &sCmd)
 This static function implements the "reload" command. More...
 
static CommandReturnValues cmd_execute (string &sCmd)
 This static function implements the "execute" command. More...
 
static CommandReturnValues cmd_progress (string &sCmd)
 This static function implements the "progress" command. More...
 
static CommandReturnValues cmd_print (string &sCmd)
 This static function implements the "print" command. More...
 
static CommandReturnValues cmd_rotate (string &sCmd)
 This static function implements all "*rot" commands. More...
 
static CommandReturnValues cmd_url (string &sCmd)
 This static function implements the "url" command. More...
 
static CommandReturnValues cmd_include (string &sCmd)
 This static function implements the "include" command. More...
 
static std::map< std::string, CommandFuncgetCommandFunctions ()
 This static function returns a map of commands linked to their function implementation. More...
 
static std::map< std::string, CommandFuncgetCommandFunctionsWithReturnValues ()
 This static function returns a map of commands with return values linked to their function implementation. More...
 

Variables

mglGraph _fontData
 

Typedef Documentation

◆ CommandFunc

typedef CommandReturnValues(* CommandFunc) (string &)

Definition at line 51 of file commandfunctions.hpp.

Enumeration Type Documentation

◆ WindowType

enum WindowType
Enumerator
WT_ALL 
WT_GRAPH 
WT_TABLEVIEWER 
WT_IMAGEVIEWER 
WT_DOCVIEWER 
WT_CUSTOM 
WT_ALL 
WT_GRAPH 
WT_TABLEVIEWER 
WT_IMAGEVIEWER 
WT_DOCVIEWER 
WT_CUSTOM 

Definition at line 40 of file commandfunctions.hpp.

Function Documentation

◆ autoSave()

static void autoSave ( MemoryManager _data,
Output _out,
Settings _option 
)
static

This function performs the autosave at the application termination.

Parameters
_dataDatafile&
_outOutput&
_optionSettings&
Returns
void

Definition at line 1955 of file commandfunctions.hpp.

References _lang, SyntaxError::CANNOT_SAVE_CACHE, Language::get(), MemoryManager::getSaveStatus(), SyntaxError::invalid_position, MemoryManager::isValid(), NumeReKernel::printPreFmt(), MemoryManager::saveToCacheFile(), Settings::systemPrints(), and toSystemCodePage().

Referenced by cmd_quit().

Here is the call graph for this function:

◆ calcTableWidth()

std::vector< size_t > calcTableWidth ( size_t  maxWidth,
std::vector< size_t >  minDesiredColWidth 
)

This function returns a vector with column widths for a table, depending on the overall table size and the minimal desired column sizes. A zero for the minimal desired column width means to maximize that column. If multiple columns are maximized then the space is distributed equally between them.

Parameters
maxWidthsize_t
minDesiredColWidthstd::vector<size_t>
Returns
std::vector<size_t>

Definition at line 1657 of file commandfunctions.hpp.

References min.

Referenced by listInstalledPlugins().

◆ cmd_append()

static CommandReturnValues cmd_append ( string &  sCmd)
static

This static function implements the "append" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3356 of file commandfunctions.hpp.

References append_data(), CommandLineParser::CMD_DAT_PAR, COMMAND_HAS_RETURNVALUE, COMMAND_PROCESSED, MemoryManager::getColElements(), MemoryManager::getCols(), CommandLineParser::getExpr(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), CommandLineParser::getReturnValueStatement(), VectorIndex::OPEN_END, NumeReKernel::printPreFmt(), and CommandLineParser::setReturnValue().

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_audio()

static CommandReturnValues cmd_audio ( string &  sCmd)
static

This static function implements the "audio" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3386 of file commandfunctions.hpp.

References _lang, SyntaxError::CANNOT_SAVE_FILE, CommandLineParser::CMD_EXPR_set_PAR, COMMAND_PROCESSED, Language::get(), NumeReKernel::getInstance(), SyntaxError::invalid_position, NumeReKernel::print(), and writeAudioFile().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_audioread()

static CommandReturnValues cmd_audioread ( string &  sCmd)
static

This static function implements the "audioread" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3423 of file commandfunctions.hpp.

References _lang, SyntaxError::CANNOT_READ_FILE, CommandLineParser::CMD_EXPR_set_PAR, COMMAND_HAS_RETURNVALUE, Language::get(), CommandLineParser::getExprAsFileName(), NumeReKernel::getInstance(), CommandLineParser::getReturnValueStatement(), SyntaxError::invalid_position, NumeReKernel::print(), and readAudioFile().

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_clc()

static CommandReturnValues cmd_clc ( string &  sCmd)
static

This static function implements the "clc" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3407 of file commandfunctions.hpp.

References NumeReKernel::clcTerminal(), and COMMAND_PROCESSED.

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_clear()

static CommandReturnValues cmd_clear ( string &  sCmd)
static

This static function implements the "clear" command.

Parameters
sCmdstring&
Returns
CommandReturnValues
Todo:
Evaluate, whether the "clear" command actual fits the current design.

Definition at line 3122 of file commandfunctions.hpp.

References _lang, clear_cache(), NumeRe::ClusterManager::clearAllClusters(), StringMemory::clearStringElements(), CommandLineParser::CMD_DAT_PAR, cmd_delete(), COMMAND_PROCESSED, MemoryManager::containsTables(), findCommand(), Language::get(), CommandLineParser::getExpr(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), NumeReKernel::getSettings(), CommandLineParser::hasParam(), NumeRe::ClusterManager::newCluster(), NumeReKernel::print(), NumeReKernel::setAns(), NumeRe::Cluster::setDouble(), and Settings::systemPrints().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_close()

static CommandReturnValues cmd_close ( string &  sCmd)
static

This static function implements the "close" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3179 of file commandfunctions.hpp.

References NumeReKernel::closeWindows(), COMMAND_PROCESSED, findParameter(), NumeReKernel::getInstance(), WT_ALL, WT_DOCVIEWER, WT_GRAPH, WT_IMAGEVIEWER, and WT_TABLEVIEWER.

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_copy()

static CommandReturnValues cmd_copy ( string &  sCmd)
static

This static function implements the "copy" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3279 of file commandfunctions.hpp.

References _lang, SyntaxError::CANNOT_COPY_DATA, SyntaxError::CANNOT_COPY_FILE, CommandLineParser::CMD_DAT_PAR, COMMAND_PROCESSED, CopyData(), CommandLineParser::exprContainsDataObjects(), Language::get(), CommandLineParser::getExpr(), NumeReKernel::getInstance(), CommandLineParser::getReturnValueStatement(), NumeReKernel::getSettings(), CommandLineParser::hasParam(), SyntaxError::invalid_position, moveOrCopyFiles(), NumeReKernel::print(), and Settings::systemPrints().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_credits()

static CommandReturnValues cmd_credits ( string &  sCmd)
static

This static function implements the "credits" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3324 of file commandfunctions.hpp.

References _lang, COMMAND_PROCESSED, AutoVersion::DATE, NumeReKernel::displaySplash(), Language::get(), NumeReKernel::getInstance(), make_hline(), AutoVersion::MONTH, NumeReKernel::print(), NumeReKernel::printPreFmt(), sVersion, NumeReKernel::toggleTableStatus(), toSystemCodePage(), and AutoVersion::YEAR.

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_datagrid()

static CommandReturnValues cmd_datagrid ( string &  sCmd)
static

This static function implements the "datagrid" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 4742 of file commandfunctions.hpp.

References _lang, CommandLineParser::CMD_EXPR_set_PAR, COMMAND_PROCESSED, createDatagrid(), doc_Help(), Language::get(), NumeReKernel::getInstance(), CommandLineParser::getReturnValueStatement(), NumeReKernel::getSettings(), NumeReKernel::print(), and Settings::systemPrints().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_define()

◆ cmd_delete()

◆ cmd_detect()

static CommandReturnValues cmd_detect ( string &  sCmd)
static

This static function implements the "detect" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 4764 of file commandfunctions.hpp.

References boneDetection(), CommandLineParser::CMD_EXPR_set_PAR, and COMMAND_PROCESSED.

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_dialog()

static CommandReturnValues cmd_dialog ( string &  sCmd)
static

This static function handles the displaying of user interaction dialogs.

Parameters
sCmdstring&
Returns
CommandReturnValues

This includes message boxes, file and directory pickers, text entries, list and selection dialogs.

Definition at line 2458 of file commandfunctions.hpp.

References CommandLineParser::CMD_EXPR_set_PAR, COMMAND_HAS_RETURNVALUE, dialogCommand(), and CommandLineParser::getReturnValueStatement().

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_diff()

static CommandReturnValues cmd_diff ( string &  sCmd)
static

This static function implements the "diff" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2296 of file commandfunctions.hpp.

References CommandLineParser::CMD_EXPR_set_PAR, COMMAND_HAS_RETURNVALUE, COMMAND_PROCESSED, differentiate(), doc_Help(), CommandLineParser::getExpr(), NumeReKernel::getInstance(), and CommandLineParser::getReturnValueStatement().

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_edit()

static CommandReturnValues cmd_edit ( string &  sCmd)
static

This static function implements the "edit" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2959 of file commandfunctions.hpp.

References COMMAND_PROCESSED, doc_Help(), editObject(), extractFirstParameterStringValue(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), NumeReKernel::getParser(), and NumeReKernel::getSettings().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_eval()

static CommandReturnValues cmd_eval ( string &  sCmd)
static

This static function implements the "eval" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2377 of file commandfunctions.hpp.

References CommandLineParser::CMD_EXPR_set_PAR, COMMAND_HAS_RETURNVALUE, COMMAND_PROCESSED, doc_Help(), evalPoints(), NumeReKernel::getInstance(), and CommandLineParser::getReturnValueStatement().

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_execute()

static CommandReturnValues cmd_execute ( string &  sCmd)
static

This static function implements the "execute" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 5097 of file commandfunctions.hpp.

References COMMAND_PROCESSED, executeCommand(), NumeReKernel::getDefinitions(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), NumeReKernel::getParser(), and NumeReKernel::getSettings().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_extrema()

static CommandReturnValues cmd_extrema ( string &  sCmd)
static

This static function implements the "extrema" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2321 of file commandfunctions.hpp.

References CommandLineParser::CMD_EXPR_set_PAR, COMMAND_HAS_RETURNVALUE, COMMAND_PROCESSED, doc_Help(), findExtrema(), CommandLineParser::getExpr(), NumeReKernel::getInstance(), CommandLineParser::getReturnValueStatement(), and NumeReKernel::getSettings().

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_fft()

static CommandReturnValues cmd_fft ( string &  sCmd)
static

This static function implements the "fft" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2581 of file commandfunctions.hpp.

References CommandLineParser::CMD_DAT_PAR, COMMAND_PROCESSED, and fastFourierTransform().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_find()

static CommandReturnValues cmd_find ( string &  sCmd)
static

This static function implements the "find" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2241 of file commandfunctions.hpp.

References _lang, CommandLineParser::CMD_DAT_PAR, COMMAND_PROCESSED, doc_Help(), doc_SearchFct(), Language::get(), CommandLineParser::getExpr(), NumeReKernel::getInstance(), CommandLineParser::getParameterList(), NumeReKernel::getSettings(), LineBreak(), and NumeReKernel::print().

Referenced by commandHandler().

Here is the call graph for this function:

◆ cmd_fit()

static CommandReturnValues cmd_fit ( string &  sCmd)
static

This static function implements the "fit" and "fitw" commands.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2557 of file commandfunctions.hpp.

References COMMAND_PROCESSED, doc_Help(), fitDataSet(), NumeReKernel::getDefinitions(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), NumeReKernel::getParser(), NumeReKernel::getSettings(), and MemoryManager::isValid().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_fwt()

static CommandReturnValues cmd_fwt ( string &  sCmd)
static

This static function implements the "fwt" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2598 of file commandfunctions.hpp.

References CommandLineParser::CMD_DAT_PAR, COMMAND_PROCESSED, and fastWaveletTransform().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_get()

static CommandReturnValues cmd_get ( string &  sCmd)
static

This static function implements the "get" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2615 of file commandfunctions.hpp.

References SettingsValue::BOOL, COMMAND_HAS_RETURNVALUE, COMMAND_PROCESSED, doc_Help(), extractCommandString(), findCommand(), findParameter(), findSettingOption(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), PlotData::getParams(), NumeReKernel::getParser(), NumeReKernel::getPlottingData(), Settings::getSettings(), NumeReKernel::getSettings(), getVarList(), LineBreak(), Match::nPos, NumeReKernel::print(), SETTING_V_WINDOW_X, SETTING_V_WINDOW_Y, SettingsValue::STRING, toString(), toUpperCase(), and SettingsValue::UINT.

Referenced by commandHandler().

Here is the call graph for this function:

◆ cmd_help()

static CommandReturnValues cmd_help ( string &  sCmd)
static

This static function implements the "help" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 4150 of file commandfunctions.hpp.

References COMMAND_PROCESSED, doc_Help(), findCommand(), NumeReKernel::getInstance(), and NumeReKernel::getSettings().

Referenced by commandHandler().

Here is the call graph for this function:

◆ cmd_hist()

static CommandReturnValues cmd_hist ( string &  sCmd)
static

This static function implements the "hist" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 4132 of file commandfunctions.hpp.

References COMMAND_PROCESSED, evaluateParameterValues(), and plugin_histogram().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_hline()

static CommandReturnValues cmd_hline ( string &  sCmd)
static

This static function implements the "hline" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 4312 of file commandfunctions.hpp.

References COMMAND_PROCESSED, findParameter(), and make_hline().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_ifndefined()

static CommandReturnValues cmd_ifndefined ( string &  sCmd)
static

This static function implements the "ifndefined" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3206 of file commandfunctions.hpp.

References _lang, addArgumentQuotes(), COMMAND_PROCESSED, FunctionDefinitionManager::defineFunc(), doc_Help(), findParameter(), Language::get(), NumeReKernel::getDefinitions(), NumeReKernel::getInstance(), NumeReKernel::getSettings(), NumeReKernel::getStringParser(), NumeRe::StringVarFactory::getStringValues(), FunctionDefinitionManager::isDefined(), NumeReKernel::issueWarning(), NumeReKernel::print(), StripSpaces(), and Settings::systemPrints().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_imread()

static CommandReturnValues cmd_imread ( string &  sCmd)
static

This static function implements the "imread" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3467 of file commandfunctions.hpp.

References CommandLineParser::CMD_DAT_PAR, COMMAND_HAS_RETURNVALUE, CommandLineParser::getReturnValueStatement(), and readImage().

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_include()

static CommandReturnValues cmd_include ( string &  sCmd)
static

This static function implements the "include" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 5221 of file commandfunctions.hpp.

References SyntaxError::INVALID_COMMAND.

Referenced by getCommandFunctions().

◆ cmd_install()

static CommandReturnValues cmd_install ( string &  sCmd)
static

This static function implements the "install" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3245 of file commandfunctions.hpp.

References COMMAND_PROCESSED, containsStrings(), extractFirstParameterStringValue(), findCommand(), NumeReKernel::getInstance(), NumeReKernel::getScript(), NumeReKernel::getStringParser(), NumeRe::StringVarFactory::getStringValues(), Script::isOpen(), Script::openScript(), Script::setInstallProcedures(), and StripSpaces().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_integrate()

static CommandReturnValues cmd_integrate ( string &  sCmd)
static

This static function implements the "integrate" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2268 of file commandfunctions.hpp.

References CommandLineParser::CMD_EXPR_set_PAR, COMMAND_HAS_RETURNVALUE, CommandLineParser::getCommand(), CommandLineParser::getReturnValueStatement(), integrate(), integrate2d(), CommandLineParser::parseIntervals(), and IntervalSet::size().

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_list()

static CommandReturnValues cmd_list ( string &  sCmd)
static

This static function implements the "list" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 4781 of file commandfunctions.hpp.

References COMMAND_PROCESSED, findSettingOption(), getArgAtPos(), NumeReKernel::getDefinitions(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), NumeReKernel::getParser(), NumeReKernel::getSettings(), listCommands(), listConstants(), listDeclaredVariables(), listDefinitions(), listFiles(), listFunctions(), listInstalledPlugins(), listLogicalOperators(), and listUnitConversions().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_load()

static CommandReturnValues cmd_load ( string &  sCmd)
static

This static function implements the "load" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 4884 of file commandfunctions.hpp.

References _lang, append_data(), CommandLineParser::CMD_DAT_PAR, COMMAND_HAS_RETURNVALUE, COMMAND_PROCESSED, doc_Help(), SyntaxError::FILE_NOT_EXIST, fileExists(), findParameter(), Language::get(), MemoryManager::getCols(), NumeReKernel::getDefinitions(), CommandLineParser::getExpr(), getFileList(), NumeReKernel::getInstance(), MemoryManager::getLines(), NumeReKernel::getMemoryManager(), CommandLineParser::getParameterList(), CommandLineParser::getParameterValue(), CommandLineParser::getParameterValueAsNumericalValue(), NumeReKernel::getParser(), CommandLineParser::getReturnValueStatement(), NumeReKernel::getSettings(), getTargetTable(), CommandLineParser::hasParam(), intCast(), MemoryManager::isEmpty(), FunctionDefinitionManager::load(), load_data(), NumeRe::FileHeaderInfo::nCols, NumeRe::FileHeaderInfo::nRows, NumeRe::FileAdapter::openFile(), CommandLineParser::parseExprAsString(), NumeReKernel::print(), MemoryManager::removeData(), NumeRe::FileAdapter::setbLoadEmptyColsInNextFile(), CommandLineParser::setReturnValue(), NumeRe::FileHeaderInfo::sFileName, NumeRe::FileHeaderInfo::sTableName, Settings::systemPrints(), and toString().

Referenced by cmd_reload(), and getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_matop()

static CommandReturnValues cmd_matop ( string &  sCmd)
static

This static function implements the "matop" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 4331 of file commandfunctions.hpp.

References COMMAND_PROCESSED, NumeReKernel::getDefinitions(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), NumeReKernel::getParser(), NumeReKernel::getSettings(), and performMatrixOperation().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_move()

static CommandReturnValues cmd_move ( string &  sCmd)
static

This static function implements the "move" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 4171 of file commandfunctions.hpp.

References _lang, SyntaxError::CANNOT_MOVE_DATA, SyntaxError::CANNOT_MOVE_FILE, CommandLineParser::CMD_DAT_PAR, COMMAND_PROCESSED, CommandLineParser::exprContainsDataObjects(), Language::get(), CommandLineParser::getExpr(), NumeReKernel::getInstance(), CommandLineParser::getReturnValueStatement(), NumeReKernel::getSettings(), CommandLineParser::hasParam(), SyntaxError::invalid_position, LineBreak(), moveData(), moveOrCopyFiles(), NumeReKernel::print(), and Settings::systemPrints().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_new()

static CommandReturnValues cmd_new ( string &  sCmd)
static

This static function implements the "new" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2920 of file commandfunctions.hpp.

References COMMAND_PROCESSED, doc_Help(), evaluateParameterValues(), findCommand(), findParameter(), NumeReKernel::getDefinitions(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), FunctionDefinitionManager::getNamesOfDefinedFunctions(), NumeReKernel::getParser(), NumeReKernel::getSettings(), newObject(), and MemoryManager::setUserdefinedFuncs().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_odesolve()

static CommandReturnValues cmd_odesolve ( string &  sCmd)
static

This static function implements the "odesolve" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3041 of file commandfunctions.hpp.

References COMMAND_PROCESSED, doc_Help(), NumeReKernel::getDefinitions(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), NumeReKernel::getParser(), NumeReKernel::getSettings(), and Odesolver::solve().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_pack()

◆ cmd_plotting()

static CommandReturnValues cmd_plotting ( string &  sCmd)
static

This static function implements all plotting commands.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2497 of file commandfunctions.hpp.

References _lang, COMMAND_PROCESSED, createPlot(), doc_Help(), findCommand(), Language::get(), NumeReKernel::getDefinitions(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), NumeReKernel::getParser(), NumeReKernel::getPlottingData(), NumeReKernel::getSettings(), isNotEmptyExpression(), NumeReKernel::print(), PlotData::setParams(), Match::sString, Settings::systemPrints(), and toSystemCodePage().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_print()

static CommandReturnValues cmd_print ( string &  sCmd)
static

This static function implements the "print" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 5159 of file commandfunctions.hpp.

References COMMAND_PROCESSED, NumeRe::StringParser::evalAndFormat(), findCommand(), SyntaxError::FUNCTION_ERROR, NumeReKernel::getInstance(), NumeReKernel::getStringParser(), and promptForUserInput().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_progress()

static CommandReturnValues cmd_progress ( string &  sCmd)
static

This static function implements the "progress" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 5117 of file commandfunctions.hpp.

References CommandLineParser::CMD_EXPR_set_PAR, COMMAND_PROCESSED, CommandLineParser::getExpr(), NumeReKernel::getInstance(), CommandLineParser::getParameterValue(), CommandLineParser::getParameterValueAsNumericalValue(), CommandLineParser::getParameterValueAsString(), intCast(), make_progressBar(), and CommandLineParser::parseExprAsNumericalValues().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_pso()

static CommandReturnValues cmd_pso ( string &  sCmd)
static

This static function implements the interface to the particle swarm optimizer.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2476 of file commandfunctions.hpp.

References CommandLineParser::CMD_EXPR_set_PAR, COMMAND_HAS_RETURNVALUE, CommandLineParser::getReturnValueStatement(), and particleSwarmOptimizer().

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_pulse()

static CommandReturnValues cmd_pulse ( string &  sCmd)
static

This static function implements the "pulse" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2353 of file commandfunctions.hpp.

References analyzePulse(), CommandLineParser::CMD_DAT_PAR, COMMAND_HAS_RETURNVALUE, COMMAND_PROCESSED, doc_Help(), NumeReKernel::getInstance(), and CommandLineParser::getReturnValueStatement().

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_quit()

static CommandReturnValues cmd_quit ( string &  sCmd)
static

This static function implements the "quit" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3017 of file commandfunctions.hpp.

References autoSave(), findParameter(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), NumeReKernel::getOutput(), NumeReKernel::getSettings(), NUMERE_QUIT, and MemoryManager::setSaveStatus().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_random()

static CommandReturnValues cmd_random ( string &  sCmd)
static

This static function implements the "random" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 4351 of file commandfunctions.hpp.

References COMMAND_PROCESSED, and plugin_random().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_read()

static CommandReturnValues cmd_read ( string &  sCmd)
static

This static function implements the "read" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2869 of file commandfunctions.hpp.

References CommandLineParser::CMD_DAT_PAR, COMMAND_HAS_RETURNVALUE, COMMAND_PROCESSED, doc_Help(), CommandLineParser::getExpr(), NumeReKernel::getInstance(), CommandLineParser::getReturnValueStatement(), NumeReKernel::getSettings(), and readFromFile().

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_readline()

static CommandReturnValues cmd_readline ( string &  sCmd)
static

This static function implements the "readline" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2809 of file commandfunctions.hpp.

References CommandLineParser::CMD_PAR, COMMAND_HAS_RETURNVALUE, NumeReKernel::getInstance(), NumeReKernel::getline(), CommandLineParser::getParameterValueAsString(), CommandLineParser::getReturnValueStatement(), NumeReKernel::getSettings(), CommandLineParser::hasParam(), LineBreak(), NumeReKernel::printPreFmt(), CommandLineParser::setReturnValue(), and StripSpaces().

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_redefine()

static CommandReturnValues cmd_redefine ( string &  sCmd)
static

This static function implements the "redefine" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 4367 of file commandfunctions.hpp.

References _lang, addArgumentQuotes(), COMMAND_PROCESSED, FunctionDefinitionManager::defineFunc(), doc_Help(), findCommand(), findParameter(), Language::get(), NumeReKernel::getDefinitions(), NumeReKernel::getInstance(), NumeReKernel::getSettings(), NumeReKernel::getStringParser(), NumeRe::StringVarFactory::getStringValues(), NumeReKernel::issueWarning(), NumeReKernel::print(), and Settings::systemPrints().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_regularize()

static CommandReturnValues cmd_regularize ( string &  sCmd)
static

This static function implements the "regularize" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 4667 of file commandfunctions.hpp.

References _lang, SyntaxError::CANNOT_REGULARIZE_CACHE, CommandLineParser::CMD_DAT_PAR, COMMAND_PROCESSED, Language::get(), NumeReKernel::getInstance(), NumeReKernel::getSettings(), SyntaxError::invalid_position, NumeReKernel::print(), regularizeDataSet(), and Settings::systemPrints().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_reload()

static CommandReturnValues cmd_reload ( string &  sCmd)
static

This static function implements the "reload" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 5052 of file commandfunctions.hpp.

References cmd_load(), COMMAND_HAS_RETURNVALUE, COMMAND_PROCESSED, findCommand(), getAllSemiColonSeparatedTokens(), MemoryManager::getCols(), NumeRe::FileAdapter::getDataFileName(), NumeReKernel::getInstance(), MemoryManager::getLines(), NumeReKernel::getMemoryManager(), NumeReKernel::getParser(), Match::nPos, MemoryManager::removeData(), and mu::ParserBase::SetVectorVar().

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_remove()

◆ cmd_rename()

static CommandReturnValues cmd_rename ( string &  sCmd)
static

This static function implements the "rename" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 4542 of file commandfunctions.hpp.

References _lang, COMMAND_PROCESSED, evaluateParameterValues(), findParameter(), Language::get(), getArgAtPos(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), getNextArgument(), NumeReKernel::getSettings(), LineBreak(), MemoryManager::matchTableAsParameter(), NumeReKernel::print(), MemoryManager::renameTable(), StripSpaces(), and Settings::systemPrints().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_resample()

◆ cmd_retouch()

◆ cmd_rotate()

static CommandReturnValues cmd_rotate ( string &  sCmd)
static

This static function implements all "*rot" commands.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 5186 of file commandfunctions.hpp.

References CommandLineParser::CMD_EXPR_set_PAR, COMMAND_PROCESSED, and rotateTable().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_save()

static CommandReturnValues cmd_save ( string &  sCmd)
static

This static function implements the "save" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3673 of file commandfunctions.hpp.

References COMMAND_PROCESSED, findParameter(), NumeReKernel::getDefinitions(), Settings::getExePath(), NumeReKernel::getInstance(), NumeReKernel::getSettings(), FunctionDefinitionManager::save(), Settings::save(), and saveDataObject().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_seek()

static CommandReturnValues cmd_seek ( string &  sCmd)
static

This static function implements the "seek" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3445 of file commandfunctions.hpp.

References _lang, SyntaxError::CANNOT_READ_FILE, CommandLineParser::CMD_EXPR_set_PAR, COMMAND_HAS_RETURNVALUE, Language::get(), CommandLineParser::getExprAsFileName(), NumeReKernel::getInstance(), CommandLineParser::getReturnValueStatement(), SyntaxError::invalid_position, NumeReKernel::print(), and seekInAudioFile().

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_set()

static CommandReturnValues cmd_set ( string &  sCmd)
static

This static function implements the "set" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3701 of file commandfunctions.hpp.

References _fontData, _lang, addArgumentQuotes(), ARGEXTRACT_STRIPPED, SettingsValue::BOOL, COMMAND_PROCESSED, doc_Help(), mu::ParserBase::EnableDebugDump(), extractFirstParameterStringValue(), fileExists(), findSettingOption(), g_logger, Language::get(), getArgAtPos(), NumeReKernel::getDebugger(), FunctionDefinitionManager::getDefinedFunctions(), NumeReKernel::getDefinitions(), Settings::getExePath(), NumeReKernel::getInstance(), NumeReKernel::getline(), NumeReKernel::getMemoryManager(), NumeReKernel::getOutput(), NumeReKernel::getParser(), FileSystem::getPath(), getPathForSetting(), NumeReKernel::getPlottingData(), FileSystem::getProgramPath(), NumeReKernel::getScript(), Settings::getSettings(), NumeReKernel::getSettings(), NumeReKernel::getStringParser(), NumeRe::StringVarFactory::getStringValues(), Settings::getTokenPaths(), Settings::isDeveloperMode(), LineBreak(), FunctionDefinitionManager::load(), Logger::LVL_DEBUG, Logger::LVL_INFO, NumeReKernel::modifiedSettings, parseCmdArg(), NumeReKernel::print(), NumeReKernel::printPreFmt(), Settings::save(), NumeReDebugger::setActive(), NumeRe::FileAdapter::setbLoadEmptyCols(), Settings::setDefaultPlotFont(), PlotData::setFont(), DetachedLogger::setLoggingLevel(), FileSystem::setPath(), NumeRe::FileAdapter::setSavePath(), SETTING_B_DEBUGGER, SETTING_B_DEFCONTROL, SETTING_B_DEVELOPERMODE, SETTING_B_LOADEMPTYCOLS, SETTING_S_EXEPATH, SETTING_S_LOADPATH, SETTING_S_PLOTFONT, SETTING_S_PLOTPATH, SETTING_S_SAVEPATH, SETTING_S_SCRIPTPATH, FileSystem::setTokens(), AutoVersion::STATUS, SettingsValue::STRING, Settings::systemPrints(), toString(), toSystemCodePage(), toUpperCase(), SettingsValue::UINT, and Settings::useDebugger().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_show()

◆ cmd_smooth()

◆ cmd_sort()

static CommandReturnValues cmd_sort ( string &  sCmd)
static

This static function implements the "sort" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2431 of file commandfunctions.hpp.

References CommandLineParser::CMD_EXPR_set_PAR, COMMAND_HAS_RETURNVALUE, COMMAND_PROCESSED, CommandLineParser::getReturnValueStatement(), and sortData().

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_spline()

static CommandReturnValues cmd_spline ( string &  sCmd)
static

This static function implements the "spline" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3652 of file commandfunctions.hpp.

References calculateSplines(), CommandLineParser::CMD_DAT_PAR, COMMAND_PROCESSED, doc_Help(), NumeReKernel::getInstance(), and NumeReKernel::getSettings().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_start()

static CommandReturnValues cmd_start ( string &  sCmd)
static

This static function implements the "start" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3892 of file commandfunctions.hpp.

References _lang, SyntaxError::CANNOT_CALL_SCRIPT_RECURSIVELY, CommandLineParser::CMD_DAT_PAR, COMMAND_PROCESSED, Language::get(), CommandLineParser::getExprAsFileName(), NumeReKernel::getInstance(), NumeReKernel::getScript(), SyntaxError::invalid_position, Script::isOpen(), Script::openScript(), and SyntaxError::SCRIPT_NOT_EXIST.

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_stats()

static CommandReturnValues cmd_stats ( string &  sCmd)
static

This static function implements the "stats" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3577 of file commandfunctions.hpp.

References addArgumentQuotes(), COMMAND_HAS_RETURNVALUE, COMMAND_PROCESSED, copyDataToTemporaryTable(), evaluateParameterValues(), findCommand(), findParameter(), DataAccessParser::getDataObject(), NumeReKernel::getInstance(), getMatchingParenthesis(), NumeReKernel::getMemoryManager(), NumeReKernel::getStringParser(), NumeRe::StringVarFactory::getStringValues(), SyntaxError::invalid_position, Match::nPos, plugin_statistics(), MemoryManager::renameTable(), and SyntaxError::TABLE_DOESNT_EXIST.

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_stfa()

static CommandReturnValues cmd_stfa ( string &  sCmd)
static

This static function implements the "stfa" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3631 of file commandfunctions.hpp.

References _lang, CommandLineParser::CMD_DAT_PAR, COMMAND_PROCESSED, doc_Help(), Language::get(), NumeReKernel::getInstance(), CommandLineParser::getReturnValueStatement(), NumeReKernel::print(), and shortTimeFourierAnalysis().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_swap()

static CommandReturnValues cmd_swap ( string &  sCmd)
static

This static function implements the "swap" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 4118 of file commandfunctions.hpp.

References NumeReKernel::getInstance(), and swapTables().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_taylor()

static CommandReturnValues cmd_taylor ( string &  sCmd)
static

This static function implements the "taylor" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2992 of file commandfunctions.hpp.

References CommandLineParser::CMD_EXPR_set_PAR, COMMAND_HAS_RETURNVALUE, COMMAND_PROCESSED, doc_Help(), CommandLineParser::getExpr(), NumeReKernel::getInstance(), CommandLineParser::getReturnValueStatement(), and taylor().

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_undefine()

static CommandReturnValues cmd_undefine ( string &  sCmd)
static

This static function implements the "undefine" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2786 of file commandfunctions.hpp.

References COMMAND_PROCESSED, doc_Help(), findCommand(), NumeReKernel::getDefinitions(), NumeReKernel::getInstance(), NumeReKernel::getSettings(), Match::nPos, and undefineFunctions().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_unpack()

static CommandReturnValues cmd_unpack ( string &  sCmd)
static

This static function implements the "unpack" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 4271 of file commandfunctions.hpp.

References CommandLineParser::CMD_EXPR_set_PAR, COMMAND_HAS_RETURNVALUE, COMMAND_PROCESSED, CommandLineParser::getExpr(), CommandLineParser::getExprAsFileName(), NumeReKernel::getFileSystem(), NumeReKernel::getInstance(), CommandLineParser::getParameterValueAsString(), CommandLineParser::getReturnValueStatement(), replacePathSeparator(), CommandLineParser::setReturnValue(), Archive::unpack(), and FileSystem::ValidFolderName().

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_url()

static CommandReturnValues cmd_url ( string &  sCmd)
static

This static function implements the "url" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 5203 of file commandfunctions.hpp.

References CommandLineParser::CMD_DAT_PAR, COMMAND_HAS_RETURNVALUE, CommandLineParser::getReturnValueStatement(), and urlExecute().

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_warn()

static CommandReturnValues cmd_warn ( string &  sCmd)
static

This static function implements the "warn" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3532 of file commandfunctions.hpp.

References CommandLineParser::CMD_EXPR_set_PAR, COMMAND_PROCESSED, doc_Help(), CommandLineParser::getExpr(), NumeReKernel::getInstance(), Settings::getPrecision(), NumeReKernel::getSettings(), NumeReKernel::issueWarning(), CommandLineParser::parseExprAsNumericalValues(), CommandLineParser::parseExprAsString(), and toString().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_window()

static CommandReturnValues cmd_window ( string &  sCmd)
static

This static function implements the "window" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2895 of file commandfunctions.hpp.

References CommandLineParser::CMD_DAT_PAR, COMMAND_HAS_RETURNVALUE, COMMAND_PROCESSED, doc_Help(), CommandLineParser::getExpr(), NumeReKernel::getInstance(), CommandLineParser::getParameterList(), CommandLineParser::getReturnValueStatement(), and windowCommand().

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ cmd_workpath()

static CommandReturnValues cmd_workpath ( string &  sCmd)
static

This static function implements the "workpath" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3507 of file commandfunctions.hpp.

References _lang, CommandLineParser::CMD_EXPR_set_PAR, COMMAND_PROCESSED, Language::get(), CommandLineParser::getExpr(), CommandLineParser::getExprAsFileName(), NumeReKernel::getInstance(), Settings::getSetting(), NumeReKernel::getSettings(), NO_COMMAND, NumeReKernel::print(), SETTING_S_WORKPATH, SettingsValue::stringval(), Settings::systemPrints(), and toSystemCodePage().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_write()

static CommandReturnValues cmd_write ( string &  sCmd)
static

This static function implements the "write" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 3486 of file commandfunctions.hpp.

References CommandLineParser::CMD_EXPR_set_PAR, COMMAND_PROCESSED, doc_Help(), CommandLineParser::getExpr(), NumeReKernel::getInstance(), CommandLineParser::hasParam(), and writeToFile().

Referenced by getCommandFunctions().

Here is the call graph for this function:

◆ cmd_zeroes()

static CommandReturnValues cmd_zeroes ( string &  sCmd)
static

This static function implements the "zeroes" command.

Parameters
sCmdstring&
Returns
CommandReturnValues

Definition at line 2401 of file commandfunctions.hpp.

References CommandLineParser::CMD_EXPR_set_PAR, COMMAND_HAS_RETURNVALUE, COMMAND_PROCESSED, doc_Help(), findZeroes(), CommandLineParser::getExpr(), NumeReKernel::getInstance(), CommandLineParser::getReturnValueStatement(), and NumeReKernel::getSettings().

Referenced by getCommandFunctionsWithReturnValues().

Here is the call graph for this function:

◆ confirmOperation()

static bool confirmOperation ( const std::string &  sMessage)
static

Performs the operation confirmation loop, if the user did not supply the ignore command line option.

Parameters
sMessageconst std::string&
Returns
bool

Definition at line 67 of file commandfunctions.hpp.

References _lang, Language::get(), NumeReKernel::getline(), NumeReKernel::print(), NumeReKernel::printPreFmt(), StripSpaces(), and Language::YES().

Referenced by cmd_delete().

Here is the call graph for this function:

◆ copyDataToTemporaryTable()

static void copyDataToTemporaryTable ( const string &  sCmd,
DataAccessParser _accessParser,
MemoryManager _data,
MemoryManager _cache 
)
static

This static function copies the contents of the selected table to the provided temporary Datafile object. This function evaluates user- provided indices during the copy process.

Parameters
sCmdconst string&
_accessParserDataAccessParser&
_dataDatafile&
_cacheDatafile&
Returns
void

Definition at line 2029 of file commandfunctions.hpp.

References Indices::col, DataAccessParser::evalIndices(), Memory::extractRange(), DataAccessParser::getDataObject(), DataAccessParser::getIndices(), MemoryManager::getTable(), isValidIndexSet(), MemoryManager::melt(), Indices::row, and SyntaxError::TABLE_DOESNT_EXIST.

Referenced by cmd_show(), cmd_stats(), and saveDataObject().

Here is the call graph for this function:

◆ createListDirectoryHeader()

static string createListDirectoryHeader ( const string &  sPathName,
const string &  sLangString,
size_t  nWindowLength 
)
static

This static function draws the headers for the listed directories.

Parameters
sPathNameconst string&
sLangStringconst string&
nWindowLengthsize_t
Returns
string

Definition at line 980 of file commandfunctions.hpp.

References toUpperCase().

Referenced by listFiles().

Here is the call graph for this function:

◆ editObject()

◆ executeCommand()

static bool executeCommand ( string &  sCmd,
Parser _parser,
MemoryManager _data,
FunctionDefinitionManager _functions,
const Settings _option 
)
static

This static function implements the possibility to call the Windows shell directly from the code.

Parameters
sCmdstring&
_parserParser&
_dataDatafile&
_functionsDefine&
_optionconst Settings&
Returns
bool

For security reasons, this command may be disabled in the settings. It may only be enabled, if the user clicks the corresponding chekbox. There's no command available to enable this command.

Definition at line 1856 of file commandfunctions.hpp.

References _lang, CommandLineParser::CMD_EXPR_set_PAR, FileSystem::declareFileType(), SyntaxError::EXECUTE_COMMAND_DISABLED, SyntaxError::EXECUTE_COMMAND_UNSUCCESSFUL, Settings::executeEnabled(), Language::get(), NumeReKernel::GetAsyncCancelState(), Settings::getExePath(), CommandLineParser::getParameterValueAsString(), Settings::getTokenPaths(), CommandLineParser::hasParam(), SyntaxError::invalid_position, CommandLineParser::parseExprAsString(), NumeReKernel::printPreFmt(), SyntaxError::PROCESS_ABORTED_BY_USER, FileSystem::setPath(), FileSystem::setTokens(), StripSpaces(), Settings::systemPrints(), and FileSystem::ValidFileName().

Referenced by cmd_execute().

Here is the call graph for this function:

◆ findSettingOption()

static size_t findSettingOption ( const std::string &  sCmd,
const std::string &  sOption 
)
static

This static function is used to detect a setting option independent on a leading dash character in front of the option value.

Parameters
sCmdconst std::string&
sOptionconst std::string&
Returns
size_t

Definition at line 2053 of file commandfunctions.hpp.

References findParameter().

Referenced by cmd_get(), cmd_list(), cmd_set(), listDirectory(), and listFiles().

Here is the call graph for this function:

◆ getCommandFunctions()

◆ getCommandFunctionsWithReturnValues()

static std::map< std::string, CommandFunc > getCommandFunctionsWithReturnValues ( )
static

This static function returns a map of commands with return values linked to their function implementation.

Returns
std::map<std::string,CommandFunc>

Definition at line 5351 of file commandfunctions.hpp.

References cmd_append(), cmd_audioread(), cmd_dialog(), cmd_diff(), cmd_eval(), cmd_extrema(), cmd_imread(), cmd_integrate(), cmd_load(), cmd_pso(), cmd_pulse(), cmd_read(), cmd_readline(), cmd_reload(), cmd_seek(), cmd_sort(), cmd_stats(), cmd_taylor(), cmd_unpack(), cmd_url(), cmd_window(), and cmd_zeroes().

Referenced by commandHandler().

Here is the call graph for this function:

◆ getPathForSetting()

static string getPathForSetting ( string &  sCmd,
size_t  pos 
)
static

This static function extracts the path from the selected parameter. It is only used by cmd_set().

Parameters
sCmdstring&
possize_t
Returns
string

Definition at line 1991 of file commandfunctions.hpp.

References _lang, addArgumentQuotes(), extractFirstParameterStringValue(), Language::get(), NumeReKernel::getline(), NumeReKernel::print(), NumeReKernel::printPreFmt(), and toSystemCodePage().

Referenced by cmd_set().

Here is the call graph for this function:

◆ getTargetTable()

static std::string getTargetTable ( const std::string &  sCmd)
static

Simple handler function for cmd_load.

Parameters
sCmdconst std::string&
Returns
std::string

Definition at line 4858 of file commandfunctions.hpp.

References findParameter(), and getArgAtPos().

Referenced by cmd_load().

Here is the call graph for this function:

◆ getVarList()

static string getVarList ( const string &  sCmd,
Parser _parser,
MemoryManager _data,
Settings _option 
)
static

This function returns a list of the current defined variables either as strings or as plain text.

Parameters
sCmdconst string&
_parserParser&
_dataDatafile&
_optionSettings&
Returns
string

Definition at line 102 of file commandfunctions.hpp.

References findCommand(), findParameter(), NumeReKernel::getInstance(), Settings::getPrecision(), NumeReKernel::getStringParser(), NumeRe::StringVarFactory::getStringVars(), mu::ParserBase::GetVar(), and toString().

Referenced by cmd_get().

Here is the call graph for this function:

◆ listCommands()

static void listCommands ( const Settings _option)
static

This function lists all defined commands.

Parameters
_optionconst Settings&
Returns
void

It is more or less a legacy function, because the commands are now listed in the sidebar.

Definition at line 1538 of file commandfunctions.hpp.

References _lang, Language::get(), Language::getList(), LineBreak(), make_hline(), NumeReKernel::print(), NumeReKernel::printPreFmt(), NumeReKernel::toggleTableStatus(), toSystemCodePage(), and toUpperCase().

Referenced by cmd_list().

Here is the call graph for this function:

◆ listConstants()

static void listConstants ( const Parser _parser,
const Settings _option 
)
static

This function lists all known constants.

Parameters
_parserconst Parser&
_optionconst Settings&
Returns
void It is more or less a legacy function, because the constants are now listed in the sidebar.

Definition at line 1465 of file commandfunctions.hpp.

References _lang, Language::get(), mu::ParserBase::GetConst(), Settings::getPrecision(), Settings::getWindow(), LineBreak(), make_hline(), NumeReKernel::print(), NumeReKernel::printPreFmt(), strfill(), NumeReKernel::toggleTableStatus(), toString(), toSystemCodePage(), and toUpperCase().

Referenced by cmd_list().

Here is the call graph for this function:

◆ listDeclaredVariables()

static void listDeclaredVariables ( Parser _parser,
const Settings _option,
const MemoryManager _data 
)
static

This function lists all declared variables, which are known by the numerical and the string parser as well as the current declared data tables and clusters.

Parameters
_parserParser&
_optionconst Settings&
_dataconst Datafile&
Returns
void

It is more or less also a legacy function, because the declared variables are also listed in the variables widget.

Definition at line 1297 of file commandfunctions.hpp.

References _lang, Language::get(), NumeRe::ClusterManager::getClusterMap(), MemoryManager::getCols(), NumeReKernel::getInstance(), MemoryManager::getLines(), Settings::getPrecision(), MemoryManager::getSize(), StringMemory::getStringCols(), StringMemory::getStringElements(), NumeReKernel::getStringParser(), StringMemory::getStringSize(), NumeRe::StringVarFactory::getStringVars(), MemoryManager::getTableMap(), mu::ParserBase::GetVar(), Settings::getWindow(), MemoryManager::isValid(), make_hline(), NumeReKernel::print(), NumeReKernel::printPreFmt(), strfill(), NumeReKernel::toggleTableStatus(), toString(), toSystemCodePage(), and toUpperCase().

Referenced by cmd_list().

Here is the call graph for this function:

◆ listDefinitions()

static void listDefinitions ( const FunctionDefinitionManager _functions,
const Settings _option 
)
static

This function lists all custom defined functions.

Parameters
_functionsconst Define&
_optionconst Settings&
Returns
void

It is more or less also a legacy function, because the custom defined functions are also listed in the sidebar.

Definition at line 1215 of file commandfunctions.hpp.

References _lang, Language::get(), FunctionDefinitionManager::getComment(), FunctionDefinitionManager::getDefinedFunctions(), FunctionDefinitionManager::getFunctionSignature(), FunctionDefinitionManager::getImplementation(), LineBreak(), make_hline(), NumeReKernel::print(), NumeReKernel::printPreFmt(), sectionHeadline(), NumeReKernel::toggleTableStatus(), toString(), toSystemCodePage(), and toUpperCase().

Referenced by cmd_list().

Here is the call graph for this function:

◆ listDirectory()

static bool listDirectory ( const string &  sDir,
const string &  sParams,
const Settings _option 
)
static

This function displays the contents of a single directory directly in the terminal.

Parameters
sDirconst string&
sParamsconst string&
_optionconst Settings&
Returns
bool

Definition at line 699 of file commandfunctions.hpp.

References _lang, findSettingOption(), Language::get(), getArgAtPos(), Settings::getExePath(), getFileInfo(), Settings::getLoadPath(), Settings::getPlotPath(), Settings::getProcPath(), Settings::getSavePath(), Settings::getScriptPath(), Settings::getWindow(), Settings::getWorkPath(), if(), NumeReKernel::printPreFmt(), replaceAll(), Settings::showExtendedFileInfo(), StripSpaces(), toLowerCase(), toString(), and toUpperCase().

Referenced by listFiles().

Here is the call graph for this function:

◆ listFiles()

static bool listFiles ( const string &  sCmd,
const Settings _option 
)
static

This function handles the display of the contents of the selected folders directly in the terminal.

Parameters
sCmdconst string&
_optionconst Settings&
Returns
bool

Definition at line 1014 of file commandfunctions.hpp.

References _lang, createListDirectoryHeader(), findSettingOption(), fromSystemCodePage(), Language::get(), getArgAtPos(), Settings::getExePath(), Settings::getLoadPath(), Settings::getPlotPath(), Settings::getProcPath(), Settings::getSavePath(), Settings::getScriptPath(), Settings::getWindow(), Settings::getWorkPath(), LineBreak(), listDirectory(), make_hline(), NumeReKernel::print(), NumeReKernel::printPreFmt(), StripSpaces(), NumeReKernel::toggleTableStatus(), toLowerCase(), and toUpperCase().

Referenced by cmd_list().

Here is the call graph for this function:

◆ listFunctions()

static void listFunctions ( const Settings _option,
const string &  sType 
)
static

This function lists all known functions in the terminal.

Parameters
_optionconst Settings&
sTypeconst string&
Returns
void

It is more or less a legacy function, because the functions are now listed in the sidebar.

Definition at line 1168 of file commandfunctions.hpp.

References _lang, Language::get(), Language::getList(), LineBreak(), make_hline(), NumeReKernel::print(), NumeReKernel::printPreFmt(), NumeReKernel::toggleTableStatus(), and toUpperCase().

Referenced by cmd_list().

Here is the call graph for this function:

◆ listInstalledPlugins()

static void listInstalledPlugins ( Parser _parser,
MemoryManager _data,
const Settings _option 
)
static

This function lists all declared plugins including their name, their command and their description.

Parameters
_parserParser&
_dataDatafile&
_optionconst Settings&
Returns
void

It is more or less a legacy function, because the plugins are also listed in the sidebar.

Definition at line 1769 of file commandfunctions.hpp.

References _lang, calcTableWidth(), Language::get(), NumeReKernel::getInstance(), PackageManager::getPackageAuthor(), PackageManager::getPackageCount(), PackageManager::getPackageDescription(), PackageManager::getPackageLicense(), PackageManager::getPackageName(), PackageManager::getPackageVersion(), PackageManager::getPluginCommand(), PackageManager::getPluginCommandSignature(), NumeReKernel::getProcedureInterpreter(), Settings::getWindow(), make_hline(), plotTableBySize(), NumeReKernel::print(), NumeReKernel::toggleTableStatus(), toSystemCodePage(), and toUpperCase().

Referenced by cmd_list().

Here is the call graph for this function:

◆ listLogicalOperators()

static void listLogicalOperators ( const Settings _option)
static

This function lists all logical expressions.

Parameters
_optionconst Settings&
Returns
void

Definition at line 1258 of file commandfunctions.hpp.

References _lang, Language::get(), Language::getList(), LineBreak(), make_hline(), NumeReKernel::print(), NumeReKernel::printPreFmt(), NumeReKernel::toggleTableStatus(), toSystemCodePage(), and toUpperCase().

Referenced by cmd_list().

Here is the call graph for this function:

◆ listUnitConversions()

static void listUnitConversions ( const Settings _option)
static

This function lists all unit conversions and their result, if applied on 1.

Parameters
_optionconst Settings&
Returns
void

The units are partly physcially units, partly magnitudes.

Definition at line 1594 of file commandfunctions.hpp.

References _lang, Language::get(), Settings::getWindow(), LineBreak(), make_hline(), NumeReKernel::print(), NumeReKernel::printPreFmt(), printUnits(), NumeReKernel::toggleTableStatus(), toSystemCodePage(), and toUpperCase().

Referenced by cmd_list().

Here is the call graph for this function:

◆ newObject()

static bool newObject ( string &  sCmd,
Parser _parser,
MemoryManager _data,
Settings _option 
)
static

◆ plotTableBySize()

void plotTableBySize ( std::vector< std::string >  lineEntries,
std::vector< size_t >  lineColSizes 
)

This function actually plots the table with the desired colun widths. For this all the content to plot and the column sizes are required.

Parameters
lineEntriesstd::vector<std::string>
lineColSizesstd::vector<size_t>
Returns
void

Definition at line 1703 of file commandfunctions.hpp.

References NumeRe::StringParser::evalAndFormat(), NumeReKernel::getInstance(), NumeReKernel::getStringParser(), NumeReKernel::printPreFmt(), splitIntoLines(), and strlfill().

Referenced by listInstalledPlugins().

Here is the call graph for this function:

◆ prepareTemplate()

static bool prepareTemplate ( const std::string &  sTemplateID,
const std::string &  sFileName 
)
static

Perpares a template based upon the selected template id. The file has to exist.

Parameters
sTemplateIDconst std::string&
sFileNameconst std::string&
Returns
bool

Definition at line 235 of file commandfunctions.hpp.

References fileExists(), generateTemplate(), NumeReKernel::getInstance(), NumeReKernel::getSettings(), getTimeStamp(), and FileSystem::ValidFileName().

Referenced by newObject().

Here is the call graph for this function:

◆ printUnits()

static void printUnits ( const string &  sUnit,
const string &  sDesc,
const string &  sDim,
const string &  sValues,
unsigned int  nWindowsize 
)
static

This static function prints the selected unit, its description, its dimension and its value conversion to the terminal.

Parameters
sUnitconst string&
sDescconst string&
sDimconst string&
sValuesconst string&
nWindowsizeunsigned int
Returns
void

Definition at line 1577 of file commandfunctions.hpp.

References NumeReKernel::printPreFmt(), strfill(), and strlfill().

Referenced by listUnitConversions().

Here is the call graph for this function:

◆ removeQuotationMarks()

string removeQuotationMarks ( const std::string &  sString)

This function simply removes the surrounding quotation marks.

Parameters
sStringconst std::string&
Returns
std::string

Definition at line 79 of file stringfunctions.hpp.

Referenced by cmd_pack().

◆ saveDataObject()

static CommandReturnValues saveDataObject ( string &  sCmd)
static

◆ swapTables()

static CommandReturnValues swapTables ( string &  sCmd,
MemoryManager _data,
Settings _option 
)
static

This static function handles the swapping of the data of the values of two tables.

Parameters
sCmdstring&
_dataDatafile&
_optionSettings&
Returns
CommandReturnValues

Definition at line 2092 of file commandfunctions.hpp.

References _lang, COMMAND_PROCESSED, evaluateParameterValues(), findParameter(), Language::get(), getArgAtPos(), NumeReKernel::getInstance(), getNextArgument(), LineBreak(), MemoryManager::matchTableAsParameter(), NumeReKernel::print(), StripSpaces(), MemoryManager::swapTables(), and Settings::systemPrints().

Referenced by cmd_swap().

Here is the call graph for this function:

◆ undefineFunctions()

static bool undefineFunctions ( string  sFunctionList,
FunctionDefinitionManager _functions,
const Settings _option 
)
static

This static function handles the undefinition process of custom defined functions.

Parameters
sFunctionListstring
_functionsDefine&
_optionconst Settings&
Returns
bool

Definition at line 201 of file commandfunctions.hpp.

References _lang, Language::get(), getNextArgument(), NumeReKernel::issueWarning(), NumeReKernel::print(), Settings::systemPrints(), and FunctionDefinitionManager::undefineFunc().

Referenced by cmd_undefine().

Here is the call graph for this function:

Variable Documentation

◆ _fontData

mglGraph _fontData
extern

Definition at line 40 of file kernel.cpp.

Referenced by cmd_set().