MDBL Library
|
#include <Field.hpp>
Public Member Functions | |
CRow & | Row () const |
CColumn & | Column () const |
int | GetInt () const |
int64 | GetInt64 () const |
double | GetDouble () const |
tchar | GetChar () const |
const tchar * | GetString () const |
bool | GetBool () const |
time_t | GetDateTime () const |
const CTimeStamp & | GetTimeStamp () const |
CValue | GetValue () const |
void * | GetPtr () const |
CRow * | GetRowPtr () const |
CRow ** | GetRowSetPtr () const |
void | GetRaw (void *pValue) const |
void | SetNull () |
void | SetInt (int iValue) |
void | SetInt64 (int64 iValue) |
void | SetDouble (double dValue) |
void | SetChar (tchar cValue) |
void | SetString (const tchar *sValue) |
void | SetBool (bool bValue) |
void | SetDateTime (time_t tValue) |
void | SetTimeStamp (const CTimeStamp &tsValue) |
void | SetField (const CField &oValue) |
void | SetPtr (void *pValue) |
void | SetRowPtr (CRow *pValue) |
void | SetRowSetPtr (CRow **pValue) |
void | SetRaw (const void *pValue) |
operator int () const | |
operator double () const | |
operator tchar () const | |
operator const tchar * () const | |
operator bool () const | |
operator time_t () const | |
operator const CTimeStamp & () const | |
operator CValue () const | |
operator void * () const | |
operator CRow * () const | |
operator CRow ** () const | |
CField & | operator= (const CNull &oNull) |
CField & | operator= (int iValue) |
CField & | operator= (double dValue) |
CField & | operator= (tchar cValue) |
CField & | operator= (const tchar *sValue) |
CField & | operator= (bool bValue) |
CField & | operator= (time_t tValue) |
CField & | operator= (const CTimeStamp &tsValue) |
CField & | operator= (const CField &oValue) |
CField & | operator= (void *pValue) |
CField & | operator= (CRow *pValue) |
CField & | operator= (CRow **pValue) |
bool | operator== (const CNull &oNull) const |
bool | operator!= (const CNull &oNull) const |
bool | operator== (int iValue) const |
bool | operator!= (int iValue) const |
bool | operator== (double dValue) const |
bool | operator!= (double dValue) const |
bool | operator== (tchar cValue) const |
bool | operator!= (tchar cValue) const |
bool | operator== (const tchar *sValue) const |
bool | operator!= (const tchar *sValue) const |
bool | operator== (bool bValue) const |
bool | operator!= (bool bValue) const |
bool | operator== (const CValue &oValue) const |
bool | operator!= (const CValue &oValue) const |
bool | operator== (const CField &oValue) const |
bool | operator!= (const CField &oValue) const |
int | Compare (const CField &oValue) const |
int | Compare (const CValue &oValue) const |
bool | Modified () const |
CString | Format (const tchar *pszFormat=NULL) const |
CString | DbgFormat () const |
Protected Attributes | |
CRow & | m_oRow |
CColumn & | m_oColumn |
size_t | m_nColumn |
bool | m_bModified |
bool | m_bNull |
union { | |
int * m_pInt | |
int64 * m_pInt64 | |
double * m_pDouble | |
tchar * m_pChar | |
tchar * m_pString | |
bool * m_pBool | |
time_t * m_pTimeT | |
CTimeStamp * m_pTimeStamp | |
void * m_pVoidPtr | |
CRow * m_pRowPtr | |
CRow ** m_pRowSetPtr | |
}; | |
Private Member Functions | |
CField (CRow &oRow, CColumn &oColumn, size_t nColumn, bool bNull, void *pData) | |
~CField () | |
void * | operator new (size_t n, void *p) |
void | operator delete (void *p, void *p2) |
void | operator delete (void *p) |
CField (const CField &oValue) | |
void | Updated () |
CString | FormatTimeT (const tchar *pszFormat) const |
CString | FormatTimeStamp (const tchar *pszFormat) const |
CString | FormatBool (const tchar *pszFormat) const |
int | StrCmp (const tchar *pszRHS) const |
Friends | |
class | CRow |
CField::CField | ( | CRow & | oRow, |
CColumn & | oColumn, | ||
size_t | nColumn, | ||
bool | bNull, | ||
void * | pData | ||
) | [private] |
CField::~CField | ( | ) | [private] |
CField::CField | ( | const CField & | oValue | ) | [private] |
CRow & CField::Row | ( | ) | const [inline] |
CColumn & CField::Column | ( | ) | const [inline] |
int CField::GetInt | ( | ) | const |
int64 CField::GetInt64 | ( | ) | const |
double CField::GetDouble | ( | ) | const |
tchar CField::GetChar | ( | ) | const |
const tchar * CField::GetString | ( | ) | const |
bool CField::GetBool | ( | ) | const |
time_t CField::GetDateTime | ( | ) | const |
const CTimeStamp & CField::GetTimeStamp | ( | ) | const |
CValue CField::GetValue | ( | ) | const |
void * CField::GetPtr | ( | ) | const |
CRow * CField::GetRowPtr | ( | ) | const |
CRow ** CField::GetRowSetPtr | ( | ) | const |
void CField::GetRaw | ( | void * | pValue | ) | const |
void CField::SetNull | ( | ) |
void CField::SetInt | ( | int | iValue | ) |
void CField::SetInt64 | ( | int64 | iValue | ) |
void CField::SetDouble | ( | double | dValue | ) |
void CField::SetChar | ( | tchar | cValue | ) |
void CField::SetString | ( | const tchar * | sValue | ) |
void CField::SetBool | ( | bool | bValue | ) |
void CField::SetDateTime | ( | time_t | tValue | ) |
void CField::SetTimeStamp | ( | const CTimeStamp & | tsValue | ) |
void CField::SetField | ( | const CField & | oValue | ) |
void CField::SetPtr | ( | void * | pValue | ) |
void CField::SetRowPtr | ( | CRow * | pValue | ) |
void CField::SetRowSetPtr | ( | CRow ** | pValue | ) |
void CField::SetRaw | ( | const void * | pValue | ) |
CField::operator int | ( | ) | const [inline] |
CField::operator double | ( | ) | const [inline] |
CField::operator tchar | ( | ) | const [inline] |
CField::operator const tchar * | ( | ) | const [inline] |
CField::operator bool | ( | ) | const [inline] |
CField::operator time_t | ( | ) | const [inline] |
CField::operator const CTimeStamp & | ( | ) | const [inline] |
CField::operator CValue | ( | ) | const [inline] |
CField::operator void * | ( | ) | const [inline] |
CField::operator CRow * | ( | ) | const [inline] |
CField::operator CRow ** | ( | ) | const [inline] |
CField & CField::operator= | ( | int | iValue | ) | [inline] |
CField & CField::operator= | ( | double | dValue | ) | [inline] |
CField & CField::operator= | ( | tchar | cValue | ) | [inline] |
CField & CField::operator= | ( | const tchar * | sValue | ) | [inline] |
CField & CField::operator= | ( | bool | bValue | ) | [inline] |
CField & CField::operator= | ( | time_t | tValue | ) | [inline] |
CField & CField::operator= | ( | const CTimeStamp & | tsValue | ) | [inline] |
CField & CField::operator= | ( | void * | pValue | ) | [inline] |
bool CField::operator== | ( | const CNull & | oNull | ) | const [inline] |
bool CField::operator!= | ( | const CNull & | oNull | ) | const [inline] |
bool CField::operator== | ( | int | iValue | ) | const [inline] |
bool CField::operator!= | ( | int | iValue | ) | const [inline] |
bool CField::operator== | ( | double | dValue | ) | const [inline] |
bool CField::operator!= | ( | double | dValue | ) | const [inline] |
bool CField::operator== | ( | tchar | cValue | ) | const [inline] |
bool CField::operator!= | ( | tchar | cValue | ) | const [inline] |
bool CField::operator== | ( | const tchar * | sValue | ) | const [inline] |
bool CField::operator!= | ( | const tchar * | sValue | ) | const [inline] |
bool CField::operator== | ( | bool | bValue | ) | const [inline] |
bool CField::operator!= | ( | bool | bValue | ) | const [inline] |
bool CField::operator== | ( | const CValue & | oValue | ) | const |
bool CField::operator!= | ( | const CValue & | oValue | ) | const [inline] |
bool CField::operator== | ( | const CField & | oValue | ) | const [inline] |
bool CField::operator!= | ( | const CField & | oValue | ) | const [inline] |
int CField::Compare | ( | const CField & | oValue | ) | const |
int CField::Compare | ( | const CValue & | oValue | ) | const |
bool CField::Modified | ( | ) | const [inline] |
CString CField::Format | ( | const tchar * | pszFormat = NULL | ) | const |
CString CField::DbgFormat | ( | ) | const |
void * CField::operator new | ( | size_t | n, |
void * | p | ||
) | [inline, private] |
void CField::operator delete | ( | void * | p, |
void * | p2 | ||
) | [inline, private] |
void CField::operator delete | ( | void * | p | ) | [inline, private] |
void CField::Updated | ( | ) | [private] |
CString CField::FormatTimeT | ( | const tchar * | pszFormat | ) | const [private] |
CString CField::FormatTimeStamp | ( | const tchar * | pszFormat | ) | const [private] |
CString CField::FormatBool | ( | const tchar * | pszFormat | ) | const [private] |
int CField::StrCmp | ( | const tchar * | pszRHS | ) | const [private] |
friend class CRow [friend] |
CRow& CField::m_oRow [protected] |
CColumn& CField::m_oColumn [protected] |
size_t CField::m_nColumn [protected] |
bool CField::m_bModified [protected] |
bool CField::m_bNull [protected] |
int* CField::m_pInt |
int64* CField::m_pInt64 |
double* CField::m_pDouble |
tchar* CField::m_pChar |
tchar* CField::m_pString |
bool* CField::m_pBool |
time_t* CField::m_pTimeT |
void* CField::m_pVoidPtr |
union { ... } [protected] |