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

ASCII(str) Returns the ASCII code value of the leftmost character of the string str. More...

#include <FStringFunctions.hxx>

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

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
 
OCodeoperator= (const OCode &)=default
 
OCodeoperator= (OCode &&)=default
 

Detailed Description

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.

Member Function Documentation

◆ operate()

ORowSetValue OOp_Ascii::operate ( const ORowSetValue lhs) const
overrideprotectedvirtual

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