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

SIGN(X) Returns the sign of the argument as -1, 0, or 1, depending on whether X is negative, zero, or positive: More...

#include <FNumericFunctions.hxx>

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

SIGN(X) Returns the sign of the argument as -1, 0, or 1, depending on whether X is negative, zero, or positive:

‍SELECT SIGN(-32); -> -1 SELECT SIGN(0); -> 0 SELECT SIGN(234); -> 1

Definition at line 52 of file FNumericFunctions.hxx.

Member Function Documentation

◆ operate()

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

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