23#include <com/sun/star/sdbc/DataType.hpp>
61 OOperand(sal_Int32 _rType) : m_eDBType(_rType){}
69 inline bool isValid()
const;
92 const css::uno::Reference< css::beans::XPropertySet>& _xColumn);
253 :aPredicateType(aPType) {}
267 virtual double operate(
const double& fLeft,
const double& fRight)
const = 0;
273 virtual double operate(
const double& fLeft,
const double& fRight)
const override;
279 virtual double operate(
const double& fLeft,
const double& fRight)
const override;
285 virtual double operate(
const double& fLeft,
const double& fRight)
const override;
291 virtual double operate(
const double& fLeft,
const double& fRight)
const override;
void setBound(bool _bBound)
virtual void Exec(OCodeStack &) override
virtual ORowSetValue operate(const ORowSetValue &lhs, const ORowSetValue &rhs) const =0
OCode(const OCode &)=default
OCode & operator=(const OCode &)=default
OCode & operator=(OCode &&)=default
virtual void Exec(OCodeStack &) override
virtual ORowSetValue operate(const std::vector< ORowSetValue > &lhs) const =0
virtual double operate(const double &fLeft, const double &fRight) const =0
virtual void Exec(OCodeStack &) override
virtual double operate(const double &fLeft, const double &fRight) const override
virtual bool operate(const OOperand *, const OOperand *) const override
OOp_COMPARE(sal_Int32 aPType)
sal_Int32 getPredicateType() const
virtual double operate(const double &fLeft, const double &fRight) const override
OOp_LIKE(const sal_Unicode cEsc)
const sal_Unicode cEscape
virtual double operate(const double &fLeft, const double &fRight) const override
virtual bool operate(const OOperand *, const OOperand *) const override
OOp_NOTLIKE(const sal_Unicode cEsc)
virtual void Exec(OCodeStack &) override
virtual bool operate(const OOperand *, const OOperand *) const override
virtual bool operate(const OOperand *, const OOperand *) const override
virtual double operate(const double &fLeft, const double &fRight) const override
OOperandAttr(sal_uInt16 _nPos, const css::uno::Reference< css::beans::XPropertySet > &_xColumn)
OOperandConst(const connectivity::OSQLParseNode &rColumnRef, const OUString &aStrValue)
OOperandParam(sal_Int32 _nPos)
OOperandResultBOOL(bool bResult)
OOperandResultNUM(double fNum)
OOperandResult(sal_Int32 eDbType)
OOperandResult(const ORowSetValue &_rVar)
virtual const ORowSetValue & getValue() const override
virtual void setValue(const ORowSetValue &_rVal) override
void bindValue(const OValueRefRow &_pRow)
OOperandRow(sal_uInt16 _nPos, sal_Int32 _rType)
OOperandValue(sal_Int32 eDbType)
virtual const ORowSetValue & getValue() const override
OOperandValue(ORowSetValue _aVar, sal_Int32 eDbType)
virtual void setValue(const ORowSetValue &_rVal) override
OOperand(sal_Int32 _rType)
sal_Int32 getDBType() const
virtual void setValue(const ORowSetValue &_rVal)=0
virtual const ORowSetValue & getValue() const =0
virtual void Exec(OCodeStack &)=0
special stop operand is appended when a list of arguments ends
virtual void Exec(OCodeStack &) override
virtual ORowSetValue operate(const ORowSetValue &lhs) const =0
#define OOO_DLLPUBLIC_FILE
std::stack< OOperand * > OCodeStack