LibreOffice Module sc (master) 1
|
(Partially) abstract base class for an operand More...
#include <opbase.hxx>
Public Member Functions | |
DynamicKernelArgument (const DynamicKernelArgument &)=delete | |
delete copy constructor More... | |
const DynamicKernelArgument & | operator= (const DynamicKernelArgument &)=delete |
delete copy-assignment operator More... | |
DynamicKernelArgument (const ScCalcConfig &config, const std::string &s, const FormulaTreeNodeRef &ft) | |
virtual | ~DynamicKernelArgument () |
virtual void | GenDecl (std::stringstream &ss) const =0 |
Generate declaration. More... | |
virtual void | GenSlidingWindowDecl (std::stringstream &ss) const =0 |
When declared as input to a sliding window function. More... | |
virtual std::string | GenSlidingWindowDeclRef (bool=false) const =0 |
When referenced in a sliding window function. More... | |
virtual size_t | Marshal (cl_kernel, int, int, cl_program)=0 |
Create buffer and pass the buffer to a given kernel. More... | |
virtual size_t | GetWindowSize () const =0 |
virtual std::string | GenDoubleSlidingWindowDeclRef (bool=false) const |
When Mix, it will be called. More... | |
virtual std::string | GenStringSlidingWindowDeclRef (bool=false) const |
When Mix, it will be called. More... | |
virtual void | GenDeclRef (std::stringstream &ss) const |
Generate use/references to the argument. More... | |
virtual void | GenSlidingWindowFunction (std::stringstream &) |
formula::FormulaToken * | GetFormulaToken () const |
virtual std::string | DumpOpName () const |
virtual void | DumpInlineFun (std::set< std::string > &, std::set< std::string > &) const |
const std::string & | GetName () const |
virtual bool | NeedParallelReduction () const |
virtual bool | IsEmpty () const |
If there's actually no argument, i.e. it expands to no code. More... | |
Protected Attributes | |
const ScCalcConfig & | mCalcConfig |
std::string | mSymName |
FormulaTreeNodeRef | mFormulaTree |
(Partially) abstract base class for an operand
Definition at line 101 of file opbase.hxx.
|
delete |
delete copy constructor
sc::opencl::DynamicKernelArgument::DynamicKernelArgument | ( | const ScCalcConfig & | config, |
const std::string & | s, | ||
const FormulaTreeNodeRef & | ft | ||
) |
Definition at line 40 of file opbase.cxx.
|
inlinevirtual |
Definition at line 111 of file opbase.hxx.
|
virtual |
Reimplemented in sc::opencl::VectorRef.
Definition at line 73 of file opbase.cxx.
|
virtual |
Reimplemented in sc::opencl::VectorRef.
Definition at line 68 of file opbase.cxx.
|
pure virtual |
Generate declaration.
Implemented in sc::opencl::VectorRef.
|
virtual |
Generate use/references to the argument.
Definition at line 56 of file opbase.cxx.
References mSymName.
|
virtual |
When Mix, it will be called.
Definition at line 44 of file opbase.cxx.
|
pure virtual |
When declared as input to a sliding window function.
Implemented in sc::opencl::VectorRef.
|
pure virtual |
When referenced in a sliding window function.
Implemented in sc::opencl::VectorRef.
|
virtual |
Reimplemented in sc::opencl::VectorRef.
Definition at line 61 of file opbase.cxx.
|
virtual |
When Mix, it will be called.
Definition at line 50 of file opbase.cxx.
FormulaToken * sc::opencl::DynamicKernelArgument::GetFormulaToken | ( | ) | const |
Definition at line 63 of file opbase.cxx.
References mFormulaTree.
Referenced by sc::opencl::VectorRef::GenSlidingWindowDeclRef().
const std::string & sc::opencl::DynamicKernelArgument::GetName | ( | ) | const |
Definition at line 75 of file opbase.cxx.
References mSymName.
|
pure virtual |
Implemented in sc::opencl::VectorRef.
|
inlinevirtual |
If there's actually no argument, i.e. it expands to no code.
Definition at line 143 of file opbase.hxx.
|
pure virtual |
Create buffer and pass the buffer to a given kernel.
Implemented in sc::opencl::VectorRef.
|
virtual |
Reimplemented in sc::opencl::VectorRef.
Definition at line 80 of file opbase.cxx.
|
delete |
delete copy-assignment operator
|
protected |
Definition at line 146 of file opbase.hxx.
|
protected |
Definition at line 148 of file opbase.hxx.
Referenced by GetFormulaToken(), sc::opencl::VectorRef::GetWindowSize(), and sc::opencl::VectorRef::Marshal().
|
protected |
Definition at line 147 of file opbase.hxx.
Referenced by sc::opencl::VectorRef::GenDecl(), GenDeclRef(), sc::opencl::VectorRef::GenSlidingWindowDeclRef(), GetName(), sc::opencl::VectorRef::GetName(), and sc::opencl::VectorRef::VectorRef().