MDBL Library
|
#include <MDB.hpp>
Public Member Functions | |
CMDB () | |
virtual | ~CMDB () |
virtual size_t | TableCount () const |
virtual CTable & | Table (size_t n) const |
virtual CTable & | operator[] (size_t n) const |
virtual CTable & | CreateTable (const tchar *pszName) |
virtual CTable & | CreateTable (const tchar *pszName, CSQLSource &oConnection, const tchar *pszQuery=NULL) |
virtual size_t | AddTable (CTable &oTable) |
virtual size_t | FindTable (const tchar *pszName) |
virtual CJoinedSet | Select (const CJoin &oQuery) const |
virtual bool | Modified () const |
virtual void | Read (WCL::IInputStream &rStream) |
virtual void | Write (WCL::IOutputStream &rStream) |
virtual void | Read (CSQLSource &rSource) |
virtual void | Write (CSQLSource &rSource, CTable::RowTypes eRows=CTable::ALL) |
virtual void | ResetRowFlags () |
virtual void | Dump (WCL::IOutputStream &rStream) const |
Protected Member Functions | |
size_t | DoJoin (const CJoin &oQuery, size_t nJoin, const CRow &oLHSRow, CJoinedSet &oJS) const |
Protected Attributes | |
CTableSet | m_vTables |
CMDB::CMDB | ( | ) |
CMDB::~CMDB | ( | ) | [virtual] |
size_t CMDB::TableCount | ( | ) | const [inline, virtual] |
CTable & CMDB::Table | ( | size_t | n | ) | const [inline, virtual] |
CTable & CMDB::operator[] | ( | size_t | n | ) | const [inline, virtual] |
CTable & CMDB::CreateTable | ( | const tchar * | pszName | ) | [virtual] |
CTable & CMDB::CreateTable | ( | const tchar * | pszName, |
CSQLSource & | oConnection, | ||
const tchar * | pszQuery = NULL |
||
) | [virtual] |
size_t CMDB::AddTable | ( | CTable & | oTable | ) | [virtual] |
size_t CMDB::FindTable | ( | const tchar * | pszName | ) | [virtual] |
CJoinedSet CMDB::Select | ( | const CJoin & | oQuery | ) | const [virtual] |
bool CMDB::Modified | ( | ) | const [virtual] |
void CMDB::Read | ( | WCL::IInputStream & | rStream | ) | [virtual] |
void CMDB::Write | ( | WCL::IOutputStream & | rStream | ) | [virtual] |
void CMDB::Read | ( | CSQLSource & | rSource | ) | [virtual] |
void CMDB::Write | ( | CSQLSource & | rSource, |
CTable::RowTypes | eRows = CTable::ALL |
||
) | [virtual] |
void CMDB::ResetRowFlags | ( | ) | [virtual] |
void CMDB::Dump | ( | WCL::IOutputStream & | rStream | ) | const [virtual] |
size_t CMDB::DoJoin | ( | const CJoin & | oQuery, |
size_t | nJoin, | ||
const CRow & | oLHSRow, | ||
CJoinedSet & | oJS | ||
) | const [protected] |
CTableSet CMDB::m_vTables [protected] |