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

INSERT(str,pos,len,newstr) Returns the string str, with the substring beginning at position pos and len characters long replaced by the string newstr: More...

#include <FStringFunctions.hxx>

Inheritance diagram for connectivity::file::OOp_Insert:
[legend]
Collaboration diagram for connectivity::file::OOp_Insert:
[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

INSERT(str,pos,len,newstr) Returns the string str, with the substring beginning at position pos and len characters long replaced by the string newstr:

‍SELECT INSERT('Quadratic', 3, 4, 'What'); -> 'QuWhattic'

Definition at line 236 of file FStringFunctions.hxx.

Member Function Documentation

◆ operate()

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

Implements connectivity::file::ONthOperator.

Definition at line 188 of file FStringFunctions.cxx.

References getString().


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