Public Member Functions
ibis::math::literal Class Reference

A string literal. More...

#include <qExpr.h>

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

List of all members.

Public Member Functions

virtual literaldup () const
 Make a duplicate copy of the term.
virtual double eval () const
 Evaluate the term.
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 string literal be interpreted as true? A string literal is interpretted as true if it starts with letter 't' or 'T', or it equals to "1".
 literal (const char *s)
virtual uint32_t nItems () const
 Count the number of items in the query expression.
 operator const char * () const
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

Detailed Description

A string literal.


Member Function Documentation

virtual bool ibis::math::literal::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::literal::isTrue ( ) const [inline, virtual]

Should the string literal be interpreted as true? A string literal is interpretted as true if it starts with letter 't' or 'T', or it equals to "1".

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