#include <select_exp.h>
Public Member Functions | |
ValueExp (const value_exp *e) | |
Constructor. | |
const value_exp & | exp () const |
Return underlying Dv::Sql::boolexp. | |
std::ostream & | print (std::ostream &os, const Dv::Sql::Db &db) const |
Print the expression in sql format. | |
const Dv::Sql::Table::Set & | tables () const |
The set of tables involved in this expression. | |
Private Attributes | |
Dv::shared_ptr< const value_exp > | exp_ |
Definition at line 315 of file select_exp.h.
Dv::Sql::ValueExp::ValueExp | ( | const value_exp * | e | ) | [inline] |
Constructor.
It simply wraps a (reference-counted) pointer to an expression.
e | pointer to expression to be wrapped |
Definition at line 321 of file select_exp.h.
const value_exp& Dv::Sql::ValueExp::exp | ( | ) | const [inline] |
Return underlying Dv::Sql::boolexp.
Definition at line 326 of file select_exp.h.
References exp_.
std::ostream& Dv::Sql::ValueExp::print | ( | std::ostream & | os, | |
const Dv::Sql::Db & | db | |||
) | const [inline] |
Print the expression in sql format.
os | stream to print on | |
db | to use for escaping string values |
Definition at line 333 of file select_exp.h.
References exp_.
const Dv::Sql::Table::Set& Dv::Sql::ValueExp::tables | ( | ) | const [inline] |
The set of tables involved in this expression.
Definition at line 340 of file select_exp.h.
References exp_.
Dv::shared_ptr<const value_exp> Dv::Sql::ValueExp::exp_ [private] |
Definition at line 342 of file select_exp.h.
dvmysql-1.0.3 | [17 November, 2010] |