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

MOD(N,M) % Modulo (like the % operator in C). More...

#include <FNumericFunctions.hxx>

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

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

Detailed Description

MOD(N,M) % Modulo (like the % operator in C).

Returns the remainder of N divided by M:

‍SELECT MOD(234, 10); -> 4 SELECT 253 % 7; -> 1 SELECT MOD(29,9); -> 2 SELECT 29 MOD 9; -> 2

Definition at line 71 of file FNumericFunctions.hxx.

Member Function Documentation

◆ operate()

ORowSetValue OOp_Mod::operate ( const ORowSetValue lhs,
const ORowSetValue rhs 
) const
overrideprotectedvirtual

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