Class representing bool values. More...
#include <Column.h>
Public Member Functions | |
std::ostream & | oStream (std::ostream &oStream) |
Function called to write a column value to the output stream. | |
bool | value () const |
Used to retrieve the value of this column. | |
Protected Member Functions | |
void | doBind (QueryPimplData &queryPimplData, int columnNumber) |
This abstract function is called by Query when the Query.bind function is invoked. |
Class representing bool values.
void SimpleDB::BoolColumn::doBind | ( | QueryPimplData & | queryPimplData, | |
int | columnNumber | |||
) | [protected, virtual] |
This abstract function is called by Query when the Query.bind function is invoked.
This function has an implementation that handles making sure columns are bound. This function should be called by any derived objects.
queryPimplData | The implementation data from the query object | |
columnNumber | The column number to bind this column to.. |
Implements SimpleDB::Column.
std::ostream& SimpleDB::BoolColumn::oStream | ( | std::ostream & | oStream | ) | [virtual] |
Function called to write a column value to the output stream.
This function is implemented by each column type to write the value in a suitable form to the output stream.
oStream | Output stream object. |
Implements SimpleDB::Column.
bool SimpleDB::BoolColumn::value | ( | ) | const |
Used to retrieve the value of this column.
Reimplemented from SimpleDB::Column.