Store result set information retrieved from the database. More...
#include <DataSet.h>
Public Member Functions | |
DataSet () | |
~DataSet () | |
DataColumnBase * | getCellValue (const unsigned int row, const string &columnName) |
Gets cell value by name. More... | |
DataColumnBase * | getCellValue (const unsigned int row, const unsigned int columnIndex) |
Gets cell value by index. More... | |
Private Member Functions | |
DataSet (const DataSet &source) | |
Shallow copy. More... | |
DataSet & | operator= (const DataSet &source) |
Private Attributes | |
bool | m_Copy |
True if instance is a copy. More... | |
Store result set information retrieved from the database.
DataSet::DataSet | ( | ) |
DataSet::~DataSet | ( | ) |
|
private |
Shallow copy.
Instance own a reference to source dataset
source | type DataSet. Source instance containing dataset information |
DataColumnBase * DataSet::getCellValue | ( | const unsigned int | row, |
const string & | columnName | ||
) |
Gets cell value by name.
row | The row index. |
columnName | Name of the column. |
DataColumnBase * DataSet::getCellValue | ( | const unsigned int | row, |
const unsigned int | columnIndex | ||
) |
Gets cell value by index.
row | The row index. |
columnIndex | Zero-based index of the column. |
|
private |
True if instance is a copy.