Stop leaking all ScPostIt instances.
[LibreOffice.git] / sc / source / core / opencl / op_database.hxx
blob00db3556cef12e9effd5b5765d360c5bee546049
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
10 #ifndef SC_OPENCL_OP_DATABASE_HXX
11 #define SC_OPENCL_OP_DATABASE_HXX
13 #include "opbase.hxx"
16 namespace sc { namespace opencl {
18 class OpDmax: public CheckVariables
20 public:
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
28 public:
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
36 public:
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
44 public:
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
52 public:
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
60 public:
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
68 public:
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
76 public:
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
84 public:
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
92 public:
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
100 public:
101 virtual void GenSlidingWindowFunction(std::stringstream &ss,
102 const std::string sSymName, SubArguments &vSubArguments);
103 virtual std::string BinFuncName(void) const { return "Dcount2"; }
109 #endif
111 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */