?? oratype.h
字號:
#ifndef __ORATYPE_H_#define __ORATYPE_H_#include "ocicpp.h"#include "OraError.h"namespace OCICPP {using std::string;class OraType {protected: OCIDefine *definehp; OCIEnv *env; OCIError *err; string attrName; /* Attribute name this cell belongs to */ string typeName; /* Type name e.g. varchar2 or CLOB or NUMBER */ ub2 internalType; /* Oracle internal type e.g. number varchar2 and so on */ ub2 ReqType; /* Requested type e.g. string for number and so on */ sb2 *null; int nRows; unsigned size;protected: virtual void setTypeName();public: OraType(OCIEnv *,OCIError *,OCIParam *,ub2,int nRows); virtual ~OraType(); virtual int getType() const; virtual int getReqType() const; virtual void getTypeName(string &tname) const; virtual void getAttrName(string &aname) const; virtual bool isNull(int row) const; virtual unsigned getSize() const;public: virtual void getStr(string &,int row) = 0; virtual void define(OCIStmt *,int pos) = 0;};}#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -