⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 records.hpp

📁 联通接收发送新程序
💻 HPP
字号:

/* Copyright(C) 1999, 2000 by JiangSu Bell Software CO.,LTD. */
/*
  Name: records.h                      Version: 1.0.0
  Created by HanBing                   Date: 2000-08-08
  Comment: Our group defining all base-class sets
  Modified:
1)  2000-08-08	HanBing	-	Create;
*/

//Following Class is Defining CRecords
#ifndef __RECORDS__
#define __RECORDS__

const int MaxColumns = 256;

class CRecords
{
  public:
    CRecords( uint size = 1, XW_Connection& conn = DefaultConnect );
    ~CRecords() { Destroy(); };
    long Query( char *sql );
    long Next();
    inline int CountCol()
    {
      return nCol;
    };
    CField& Field( const char *FieldName );
    inline CField& Field( int ind )
    {
      Assert( ind >= 0 && uint(ind) < nCol, "CRecords :: Field( int ind )" );
      return *Fields[ind];
    };
  private:
    uint BatSize;
    XW_Connection *connect;
    Cursor cursor;
    CField *Fields[ MaxColumns ];
    uint nCol;
    long nRow;
    void Destroy();
	//hyl on 20030922
	long CurTotal;
	//
};

#endif //__RECORDS__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -