A string literal. More...
#include <qExpr.h>
Public Member Functions | |
| virtual literal * | dup () 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 |
A string literal.
| 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.
|
| |