LibreOffice Module sc (master) 1
|
Abstract base class for vectorised formula group interpreters, plus a global instance factory. More...
#include <formulagroup.hxx>
Public Member Functions | |
virtual ScMatrixRef | inverseMatrix (const ScMatrix &rMat)=0 |
virtual bool | interpret (ScDocument &rDoc, const ScAddress &rTopPos, ScFormulaCellGroupRef &xGroup, ScTokenArray &rCode)=0 |
Static Public Member Functions | |
static FormulaGroupInterpreter * | getStatic () |
load and/or configure the correct formula group interpreter More... | |
Protected Member Functions | |
FormulaGroupInterpreter () | |
virtual | ~FormulaGroupInterpreter () |
void | MergeCalcConfig (const ScDocument &rDoc) |
Merge global and document specific settings. More... | |
Protected Attributes | |
ScCalcConfig | maCalcConfig |
Static Private Attributes | |
static FormulaGroupInterpreter * | msInstance = nullptr |
Abstract base class for vectorised formula group interpreters, plus a global instance factory.
Definition at line 121 of file formulagroup.hxx.
|
inlineprotected |
Definition at line 128 of file formulagroup.hxx.
|
inlineprotectedvirtual |
Definition at line 129 of file formulagroup.hxx.
|
static |
load and/or configure the correct formula group interpreter
Definition at line 149 of file formulagroup.cxx.
References ForceCalculationOpenCL, ScCalcConfig::getForceCalculationType(), ScInterpreter::GetGlobalConfig(), ScCalcConfig::isOpenCLEnabled(), ScCalcConfig::maOpenCLDevice, ScCalcConfig::mbOpenCLAutoSelect, SAL_WARN, and switchOpenCLDevice().
Referenced by ScFormulaCell::InterpretFormulaGroupOpenCL(), and ScInterpreter::ScMatInv().
|
pure virtual |
Implemented in sc::opencl::FormulaGroupInterpreterOpenCL.
Referenced by ScFormulaCell::InterpretFormulaGroupOpenCL().
|
pure virtual |
Implemented in sc::opencl::FormulaGroupInterpreterOpenCL.
Referenced by ScInterpreter::ScMatInv().
|
protected |
Merge global and document specific settings.
Definition at line 142 of file formulagroup.cxx.
References ScDocument::GetCalcConfig(), and ScInterpreter::GetGlobalConfig().
|
protected |
Definition at line 126 of file formulagroup.hxx.
|
staticprivate |
Definition at line 123 of file formulagroup.hxx.