MDBL Library
Public Types | Public Member Functions | Protected Attributes | Private Member Functions
CRow Class Reference

#include <Row.hpp>

List of all members.

Public Types

enum  StatusFlags {
  ALLOCATED = 0x00, ORIGINAL = 0x01, INSERTED = 0x02, UPDATED = 0x04,
  DELETED = 0x08
}

Public Member Functions

 CRow (CTable &oTable, bool bNull=false)
 ~CRow ()
CFieldField (size_t n) const
CFieldoperator[] (size_t n) const
CTableTable () const
uint Status () const
bool InTable () const
bool Inserted () const
bool Updated () const
bool Deleted () const
void ResetStatus ()
void MarkOriginal ()
void MarkInserted ()
void MarkUpdated ()
void MarkDeleted ()
bool Modified () const
void Read (WCL::IInputStream &rStream)
void Write (WCL::IOutputStream &rStream)

Protected Attributes

CTablem_oTable
CFieldm_aFields
size_t m_nColumns
uint m_eStatus

Private Member Functions

 CRow (const CRow &oRow)
CRowoperator= (const CRow &oRow)

Member Enumeration Documentation

Enumerator:
ALLOCATED 
ORIGINAL 
INSERTED 
UPDATED 
DELETED 

Constructor & Destructor Documentation

CRow::CRow ( CTable oTable,
bool  bNull = false 
)
CRow::CRow ( const CRow oRow) [private]

Member Function Documentation

CField & CRow::Field ( size_t  n) const [inline]
CField & CRow::operator[] ( size_t  n) const [inline]
CTable & CRow::Table ( ) const [inline]
uint CRow::Status ( ) const [inline]
bool CRow::InTable ( ) const [inline]
bool CRow::Inserted ( ) const [inline]
bool CRow::Updated ( ) const [inline]
bool CRow::Deleted ( ) const [inline]
void CRow::ResetStatus ( ) [inline]
void CRow::MarkOriginal ( ) [inline]
void CRow::MarkInserted ( ) [inline]
void CRow::MarkUpdated ( ) [inline]
void CRow::MarkDeleted ( ) [inline]
bool CRow::Modified ( ) const [inline]
void CRow::Read ( WCL::IInputStream &  rStream)
void CRow::Write ( WCL::IOutputStream &  rStream)
CRow& CRow::operator= ( const CRow oRow) [private]

Member Data Documentation

CTable& CRow::m_oTable [protected]
CField* CRow::m_aFields [protected]
size_t CRow::m_nColumns [protected]
uint CRow::m_eStatus [protected]

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