Class representing string values. More...
#include <Column.h>


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. | |
| std::string | value () const |
| Returns the string value of this object. | |
Protected Member Functions | |
| virtual void | doBind (QueryPimplData &queryPimplData, int columnNumber) |
Class representing string values.
| SimpleDB::StringColumn::StringColumn | ( | const int | bufferSize | ) |
Constructor to allocate memory for this column.
This function will throw an Exception if the memory cannot be allocated.
| bufferSize | The maximum number of bytes the value will hold. |
| virtual void SimpleDB::StringColumn::doBind | ( | QueryPimplData & | queryPimplData, | |
| int | columnNumber | |||
| ) | [protected, virtual] |
Implements SimpleDB::Column.
| std::ostream& SimpleDB::StringColumn::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.
| std::string SimpleDB::StringColumn::value | ( | ) | const |
Returns the string value of this object.
Reimplemented from SimpleDB::Column.