Public Member Functions | Friends
ibis::math::number Class Reference

A number. More...

#include <qExpr.h>

Inheritance diagram for ibis::math::number:
ibis::math::term ibis::qExpr

List of all members.

Public Member Functions

virtual numberdup () const
 Make a duplicate copy of the term.
virtual double eval () const
 Evaluate the term.
void invert ()
 To invert the value.
virtual bool isConstant () const
 Is this expression a constant? A constant remains the same not matter which row it is applied to.
virtual bool isTrue () const
 Should the value be treated as true? This implementation captures the normal case, where an arithmetic expression is treated as 'true' if it is not zero.
void negate ()
 To negate the value.
virtual uint32_t nItems () const
 Count the number of items in the query expression.
 number (double v)
 number (const char *num)
virtual void print (std::ostream &out) const
 Print a human readable version of the expression.
virtual void printFull (std::ostream &out) const
 Same as print.
virtual TERM_TYPE termType () const

Friends

class bediener
void ibis::qExpr::simplify (ibis::qExpr *&)

Detailed Description

A number.


Member Function Documentation

virtual bool ibis::math::number::isConstant ( ) const [inline, virtual]

Is this expression a constant? A constant remains the same not matter which row it is applied to.

Reimplemented from ibis::qExpr.

virtual bool ibis::math::number::isTrue ( ) const [inline, virtual]

Should the value be treated as true? This implementation captures the normal case, where an arithmetic expression is treated as 'true' if it is not zero.

Reimplemented from ibis::math::term.


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

Make It A Bit Faster
Contact us
Disclaimers
FastBit source code
FastBit mailing list archive