Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Related Pages | Examples

SimpleDB::BoolColumn Class Reference

Class representing bool values. More...

#include <Column.h>

Inheritance diagram for SimpleDB::BoolColumn:

Inheritance graph
[legend]
Collaboration diagram for SimpleDB::BoolColumn:

Collaboration graph
[legend]
List of all members.

Public Member Functions

std::ostream & oStream (std::ostream &oStream)
 Function called to write a column value to the output stream.
void bind (SQLHSTMT statementHandle, int columnNumber)
 This abstract function is called by Query when the Query.bind function is invoked.
bool value ()
 Used to retrieve the value of this column.

Detailed Description

Class representing bool values.


Member Function Documentation

void SimpleDB::BoolColumn::bind SQLHSTMT  statementHandle,
int  columnNumber
[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.

Parameters:
statementHandle The statementHandle columns are being bound to
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.

Parameters:
oStream Output stream object.
Returns:
Output stream object to which data was written.

Implements SimpleDB::Column.

bool SimpleDB::BoolColumn::value  ) 
 

Used to retrieve the value of this column.

Returns:
The long value of this column.

Reimplemented from SimpleDB::Column.


The documentation for this class was generated from the following file:
Copyright (C) 2005 Eminence Technology Pty Ltd.
Documentation pages generated by doxygen.

SourceForge.net Logo