📄 cursor.h
字号:
/* Copyright(C) 1999, 2000 by JiangSu Bell Software CO.,LTD. */
/*
Name: cursor.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;
*/
#ifndef __CURSOR__
#define __CURSOR__
#include <oci.h>
#include "field.h"
class XW_Connection;
class Cursor
{
public:
Cursor();
~Cursor();
State Open( XW_Connection *conn );
State Close();
bool IsOpen();
/* bind an input variable */
int BindCol( CField* Field );
/* define an output variable */
int DefineCol( int position, CField* Field );
/* describe the output variable */
int Describe( int position, CField* &Field );
bool Parse( const char *stmt );
long Execute();
long Fetch();
long ReportMsg( int value );
inline void ReportError()
{
connect->ReportError( cda.v2_rc );
}
private:
Cda_Def cda;
XW_Connection *connect;
State state;
};
#endif __CURSOR__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -