LibreOffice Module connectivity (master) 1
|
ASCII(str) Returns the ASCII code value of the leftmost character of the string str. More...
#include <FStringFunctions.hxx>
Protected Member Functions | |
virtual ORowSetValue | operate (const ORowSetValue &lhs) const override |
Additional Inherited Members | |
Public Member Functions inherited from connectivity::file::OUnaryOperator | |
virtual void | Exec (OCodeStack &) override |
virtual ORowSetValue | operate (const ORowSetValue &lhs) const =0 |
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 |
ASCII(str) Returns the ASCII code value of the leftmost character of the string str.
Returns 0 if str is the empty string. Returns NULL if str is NULL:
SELECT ASCII('2'); -> 50 SELECT ASCII(2); -> 50 SELECT ASCII('dx'); -> 100
Definition at line 65 of file FStringFunctions.hxx.
|
overrideprotectedvirtual |
Implements connectivity::file::OUnaryOperator.
Definition at line 44 of file FStringFunctions.cxx.
References connectivity::ORowSetValue::getString(), connectivity::ORowSetValue::isNull(), and pq_sdbc_driver::OUStringToOString().