Stop leaking all ScPostIt instances.
[LibreOffice.git] / sc / source / core / opencl / op_logical.hxx
blob50aa469902fb54c1d227bddbd8f7b6877433a084
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_LOGICAL_HXX
11 #define SC_OPENCL_OP_LOGICAL_HXX
13 #include "opbase.hxx"
16 namespace sc { namespace opencl {
18 class OpAnd: public Normal
20 public:
21 virtual void GenSlidingWindowFunction(std::stringstream &ss,
22 const std::string sSymName, SubArguments &vSubArguments);
23 virtual std::string BinFuncName(void) const { return "And"; }
26 class OpOr: public Normal
28 public:
29 virtual void GenSlidingWindowFunction(std::stringstream &ss,
30 const std::string sSymName, SubArguments &vSubArguments);
31 virtual std::string BinFuncName(void) const { return "Or"; }
33 class OpNot: public Normal
35 public:
36 virtual void GenSlidingWindowFunction(std::stringstream &ss,
37 const std::string sSymName, SubArguments &vSubArguments);
38 virtual std::string BinFuncName(void) const { return "Not"; }
40 class OpXor: public Normal
42 public:
43 virtual void GenSlidingWindowFunction(std::stringstream &ss,
44 const std::string sSymName, SubArguments &vSubArguments);
45 virtual std::string BinFuncName(void) const { return "Xor"; }
50 #endif
52 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */