Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
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 : */
9 :
10 : #ifndef SC_OPENCL_OP_LOGICAL_HXX
11 : #define SC_OPENCL_OP_LOGICAL_HXX
12 :
13 : #include "opbase.hxx"
14 :
15 :
16 : namespace sc { namespace opencl {
17 :
18 0 : class OpAnd: public Normal
19 : {
20 : public:
21 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
22 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
23 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "And"; }
24 : };
25 :
26 0 : class OpOr: public Normal
27 : {
28 : public:
29 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
30 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
31 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "Or"; }
32 : };
33 0 : class OpNot: public Normal
34 : {
35 : public:
36 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
37 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
38 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "Not"; }
39 : };
40 0 : class OpXor: public Normal
41 : {
42 : public:
43 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
44 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
45 0 : virtual std::string BinFuncName(void) const SAL_OVERRIDE { return "Xor"; }
46 : };
47 :
48 : }}
49 :
50 : #endif
51 :
52 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|