LiteSQL
Classes | Functions
expr.hpp File Reference

Contains Expr-class hierarchy and operator overloadings for them. More...

#include "litesql/utils.hpp"
#include "litesql/field.hpp"
Include dependency graph for expr.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  litesql::Expr
 A base class for expression in WHERE - clause. More...
 
class  litesql::RawExpr
 used to inject custom expression into WHERE-clause More...
 
class  litesql::Connective
 used to connect two expressions More...
 
class  litesql::And
 connects two expressions with and-operator. More...
 
class  litesql::Or
 connects two expression with or-operator. More...
 
class  litesql::Not
 negates expression More...
 
class  litesql::Oper
 base class of operators in expressions More...
 
class  litesql::Eq
 equality operator More...
 
class  litesql::NotEq
 inequality operator More...
 
class  litesql::Gt
 greater than operator More...
 
class  litesql::GtEq
 greater or equal operator More...
 
class  litesql::Lt
 less than operator More...
 
class  litesql::LtEq
 less than or equal operator More...
 
class  litesql::Like
 like operator More...
 
class  litesql::In
 in operator More...
 

Functions

And litesql::operator&& (const Expr &o1, const Expr &o2)
 
Or litesql::operator|| (const Expr &o1, const Expr &o2)
 
template<class T >
litesql::Eq litesql::operator== (const litesql::FieldType &fld, const T &o2)
 
Eq litesql::operator== (const FieldType &fld, const FieldType &f2)
 
Gt litesql::operator> (const FieldType &fld, const FieldType &o2)
 
GtEq litesql::operator>= (const FieldType &fld, const FieldType &o2)
 
Lt litesql::operator< (const FieldType &fld, const FieldType &o2)
 
LtEq litesql::operator<= (const FieldType &fld, const FieldType &o2)
 
NotEq litesql::operator!= (const FieldType &fld, const FieldType &f2)
 
template<class T >
litesql::Gt litesql::operator> (const litesql::FieldType &fld, const T &o2)
 
template<class T >
litesql::GtEq litesql::operator>= (const litesql::FieldType &fld, const T &o2)
 
template<class T >
litesql::Lt litesql::operator< (const litesql::FieldType &fld, const T &o2)
 
template<class T >
litesql::LtEq litesql::operator<= (const litesql::FieldType &fld, const T &o2)
 
template<class T >
litesql::NotEq litesql::operator!= (const litesql::FieldType &fld, const T &o2)
 
Not litesql::operator! (const Expr &exp)
 

Detailed Description

Contains Expr-class hierarchy and operator overloadings for them.


SourceForge.net Logo