LibreOffice Module connectivity (master) 1
Protected Member Functions | List of all members
connectivity::file::OOp_Replace Class Reference

REPLACE(str,from_str,to_str) Returns the string str with all occurrences of the string from_str replaced by the string to_str: More...

#include <FStringFunctions.hxx>

Inheritance diagram for connectivity::file::OOp_Replace:
[legend]
Collaboration diagram for connectivity::file::OOp_Replace:
[legend]

Protected Member Functions

virtual ORowSetValue operate (const std::vector< ORowSetValue > &lhs) const override
 
virtual ORowSetValue operate (const std::vector< ORowSetValue > &lhs) const =0
 

Additional Inherited Members

- Public Member Functions inherited from connectivity::file::ONthOperator
virtual void Exec (OCodeStack &) override
 
virtual void Exec (OCodeStack &)=0
 
- Public Member Functions inherited from connectivity::file::OCode
virtual ~OCode ()
 
 OCode (OCode &&)=default
 
 OCode (const OCode &)=default
 
 OCode ()=default
 
OCodeoperator= (const OCode &)=default
 
OCodeoperator= (OCode &&)=default
 

Detailed Description

REPLACE(str,from_str,to_str) Returns the string str with all occurrences of the string from_str replaced by the string to_str:

‍SELECT REPLACE('www.OOo.com', 'w', 'Ww'); -> 'WwWwWw.OOo.com'

Definition at line 210 of file FStringFunctions.hxx.

Member Function Documentation

◆ operate()

ORowSetValue OOp_Replace::operate ( const std::vector< ORowSetValue > &  lhs) const
overrideprotectedvirtual

Implements connectivity::file::ONthOperator.

Definition at line 162 of file FStringFunctions.cxx.


The documentation for this class was generated from the following files: