1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #ifndef SC_OPENCL_OP_DATABASE_HXX
11 #define SC_OPENCL_OP_DATABASE_HXX
16 namespace sc
{ namespace opencl
{
18 class OpDmax
: public CheckVariables
21 virtual void GenSlidingWindowFunction(std::stringstream
&ss
,
22 const std::string sSymName
, SubArguments
&vSubArguments
);
23 virtual std::string
BinFuncName(void) const { return "Dmax"; }
26 class OpDmin
: public CheckVariables
29 virtual void GenSlidingWindowFunction(std::stringstream
&ss
,
30 const std::string sSymName
, SubArguments
&vSubArguments
);
31 virtual std::string
BinFuncName(void) const { return "Dmin"; }
34 class OpDproduct
: public CheckVariables
37 virtual void GenSlidingWindowFunction(std::stringstream
&ss
,
38 const std::string sSymName
, SubArguments
&vSubArguments
);
39 virtual std::string
BinFuncName(void) const { return "Dproduct"; }
42 class OpDaverage
: public CheckVariables
45 virtual void GenSlidingWindowFunction(std::stringstream
&ss
,
46 const std::string sSymName
, SubArguments
&vSubArguments
);
47 virtual std::string
BinFuncName(void) const { return "Daverage"; }
50 class OpDstdev
: public CheckVariables
53 virtual void GenSlidingWindowFunction(std::stringstream
&ss
,
54 const std::string sSymName
, SubArguments
&vSubArguments
);
55 virtual std::string
BinFuncName(void) const { return "Dstdev"; }
58 class OpDstdevp
: public CheckVariables
61 virtual void GenSlidingWindowFunction(std::stringstream
&ss
,
62 const std::string sSymName
, SubArguments
&vSubArguments
);
63 virtual std::string
BinFuncName(void) const { return "Dstdevp"; }
66 class OpDsum
: public CheckVariables
69 virtual void GenSlidingWindowFunction(std::stringstream
&ss
,
70 const std::string sSymName
, SubArguments
&vSubArguments
);
71 virtual std::string
BinFuncName(void) const { return "Dsum"; }
74 class OpDvar
: public CheckVariables
77 virtual void GenSlidingWindowFunction(std::stringstream
&ss
,
78 const std::string sSymName
, SubArguments
&vSubArguments
);
79 virtual std::string
BinFuncName(void) const { return "Dvar"; }
82 class OpDvarp
: public CheckVariables
85 virtual void GenSlidingWindowFunction(std::stringstream
&ss
,
86 const std::string sSymName
, SubArguments
&vSubArguments
);
87 virtual std::string
BinFuncName(void) const { return "Dvarp"; }
90 class OpDcount
: public CheckVariables
93 virtual void GenSlidingWindowFunction(std::stringstream
&ss
,
94 const std::string sSymName
, SubArguments
&vSubArguments
);
95 virtual std::string
BinFuncName(void) const { return "Dcount"; }
98 class OpDcount2
: public CheckVariables
101 virtual void GenSlidingWindowFunction(std::stringstream
&ss
,
102 const std::string sSymName
, SubArguments
&vSubArguments
);
103 virtual std::string
BinFuncName(void) const { return "Dcount2"; }
111 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */