Dv::Sql::unary_value_exp< L > Class Template Reference

A class template derived from Dv::Sql::boolexp. More...

#include <select_exp.h>

Inheritance diagram for Dv::Sql::unary_value_exp< L >:
Inheritance graph
[legend]
Collaboration diagram for Dv::Sql::unary_value_exp< L >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 unary_value_exp (const L &l, Function f)
 Constructor.
virtual ~unary_value_exp ()
 Destructor.
std::ostream & print (std::ostream &os, const Dv::Sql::Db &db) const
 Print this expression on a stream, using escapes for column values.

Public Attributes

const L arg
 argument.
const Function fun
 Function.

Detailed Description

template<typename L>
class Dv::Sql::unary_value_exp< L >

A class template derived from Dv::Sql::boolexp.

A basic unary boolean expression consists of a unary operator with an argument.

Definition at line 253 of file select_exp.h.


Constructor & Destructor Documentation

template<typename L >
Dv::Sql::unary_value_exp< L >::unary_value_exp ( const L &  l,
Function  f 
) [inline]

Constructor.

Parameters:
l left argument
o relational operator
r right argument
template<typename L >
virtual Dv::Sql::unary_value_exp< L >::~unary_value_exp (  )  [inline, virtual]

Destructor.

Definition at line 269 of file select_exp.h.


Member Function Documentation

template<typename L >
std::ostream& Dv::Sql::unary_value_exp< L >::print ( std::ostream &  os,
const Dv::Sql::Db db 
) const [inline, virtual]

Print this expression on a stream, using escapes for column values.

Parameters:
os stream to print to
db whose associated stringify functions will be used
Returns:
os

Implements Dv::Sql::value_exp.

Definition at line 277 of file select_exp.h.

References Dv::Sql::unary_value_exp< L >::arg, Dv::Sql::unary_value_exp< L >::fun, and Dv::Sql::sql_string().


Member Data Documentation

template<typename L >
const L Dv::Sql::unary_value_exp< L >::arg

argument.

Definition at line 256 of file select_exp.h.

Referenced by Dv::Sql::unary_value_exp< L >::print().

template<typename L >
const Function Dv::Sql::unary_value_exp< L >::fun

Function.

Definition at line 258 of file select_exp.h.

Referenced by Dv::Sql::unary_value_exp< L >::print().


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

dvmysql-1.0.3 [17 November, 2010]