MDBL Library
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
CIndex Class Reference

#include <Index.hpp>

Inheritance diagram for CIndex:
CUniqIndex CIntMapIndex CStrMapIndex

List of all members.

Public Member Functions

size_t Column () const
virtual size_t RowCount () const =0
virtual void AddRow (CRow &oRow)=0
virtual void RemoveRow (CRow &oRow)=0
virtual void Truncate ()=0
virtual CResultSet FindRows (const CValue &oValue) const =0
virtual void Capacity (size_t nRows)=0

Protected Member Functions

 CIndex (CTable &oTable, size_t nColumn)
virtual ~CIndex ()

Protected Attributes

CTablem_oTable
size_t m_nColumn

Friends

class CColumn

Constructor & Destructor Documentation

CIndex::CIndex ( CTable oTable,
size_t  nColumn 
) [inline, protected]
CIndex::~CIndex ( ) [inline, protected, virtual]

Member Function Documentation

size_t CIndex::Column ( ) const [inline]
virtual size_t CIndex::RowCount ( ) const [pure virtual]

Implemented in CIntMapIndex, and CStrMapIndex.

virtual void CIndex::AddRow ( CRow oRow) [pure virtual]

Implemented in CIntMapIndex, and CStrMapIndex.

virtual void CIndex::RemoveRow ( CRow oRow) [pure virtual]

Implemented in CIntMapIndex, and CStrMapIndex.

virtual void CIndex::Truncate ( ) [pure virtual]

Implemented in CIntMapIndex, and CStrMapIndex.

virtual CResultSet CIndex::FindRows ( const CValue oValue) const [pure virtual]

Implemented in CIntMapIndex, and CStrMapIndex.

virtual void CIndex::Capacity ( size_t  nRows) [pure virtual]

Implemented in CIntMapIndex, and CStrMapIndex.


Friends And Related Function Documentation

friend class CColumn [friend]

Member Data Documentation

CTable& CIndex::m_oTable [protected]
size_t CIndex::m_nColumn [protected]

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