My Project
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
ParaInfoCenter::CICRecordSetItem Class Reference

data field in a record. More...

#include <ICRecordSet.h>

Public Types

enum  IC_DATA_TYPE {
  _NONE, _INT, _FLOAT, _INT64,
  _TEXT, _TEXT16, _BLOB
}
 

Public Member Functions

 operator int ()
 
 operator bool ()
 
 operator DWORD ()
 
 operator int64 ()
 
 operator char * ()
 
 operator char16_t * ()
 
 operator void * ()
 
 operator double ()
 
 operator float ()
 
const char * GetNameA ()
 
const char16_t * GetName ()
 
 CICRecordSetItem (int index, sqlite3_stmt *stmt)
 
CICRecordSetItemoperator= (const CICRecordSetItem &)
 
CICRecordSetItemoperator= (const int &)
 
CICRecordSetItemoperator= (const int64 &)
 
CICRecordSetItemoperator= (const bool &)
 
CICRecordSetItemoperator= (const double &)
 
CICRecordSetItemoperator= (const float &)
 
CICRecordSetItemoperator= (const char *)
 
CICRecordSetItemoperator= (const char16_t *)
 
void SetBlob (const void *value, int nlength)
 
int GetDataLength ()
 in bytes. More...
 

Protected Member Functions

void CleanOldData ()
 

Protected Attributes

int m_index
 
sqlite3_stmt * m_stmt
 
bool m_needInit
 
int m_type
 
char * m_sName
 
char16_t * m_wName
 
int m_length
 
union {
   void *   bData
 
   int   iData
 
   int64   nDataInt64
 
   double   fData
 
   char *   sData
 
   char16_t *   wData
 
}; 
 

Friends

class CICRecordSet
 

Detailed Description

data field in a record.

Member Function Documentation

§ GetDataLength()

int ParaInfoCenter::CICRecordSetItem::GetDataLength ( )
inline

in bytes.

This is usually used for blob(binary) record

Returns

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