MDBL Library
|
#include <Row.hpp>
Public Types | |
enum | StatusFlags { ALLOCATED = 0x00, ORIGINAL = 0x01, INSERTED = 0x02, UPDATED = 0x04, DELETED = 0x08 } |
Public Member Functions | |
CRow (CTable &oTable, bool bNull=false) | |
~CRow () | |
CField & | Field (size_t n) const |
CField & | operator[] (size_t n) const |
CTable & | Table () 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 | |
CTable & | m_oTable |
CField * | m_aFields |
size_t | m_nColumns |
uint | m_eStatus |
Private Member Functions | |
CRow (const CRow &oRow) | |
CRow & | operator= (const CRow &oRow) |
enum CRow::StatusFlags |
CRow::CRow | ( | CTable & | oTable, |
bool | bNull = false |
||
) |
CRow::~CRow | ( | ) |
CRow::CRow | ( | const CRow & | oRow | ) | [private] |
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 | ) |
CTable& CRow::m_oTable [protected] |
CField* CRow::m_aFields [protected] |
size_t CRow::m_nColumns [protected] |
uint CRow::m_eStatus [protected] |