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 INCLUDED_SC_SOURCE_CORE_OPENCL_OP_LOGICAL_HXX
11 : #define INCLUDED_SC_SOURCE_CORE_OPENCL_OP_LOGICAL_HXX
12 :
13 : #include "opbase.hxx"
14 :
15 : namespace sc { namespace opencl {
16 :
17 0 : class OpAnd: public Normal
18 : {
19 : public:
20 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
21 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
22 0 : virtual std::string BinFuncName() const SAL_OVERRIDE { return "And"; }
23 : };
24 :
25 0 : class OpOr: public Normal
26 : {
27 : public:
28 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
29 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
30 0 : virtual std::string BinFuncName() const SAL_OVERRIDE { return "Or"; }
31 : };
32 0 : class OpNot: public Normal
33 : {
34 : public:
35 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
36 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
37 0 : virtual std::string BinFuncName() const SAL_OVERRIDE { return "Not"; }
38 : };
39 0 : class OpXor: public Normal
40 : {
41 : public:
42 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
43 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
44 0 : virtual std::string BinFuncName() const SAL_OVERRIDE { return "Xor"; }
45 : };
46 0 : class OpIf:public Normal
47 : {
48 : public:
49 : virtual void GenSlidingWindowFunction(std::stringstream &ss,
50 : const std::string &sSymName, SubArguments &vSubArguments) SAL_OVERRIDE;
51 0 : virtual std::string BinFuncName() const SAL_OVERRIDE { return "IF"; }
52 : };
53 :
54 : }}
55 :
56 : #endif
57 :
58 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|