MDBL Library
|
#include <ResultSet.hpp>
Public Member Functions | |
CResultSet (const CTable &oTable) | |
CResultSet (const CTable &oTable, CRow *pRow) | |
CResultSet (const CResultSet &oResultSet) | |
CResultSet (const CTable &oTable, const CRowSet &oRowSet) | |
virtual | ~CResultSet () |
CResultSet & | operator= (const CResultSet &oRHS) |
size_t | Count () const |
CRow & | Row (size_t n) const |
CRow & | operator[] (size_t n) const |
size_t | Add (CRow &oRow) |
void | Truncate () |
void | OrderBy (const CSortColumns &oColumns) |
void | OrderBy (size_t nColumn, CSortColumns::Dir eDir) |
CValue | Sum (size_t nColumn) const |
CValue | Min (size_t nColumn) const |
CValue | Max (size_t nColumn) const |
CValueSet | Distinct (size_t nColumn) const |
CGroupSet | GroupBy (size_t nColumn) const |
CResultSet | Select (const CWhere &oQuery) const |
bool | Exists (const CWhere &oQuery) const |
void | Dump (WCL::IOutputStream &rStream) const |
Protected Attributes | |
const CTable * | m_pTable |
Private Member Functions | |
CResultSet () | |
Static Private Member Functions | |
static int | Compare (const void *ppRow1, const void *ppRow2) |
Static Private Attributes | |
static const CSortColumns * | g_pSortOrder = NULL |
Friends | |
class | CJoinedSet |
CResultSet::CResultSet | ( | const CTable & | oTable | ) |
CResultSet::CResultSet | ( | const CTable & | oTable, |
CRow * | pRow | ||
) |
CResultSet::CResultSet | ( | const CResultSet & | oResultSet | ) |
CResultSet::CResultSet | ( | const CTable & | oTable, |
const CRowSet & | oRowSet | ||
) |
CResultSet::~CResultSet | ( | ) | [virtual] |
CResultSet::CResultSet | ( | ) | [private] |
CResultSet & CResultSet::operator= | ( | const CResultSet & | oRHS | ) |
size_t CResultSet::Count | ( | ) | const [inline] |
CRow & CResultSet::Row | ( | size_t | n | ) | const [inline] |
CRow & CResultSet::operator[] | ( | size_t | n | ) | const [inline] |
size_t CResultSet::Add | ( | CRow & | oRow | ) | [inline] |
void CResultSet::Truncate | ( | ) | [inline] |
void CResultSet::OrderBy | ( | const CSortColumns & | oColumns | ) |
void CResultSet::OrderBy | ( | size_t | nColumn, |
CSortColumns::Dir | eDir | ||
) | [inline] |
CValue CResultSet::Sum | ( | size_t | nColumn | ) | const |
CValue CResultSet::Min | ( | size_t | nColumn | ) | const |
CValue CResultSet::Max | ( | size_t | nColumn | ) | const |
CValueSet CResultSet::Distinct | ( | size_t | nColumn | ) | const |
CGroupSet CResultSet::GroupBy | ( | size_t | nColumn | ) | const |
CResultSet CResultSet::Select | ( | const CWhere & | oQuery | ) | const |
bool CResultSet::Exists | ( | const CWhere & | oQuery | ) | const |
void CResultSet::Dump | ( | WCL::IOutputStream & | rStream | ) | const |
int CResultSet::Compare | ( | const void * | ppRow1, |
const void * | ppRow2 | ||
) | [static, private] |
friend class CJoinedSet [friend] |
const CTable* CResultSet::m_pTable [protected] |
const CSortColumns * CResultSet::g_pSortOrder = NULL [static, private] |