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_LOGICAL_HXX
11 #define SC_OPENCL_OP_LOGICAL_HXX
16 namespace sc
{ namespace opencl
{
18 class OpAnd
: public Normal
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
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
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
43 virtual void GenSlidingWindowFunction(std::stringstream
&ss
,
44 const std::string sSymName
, SubArguments
&vSubArguments
);
45 virtual std::string
BinFuncName(void) const { return "Xor"; }
52 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */