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 INCLUDED_SC_SOURCE_CORE_OPENCL_OP_LOGICAL_HXX
11 #define INCLUDED_SC_SOURCE_CORE_OPENCL_OP_LOGICAL_HXX
15 namespace sc
{ namespace opencl
{
17 class OpAnd
: public Normal
20 virtual void GenSlidingWindowFunction(std::stringstream
&ss
,
21 const std::string
&sSymName
, SubArguments
&vSubArguments
) SAL_OVERRIDE
;
22 virtual std::string
BinFuncName() const SAL_OVERRIDE
{ return "And"; }
25 class OpOr
: public Normal
28 virtual void GenSlidingWindowFunction(std::stringstream
&ss
,
29 const std::string
&sSymName
, SubArguments
&vSubArguments
) SAL_OVERRIDE
;
30 virtual std::string
BinFuncName() const SAL_OVERRIDE
{ return "Or"; }
32 class OpNot
: public Normal
35 virtual void GenSlidingWindowFunction(std::stringstream
&ss
,
36 const std::string
&sSymName
, SubArguments
&vSubArguments
) SAL_OVERRIDE
;
37 virtual std::string
BinFuncName() const SAL_OVERRIDE
{ return "Not"; }
39 class OpXor
: public Normal
42 virtual void GenSlidingWindowFunction(std::stringstream
&ss
,
43 const std::string
&sSymName
, SubArguments
&vSubArguments
) SAL_OVERRIDE
;
44 virtual std::string
BinFuncName() const SAL_OVERRIDE
{ return "Xor"; }
46 class OpIf
:public Normal
49 virtual void GenSlidingWindowFunction(std::stringstream
&ss
,
50 const std::string
&sSymName
, SubArguments
&vSubArguments
) SAL_OVERRIDE
;
51 virtual std::string
BinFuncName() const SAL_OVERRIDE
{ return "IF"; }
58 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */