LibreOffice Module connectivity (master) 1
|
REPEAT(str,count) Returns a string consisting of the string str repeated count times. More...
#include <FStringFunctions.hxx>
Protected Member Functions | |
virtual ORowSetValue | operate (const ORowSetValue &lhs, const ORowSetValue &rhs) const override |
virtual ORowSetValue | operate (const ORowSetValue &lhs, const ORowSetValue &rhs) const =0 |
Additional Inherited Members | |
Public Member Functions inherited from connectivity::file::OBinaryOperator | |
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 | |
OCode & | operator= (const OCode &)=default |
OCode & | operator= (OCode &&)=default |
REPEAT(str,count) Returns a string consisting of the string str repeated count times.
If count <= 0, returns an empty string. Returns NULL if str or count are NULL:
SELECT REPEAT('OOo', 3); -> 'OOoOOoOOo'
Definition at line 223 of file FStringFunctions.hxx.
|
overrideprotectedvirtual |
Implements connectivity::file::OBinaryOperator.
Definition at line 173 of file FStringFunctions.cxx.
References connectivity::ORowSetValue::getInt32(), connectivity::ORowSetValue::getString(), i, connectivity::ORowSetValue::isNull(), and nCount.