#include <Column.h>
Inheritance diagram for SimpleDB::StringColumn:
Public Member Functions | |
StringColumn (const int bufferSize) | |
Constructor to allocate memory for this column. | |
~StringColumn () | |
Destructor frees allocated memory. | |
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. | |
std::string | value () |
Returns the string value of this object. |
|
Constructor to allocate memory for this column. This function will throw an Exception if the memory cannot be allocated.
|
|
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.
Implements SimpleDB::Column. |
|
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.
Implements SimpleDB::Column. |
|
Returns the string value of this object.
Reimplemented from SimpleDB::Column. |