LibreOffice Module connectivity (master) 1
FStringFunctions.hxx
Go to the documentation of this file.
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 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#pragma once
21
22#include <file/fcode.hxx>
23
24namespace connectivity::file
25 {
35 {
36 protected:
37 virtual ORowSetValue operate(const ORowSetValue& lhs) const override;
38 };
39
49 {
50 protected:
51 virtual ORowSetValue operate(const ORowSetValue& lhs) const override;
52 };
53
66 {
67 protected:
68 virtual ORowSetValue operate(const ORowSetValue& lhs) const override;
69 };
70
84 {
85 protected:
86 virtual ORowSetValue operate(const ORowSetValue& lhs) const override;
87 };
88
98 class OOp_Char : public ONthOperator
99 {
100 protected:
101 virtual ORowSetValue operate(const std::vector<ORowSetValue>& lhs) const override;
102 };
103
116 {
117 protected:
118 virtual ORowSetValue operate(const std::vector<ORowSetValue>& lhs) const override;
119 };
120
137 {
138 protected:
139 virtual ORowSetValue operate(const std::vector<ORowSetValue>& lhs) const override;
140 };
141
159 {
160 protected:
161 virtual ORowSetValue operate(const std::vector<ORowSetValue>& lhs) const override;
162 };
163
172 {
173 protected:
174 virtual ORowSetValue operate(const ORowSetValue& lhs) const override;
175 };
176
185 {
186 protected:
187 virtual ORowSetValue operate(const ORowSetValue& lhs) const override;
188 };
189
198 {
199 protected:
200 virtual ORowSetValue operate(const ORowSetValue& lhs) const override;
201 };
202
211 {
212 protected:
213 virtual ORowSetValue operate(const std::vector<ORowSetValue>& lhs) const override;
214 };
215
224 {
225 protected:
226 virtual ORowSetValue operate(const ORowSetValue& lhs,const ORowSetValue& rhs) const override;
227 };
228
237 {
238 protected:
239 virtual ORowSetValue operate(const std::vector<ORowSetValue>& lhs) const override;
240 };
241
250 {
251 protected:
252 virtual ORowSetValue operate(const ORowSetValue& lhs,const ORowSetValue& rhs) const override;
253 };
254
262 {
263 protected:
264 virtual ORowSetValue operate(const ORowSetValue& lhs,const ORowSetValue& rhs) const override;
265 };
266
267}
268
269/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ASCII(str) Returns the ASCII code value of the leftmost character of the string str.
virtual ORowSetValue operate(const ORowSetValue &lhs) const override
LENGTH(str) OCTET_LENGTH(str) CHAR_LENGTH(str) CHARACTER_LENGTH(str) Returns the length of the string...
virtual ORowSetValue operate(const ORowSetValue &lhs) const override
CHAR(N,...) CHAR() interprets the arguments as integers and returns a string consisting of the charac...
virtual ORowSetValue operate(const std::vector< ORowSetValue > &lhs) const override
CONCAT(str1,str2,...) Returns the string that results from concatenating the arguments.
virtual ORowSetValue operate(const std::vector< ORowSetValue > &lhs) const override
INSERT(str,pos,len,newstr) Returns the string str, with the substring beginning at position pos and l...
virtual ORowSetValue operate(const std::vector< ORowSetValue > &lhs) const override
LTRIM(str) Returns the string str with leading space characters removed:
virtual ORowSetValue operate(const ORowSetValue &lhs) const override
LEFT(str,len) Returns the leftmost len characters from the string str:
virtual ORowSetValue operate(const ORowSetValue &lhs, const ORowSetValue &rhs) const override
LOCATE(substr,str) POSITION(substr IN str) Returns the position of the first occurrence of substring ...
virtual ORowSetValue operate(const std::vector< ORowSetValue > &lhs) const override
LCASE(str) LOWER(str) Returns the string str with all characters changed to lowercase according to th...
virtual ORowSetValue operate(const ORowSetValue &lhs) const override
RTRIM(str) Returns the string str with trailing space characters removed:
virtual ORowSetValue operate(const ORowSetValue &lhs) const override
REPEAT(str,count) Returns a string consisting of the string str repeated count times.
virtual ORowSetValue operate(const ORowSetValue &lhs, const ORowSetValue &rhs) const override
REPLACE(str,from_str,to_str) Returns the string str with all occurrences of the string from_str repla...
virtual ORowSetValue operate(const std::vector< ORowSetValue > &lhs) const override
RIGHT(str,len) Returns the rightmost len characters from the string str:
virtual ORowSetValue operate(const ORowSetValue &lhs, const ORowSetValue &rhs) const override
SPACE(N) Returns a string consisting of N space characters:
virtual ORowSetValue operate(const ORowSetValue &lhs) const override
SUBSTRING(str,pos) SUBSTRING(str FROM pos) Returns a substring from string str starting at position p...
virtual ORowSetValue operate(const std::vector< ORowSetValue > &lhs) const override
UCASE(str) UPPER(str) Returns the string str with all characters changed to uppercase according to th...
virtual ORowSetValue operate(const ORowSetValue &lhs) const override