NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#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"
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, CommandFunc > | getCommandFunctions () |
This static function returns a map of commands linked to their function implementation. More... | |
static std::map< std::string, CommandFunc > | getCommandFunctionsWithReturnValues () |
This static function returns a map of commands with return values linked to their function implementation. More... | |
Variables | |
mglGraph | _fontData |
typedef CommandReturnValues(* CommandFunc) (string &) |
Definition at line 51 of file commandfunctions.hpp.
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.
|
static |
This function performs the autosave at the application termination.
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().
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.
maxWidth | size_t |
minDesiredColWidth | std::vector<size_t> |
Definition at line 1657 of file commandfunctions.hpp.
References min.
Referenced by listInstalledPlugins().
|
static |
This static function implements the "append" command.
sCmd | string& |
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().
|
static |
This static function implements the "audio" command.
sCmd | string& |
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().
|
static |
This static function implements the "audioread" command.
sCmd | string& |
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().
|
static |
This static function implements the "clc" command.
sCmd | string& |
Definition at line 3407 of file commandfunctions.hpp.
References NumeReKernel::clcTerminal(), and COMMAND_PROCESSED.
Referenced by getCommandFunctions().
|
static |
This static function implements the "clear" command.
sCmd | string& |
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().
|
static |
This static function implements the "close" command.
sCmd | string& |
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().
|
static |
This static function implements the "copy" command.
sCmd | string& |
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().
|
static |
This static function implements the "credits" command.
sCmd | string& |
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().
|
static |
This static function implements the "datagrid" command.
sCmd | string& |
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().
|
static |
This static function implements the "define" command.
sCmd | string& |
Definition at line 4689 of file commandfunctions.hpp.
References _lang, addArgumentQuotes(), COMMAND_PROCESSED, FunctionDefinitionManager::defineFunc(), doc_Help(), fileExists(), findParameter(), Language::get(), NumeReKernel::getDefinitions(), Settings::getExePath(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), NumeReKernel::getSettings(), NumeReKernel::getStringParser(), NumeRe::StringVarFactory::getStringValues(), MemoryManager::getTableNames(), NumeReKernel::issueWarning(), FunctionDefinitionManager::load(), NumeReKernel::print(), FunctionDefinitionManager::save(), FunctionDefinitionManager::setTableList(), Settings::systemPrints(), and toSystemCodePage().
Referenced by getCommandFunctions().
|
static |
This static function implements the "delete" command.
sCmd | string& |
Definition at line 3068 of file commandfunctions.hpp.
References _lang, SyntaxError::CANNOT_DELETE_ELEMENTS, CommandLineParser::CMD_DAT_PAR, COMMAND_PROCESSED, confirmOperation(), MemoryManager::containsTablesOrClusters(), deleteCacheEntry(), VectorIndex::front(), Language::get(), DataAccessParser::getDataObject(), CommandLineParser::getExpr(), CommandLineParser::getExprAsDataObject(), DataAccessParser::getIndices(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), NumeReKernel::getSettings(), CommandLineParser::hasParam(), SyntaxError::invalid_position, NumeReKernel::print(), StringMemory::removeStringElements(), Indices::row, Settings::systemPrints(), and toString().
Referenced by cmd_clear(), and getCommandFunctions().
|
static |
This static function implements the "detect" command.
sCmd | string& |
Definition at line 4764 of file commandfunctions.hpp.
References boneDetection(), CommandLineParser::CMD_EXPR_set_PAR, and COMMAND_PROCESSED.
Referenced by getCommandFunctions().
|
static |
This static function handles the displaying of user interaction dialogs.
sCmd | string& |
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().
|
static |
This static function implements the "diff" command.
sCmd | string& |
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().
|
static |
This static function implements the "edit" command.
sCmd | string& |
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().
|
static |
This static function implements the "eval" command.
sCmd | string& |
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().
|
static |
This static function implements the "execute" command.
sCmd | string& |
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().
|
static |
This static function implements the "extrema" command.
sCmd | string& |
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().
|
static |
This static function implements the "fft" command.
sCmd | string& |
Definition at line 2581 of file commandfunctions.hpp.
References CommandLineParser::CMD_DAT_PAR, COMMAND_PROCESSED, and fastFourierTransform().
Referenced by getCommandFunctions().
|
static |
This static function implements the "find" command.
sCmd | string& |
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().
|
static |
This static function implements the "fit" and "fitw" commands.
sCmd | string& |
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().
|
static |
This static function implements the "fwt" command.
sCmd | string& |
Definition at line 2598 of file commandfunctions.hpp.
References CommandLineParser::CMD_DAT_PAR, COMMAND_PROCESSED, and fastWaveletTransform().
Referenced by getCommandFunctions().
|
static |
This static function implements the "get" command.
sCmd | string& |
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().
|
static |
This static function implements the "help" command.
sCmd | string& |
Definition at line 4150 of file commandfunctions.hpp.
References COMMAND_PROCESSED, doc_Help(), findCommand(), NumeReKernel::getInstance(), and NumeReKernel::getSettings().
Referenced by commandHandler().
|
static |
This static function implements the "hist" command.
sCmd | string& |
Definition at line 4132 of file commandfunctions.hpp.
References COMMAND_PROCESSED, evaluateParameterValues(), and plugin_histogram().
Referenced by getCommandFunctions().
|
static |
This static function implements the "hline" command.
sCmd | string& |
Definition at line 4312 of file commandfunctions.hpp.
References COMMAND_PROCESSED, findParameter(), and make_hline().
Referenced by getCommandFunctions().
|
static |
This static function implements the "ifndefined" command.
sCmd | string& |
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().
|
static |
This static function implements the "imread" command.
sCmd | string& |
Definition at line 3467 of file commandfunctions.hpp.
References CommandLineParser::CMD_DAT_PAR, COMMAND_HAS_RETURNVALUE, CommandLineParser::getReturnValueStatement(), and readImage().
Referenced by getCommandFunctionsWithReturnValues().
|
static |
This static function implements the "include" command.
sCmd | string& |
Definition at line 5221 of file commandfunctions.hpp.
References SyntaxError::INVALID_COMMAND.
Referenced by getCommandFunctions().
|
static |
This static function implements the "install" command.
sCmd | string& |
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().
|
static |
This static function implements the "integrate" command.
sCmd | string& |
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().
|
static |
This static function implements the "list" command.
sCmd | string& |
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().
|
static |
This static function implements the "load" command.
sCmd | string& |
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().
|
static |
This static function implements the "matop" command.
sCmd | string& |
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().
|
static |
This static function implements the "move" command.
sCmd | string& |
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().
|
static |
This static function implements the "new" command.
sCmd | string& |
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().
|
static |
This static function implements the "odesolve" command.
sCmd | string& |
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().
|
static |
This static function implements the "pack" command.
sCmd | string& |
Definition at line 4217 of file commandfunctions.hpp.
References Archive::ARCHIVE_AUTO, Archive::ARCHIVE_GZ, Archive::ARCHIVE_TAR, Archive::ARCHIVE_ZIP, CommandLineParser::CMD_EXPR_set_PAR, COMMAND_PROCESSED, NumeRe::ClusterManager::containsClusters(), NumeRe::StringParser::evalAndFormat(), CommandLineParser::getExpr(), CommandLineParser::getFileParameterValueForSaving(), NumeReKernel::getFileSystem(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), getNextArgument(), CommandLineParser::getParameterValue(), NumeReKernel::getStringParser(), CommandLineParser::hasParam(), NumeRe::StringParser::isStringExpression(), Archive::pack(), removeQuotationMarks(), and FileSystem::ValidFileName().
Referenced by getCommandFunctions().
|
static |
This static function implements all plotting commands.
sCmd | string& |
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().
|
static |
This static function implements the "print" command.
sCmd | string& |
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().
|
static |
This static function implements the "progress" command.
sCmd | string& |
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().
|
static |
This static function implements the interface to the particle swarm optimizer.
sCmd | string& |
Definition at line 2476 of file commandfunctions.hpp.
References CommandLineParser::CMD_EXPR_set_PAR, COMMAND_HAS_RETURNVALUE, CommandLineParser::getReturnValueStatement(), and particleSwarmOptimizer().
Referenced by getCommandFunctionsWithReturnValues().
|
static |
This static function implements the "pulse" command.
sCmd | string& |
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().
|
static |
This static function implements the "quit" command.
sCmd | string& |
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().
|
static |
This static function implements the "random" command.
sCmd | string& |
Definition at line 4351 of file commandfunctions.hpp.
References COMMAND_PROCESSED, and plugin_random().
Referenced by getCommandFunctions().
|
static |
This static function implements the "read" command.
sCmd | string& |
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().
|
static |
This static function implements the "readline" command.
sCmd | string& |
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().
|
static |
This static function implements the "redefine" command.
sCmd | string& |
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().
|
static |
This static function implements the "regularize" command.
sCmd | string& |
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().
|
static |
This static function implements the "reload" command.
sCmd | string& |
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().
|
static |
This static function implements the "remove" command.
sCmd | string& |
Definition at line 4475 of file commandfunctions.hpp.
References _lang, SyntaxError::CANNOT_REMOVE_FILE, CommandLineParser::CMD_DAT_PAR, COMMAND_PROCESSED, MemoryManager::containsTables(), MemoryManager::deleteTable(), CommandLineParser::exprContainsDataObjects(), Language::get(), CommandLineParser::getExpr(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), getNextArgument(), NumeReKernel::getSettings(), MemoryManager::getTableMap(), CommandLineParser::hasParam(), SyntaxError::invalid_position, isDelimiter(), SyntaxError::NO_FILENAME, CommandLineParser::parseExprAsString(), NumeReKernel::print(), removeFile(), and Settings::systemPrints().
Referenced by getCommandFunctions().
|
static |
This static function implements the "rename" command.
sCmd | string& |
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().
|
static |
This static function implements the "resample" command.
sCmd | string& |
Definition at line 4400 of file commandfunctions.hpp.
References _lang, MemoryManager::ALL, SyntaxError::CANNOT_RESAMPLE_CACHE, CommandLineParser::CMD_DAT_PAR, Indices::col, MemoryManager::COLS, COMMAND_PROCESSED, DataAccessParser::evalIndices(), CommandLineParser::exprContainsDataObjects(), Language::get(), MemoryManager::getCols(), DataAccessParser::getDataObject(), CommandLineParser::getExprAsDataObject(), DataAccessParser::getIndexString(), DataAccessParser::getIndices(), NumeReKernel::getInstance(), MemoryManager::getLines(), NumeReKernel::getMemoryManager(), CommandLineParser::getParameterValue(), CommandLineParser::getParameterValueAsNumericalValue(), NumeReKernel::getSettings(), MemoryManager::GRID, CommandLineParser::hasParam(), intCast(), SyntaxError::INVALID_INDEX, SyntaxError::invalid_position, isValidIndexSet(), LineBreak(), MemoryManager::LINES, NumeReKernel::print(), MemoryManager::resample(), Indices::row, Settings::systemPrints(), and SyntaxError::TABLE_DOESNT_EXIST.
Referenced by getCommandFunctions().
|
static |
This static function implements the "retouch" command.
sCmd | string& |
Definition at line 4610 of file commandfunctions.hpp.
References _lang, MemoryManager::ALL, SyntaxError::CANNOT_RETOQUE_CACHE, Indices::col, MemoryManager::COLS, COMMAND_PROCESSED, MemoryManager::containsTablesOrClusters(), findCommand(), findParameter(), Language::get(), MemoryManager::getCols(), DataAccessParser::getDataObject(), DataAccessParser::getIndexString(), DataAccessParser::getIndices(), NumeReKernel::getInstance(), MemoryManager::getLines(), NumeReKernel::getMemoryManager(), NumeReKernel::getSettings(), MemoryManager::GRID, SyntaxError::INVALID_INDEX, SyntaxError::invalid_position, VectorIndex::isOpenEnd(), NumeReKernel::issueWarning(), isValidIndexSet(), LineBreak(), MemoryManager::LINES, NumeReKernel::print(), MemoryManager::retouch(), Indices::row, VectorIndex::setRange(), Settings::systemPrints(), and SyntaxError::TABLE_DOESNT_EXIST.
Referenced by getCommandFunctions().
|
static |
This static function implements all "*rot" commands.
sCmd | string& |
Definition at line 5186 of file commandfunctions.hpp.
References CommandLineParser::CMD_EXPR_set_PAR, COMMAND_PROCESSED, and rotateTable().
Referenced by getCommandFunctions().
|
static |
This static function implements the "save" command.
sCmd | string& |
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().
|
static |
This static function implements the "seek" command.
sCmd | string& |
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().
|
static |
This static function implements the "set" command.
sCmd | string& |
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().
|
static |
This static function implements the "show" command. Editing of tables is not supplied by this function.
sCmd | string& |
Definition at line 3920 of file commandfunctions.hpp.
References CommandLineParser::CMD_DAT_PAR, Indices::col, COMMAND_PROCESSED, copyDataToTemporaryTable(), Settings::createCompactTables(), DataAccessParser::evalIndices(), NumeRe::ClusterManager::getCluster(), CommandLineParser::getCommand(), DataAccessParser::getDataObject(), NumeRe::Cluster::getDouble(), CommandLineParser::getExprAsDataObject(), DataAccessParser::getIndices(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), NumeReKernel::getOutput(), Settings::getPrecision(), NumeReKernel::getSettings(), NumeRe::Cluster::getString(), StringMemory::getStringElements(), NumeRe::Cluster::getType(), SyntaxError::invalid_position, DataAccessParser::isCluster(), mu::isnan(), isValidIndexSet(), NumeRe::ClusterItem::ITEMTYPE_STRING, StringMemory::readString(), MemoryManager::renameTable(), Indices::row, NumeRe::Container< T >::set(), Output::setCompact(), show_data(), NumeReKernel::showStringTable(), VectorIndex::size(), SyntaxError::TABLE_DOESNT_EXIST, and toString().
Referenced by getCommandFunctions().
|
static |
This static function implements the "smooth" command.
sCmd | string& |
Definition at line 4016 of file commandfunctions.hpp.
References _lang, MemoryManager::ALL, SyntaxError::CANNOT_SMOOTH_CACHE, CommandLineParser::CMD_DAT_PAR, Indices::col, MemoryManager::COLS, COMMAND_PROCESSED, DataAccessParser::evalIndices(), CommandLineParser::exprContainsDataObjects(), NumeRe::FilterSettings::FILTER_GAUSSIAN, NumeRe::FilterSettings::FILTER_SAVITZKY_GOLAY, NumeRe::FilterSettings::FILTER_WEIGHTED_LINEAR, Language::get(), DataAccessParser::getDataObject(), CommandLineParser::getExprAsDataObject(), DataAccessParser::getIndexString(), DataAccessParser::getIndices(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), CommandLineParser::getParameterValue(), CommandLineParser::getParameterValueAsNumericalValue(), NumeReKernel::getSettings(), MemoryManager::GRID, CommandLineParser::hasParam(), intCast(), SyntaxError::INVALID_INDEX, SyntaxError::invalid_position, isValidIndexSet(), MemoryManager::LINES, NumeReKernel::print(), Indices::row, MemoryManager::smooth(), Settings::systemPrints(), and SyntaxError::TABLE_DOESNT_EXIST.
Referenced by getCommandFunctions().
|
static |
This static function implements the "sort" command.
sCmd | string& |
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().
|
static |
This static function implements the "spline" command.
sCmd | string& |
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().
|
static |
This static function implements the "start" command.
sCmd | string& |
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().
|
static |
This static function implements the "stats" command.
sCmd | string& |
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().
|
static |
This static function implements the "stfa" command.
sCmd | string& |
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().
|
static |
This static function implements the "swap" command.
sCmd | string& |
Definition at line 4118 of file commandfunctions.hpp.
References NumeReKernel::getInstance(), and swapTables().
Referenced by getCommandFunctions().
|
static |
This static function implements the "taylor" command.
sCmd | string& |
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().
|
static |
This static function implements the "undefine" command.
sCmd | string& |
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().
|
static |
This static function implements the "unpack" command.
sCmd | string& |
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().
|
static |
This static function implements the "url" command.
sCmd | string& |
Definition at line 5203 of file commandfunctions.hpp.
References CommandLineParser::CMD_DAT_PAR, COMMAND_HAS_RETURNVALUE, CommandLineParser::getReturnValueStatement(), and urlExecute().
Referenced by getCommandFunctionsWithReturnValues().
|
static |
This static function implements the "warn" command.
sCmd | string& |
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().
|
static |
This static function implements the "window" command.
sCmd | string& |
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().
|
static |
This static function implements the "workpath" command.
sCmd | string& |
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().
|
static |
This static function implements the "write" command.
sCmd | string& |
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().
|
static |
This static function implements the "zeroes" command.
sCmd | string& |
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().
|
static |
Performs the operation confirmation loop, if the user did not supply the ignore command line option.
sMessage | const std::string& |
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().
|
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.
sCmd | const string& |
_accessParser | DataAccessParser& |
_data | Datafile& |
_cache | Datafile& |
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().
|
static |
This static function draws the headers for the listed directories.
sPathName | const string& |
sLangString | const string& |
nWindowLength | size_t |
Definition at line 980 of file commandfunctions.hpp.
References toUpperCase().
Referenced by listFiles().
|
static |
This function opens the object in the editor to edit its contents.
sCmd | string& |
_parser | Parser& |
_data | Datafile& |
_option | Settings& |
Definition at line 465 of file commandfunctions.hpp.
References _lang, SyntaxError::CANNOT_EDIT_FILE_TYPE, MemoryManager::containsTables(), MemoryManager::containsTablesOrClusters(), FileSystem::declareFileType(), extractFirstParameterStringValue(), MemoryManager::extractTable(), SyntaxError::FILE_NOT_EXIST, fileExists(), findCommand(), findParameter(), Language::get(), Settings::getExePath(), NumeReKernel::getInstance(), Settings::getLoadPath(), Settings::getPlotPath(), Settings::getProcPath(), Settings::getSavePath(), Settings::getScriptPath(), NumeReKernel::getTable(), Settings::getTokenPaths(), Settings::getWorkPath(), NumeReKernel::gotoLine(), MemoryManager::importTable(), SyntaxError::invalid_position, NumeRe::Table::isEmpty(), SyntaxError::NO_FILENAME, NumeReKernel::nOpenFileFlag, openExternally(), NumeReKernel::printPreFmt(), FileSystem::setPath(), FileSystem::setTokens(), NumeReKernel::showTable(), StripSpaces(), and FileSystem::ValidFileName().
Referenced by cmd_edit().
|
static |
This static function implements the possibility to call the Windows shell directly from the code.
sCmd | string& |
_parser | Parser& |
_data | Datafile& |
_functions | Define& |
_option | const Settings& |
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().
|
static |
This static function is used to detect a setting option independent on a leading dash character in front of the option value.
sCmd | const std::string& |
sOption | const std::string& |
Definition at line 2053 of file commandfunctions.hpp.
References findParameter().
Referenced by cmd_get(), cmd_list(), cmd_set(), listDirectory(), and listFiles().
|
static |
This static function returns a map of commands linked to their function implementation.
Definition at line 5236 of file commandfunctions.hpp.
References cmd_audio(), cmd_clc(), cmd_clear(), cmd_close(), cmd_copy(), cmd_credits(), cmd_datagrid(), cmd_define(), cmd_delete(), cmd_detect(), cmd_edit(), cmd_execute(), cmd_fft(), cmd_fit(), cmd_fwt(), cmd_hist(), cmd_hline(), cmd_ifndefined(), cmd_include(), cmd_install(), cmd_list(), cmd_matop(), cmd_move(), cmd_new(), cmd_odesolve(), cmd_pack(), cmd_plotting(), cmd_print(), cmd_progress(), cmd_quit(), cmd_random(), cmd_redefine(), cmd_regularize(), cmd_remove(), cmd_rename(), cmd_resample(), cmd_retouch(), cmd_rotate(), cmd_save(), cmd_set(), cmd_show(), cmd_smooth(), cmd_spline(), cmd_start(), cmd_stfa(), cmd_swap(), cmd_undefine(), cmd_warn(), cmd_workpath(), cmd_write(), and saveDataObject().
Referenced by commandHandler().
|
static |
This static function returns a map of commands with return values linked to their function implementation.
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().
|
static |
This static function extracts the path from the selected parameter. It is only used by cmd_set().
sCmd | string& |
pos | size_t |
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().
|
static |
Simple handler function for cmd_load.
sCmd | const std::string& |
Definition at line 4858 of file commandfunctions.hpp.
References findParameter(), and getArgAtPos().
Referenced by cmd_load().
|
static |
This function returns a list of the current defined variables either as strings or as plain text.
sCmd | const string& |
_parser | Parser& |
_data | Datafile& |
_option | Settings& |
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().
|
static |
This function lists all defined commands.
_option | const Settings& |
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().
This function lists all known constants.
_parser | const Parser& |
_option | const Settings& |
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().
|
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.
_parser | Parser& |
_option | const Settings& |
_data | const Datafile& |
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().
|
static |
This function lists all custom defined functions.
_functions | const Define& |
_option | const Settings& |
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().
|
static |
This function displays the contents of a single directory directly in the terminal.
sDir | const string& |
sParams | const string& |
_option | const Settings& |
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().
|
static |
This function handles the display of the contents of the selected folders directly in the terminal.
sCmd | const string& |
_option | const Settings& |
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().
|
static |
This function lists all known functions in the terminal.
_option | const Settings& |
sType | const string& |
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().
|
static |
This function lists all declared plugins including their name, their command and their description.
_parser | Parser& |
_data | Datafile& |
_option | const Settings& |
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().
|
static |
This function lists all logical expressions.
_option | const Settings& |
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().
|
static |
This function lists all unit conversions and their result, if applied on 1.
_option | const Settings& |
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().
|
static |
This function creates new objects: files, directories, procedures and tables.
sCmd | string& |
_parser | Parser& |
_data | Datafile& |
_option | Settings& |
Definition at line 261 of file commandfunctions.hpp.
References _lang, MemoryManager::addTable(), SyntaxError::CANNOT_GENERATE_FILE, SyntaxError::CANNOT_GENERATE_PROCEDURE, SyntaxError::CANNOT_GENERATE_SCRIPT, CommandLineParser::CMD_DAT_PAR, MemoryManager::deleteBulk(), Language::get(), MemoryManager::getCols(), Settings::getExePath(), CommandLineParser::getExpr(), MemoryManager::getLines(), getNextArgument(), CommandLineParser::getParameterValueAsString(), CommandLineParser::hasParam(), FileSystem::initializeFromKernel(), MemoryManager::isTable(), CommandLineParser::parseExprAsString(), prepareTemplate(), NumeReKernel::print(), replaceAll(), replacePathSeparator(), FileSystem::setPath(), Settings::systemPrints(), and FileSystem::ValidizeAndPrepareName().
Referenced by cmd_new().
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.
lineEntries | std::vector<std::string> |
lineColSizes | std::vector<size_t> |
Definition at line 1703 of file commandfunctions.hpp.
References NumeRe::StringParser::evalAndFormat(), NumeReKernel::getInstance(), NumeReKernel::getStringParser(), NumeReKernel::printPreFmt(), splitIntoLines(), and strlfill().
Referenced by listInstalledPlugins().
|
static |
Perpares a template based upon the selected template id. The file has to exist.
sTemplateID | const std::string& |
sFileName | const std::string& |
Definition at line 235 of file commandfunctions.hpp.
References fileExists(), generateTemplate(), NumeReKernel::getInstance(), NumeReKernel::getSettings(), getTimeStamp(), and FileSystem::ValidFileName().
Referenced by newObject().
|
static |
This static function prints the selected unit, its description, its dimension and its value conversion to the terminal.
sUnit | const string& |
sDesc | const string& |
sDim | const string& |
sValues | const string& |
nWindowsize | unsigned int |
Definition at line 1577 of file commandfunctions.hpp.
References NumeReKernel::printPreFmt(), strfill(), and strlfill().
Referenced by listUnitConversions().
string removeQuotationMarks | ( | const std::string & | sString | ) |
This function simply removes the surrounding quotation marks.
sString | const std::string& |
Definition at line 79 of file stringfunctions.hpp.
Referenced by cmd_pack().
|
static |
This static function handles the saving and exporting of data into files (internally, there's no real difference between those two actions).
sCmd | string& |
Definition at line 2159 of file commandfunctions.hpp.
References _lang, SyntaxError::CANNOT_SAVE_FILE, CommandLineParser::CMD_DAT_PAR, COMMAND_PROCESSED, copyDataToTemporaryTable(), NumeRe::FileAdapter::generateFileName(), Language::get(), CommandLineParser::getCommand(), DataAccessParser::getDataObject(), Settings::getExePath(), CommandLineParser::getExprAsDataObject(), CommandLineParser::getFileParameterValue(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), NumeRe::FileAdapter::getOutputFileName(), CommandLineParser::getParameterValueAsNumericalValue(), Settings::getPrecision(), Settings::getSavePath(), NumeReKernel::getSettings(), NumeReKernel::getStringParser(), NumeRe::StringVarFactory::getStringValues(), Settings::getTokenPaths(), intCast(), SyntaxError::invalid_position, min, NO_COMMAND, NumeReKernel::print(), MemoryManager::renameTable(), NumeRe::FileAdapter::saveFile(), FileSystem::setPath(), NumeRe::FileAdapter::setPrefix(), FileSystem::setTokens(), Settings::systemPrints(), and SyntaxError::TABLE_DOESNT_EXIST.
Referenced by cmd_save(), and getCommandFunctions().
|
static |
This static function handles the swapping of the data of the values of two tables.
sCmd | string& |
_data | Datafile& |
_option | Settings& |
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().
|
static |
This static function handles the undefinition process of custom defined functions.
sFunctionList | string |
_functions | Define& |
_option | const Settings& |
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().
|
extern |
Definition at line 40 of file kernel.cpp.
Referenced by cmd_set().