MDBL Library
Public Member Functions | Protected Member Functions | Protected Attributes
CMDB Class Reference

#include <MDB.hpp>

List of all members.

Public Member Functions

 CMDB ()
virtual ~CMDB ()
virtual size_t TableCount () const
virtual CTableTable (size_t n) const
virtual CTableoperator[] (size_t n) const
virtual CTableCreateTable (const tchar *pszName)
virtual CTableCreateTable (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

Constructor & Destructor Documentation

CMDB::~CMDB ( ) [virtual]

Member Function Documentation

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]

Member Data Documentation


The documentation for this class was generated from the following files: