ocitype.h

来自「一个通用的oracle OCI开发程序包」· C头文件 代码 · 共 43 行

H
43
字号
#ifndef _COCIType
#define _COCIType

#ifndef OCI_ORACLE
#include "oci.h"
#endif

class COCISession;

class COCIType
{
public:
  COCIType(const COCISession& Sess, char* type_name);
  COCIType(const COCISession& Sess, OCIType* _tdo);
  COCIType(const COCIType& src);
  COCIType();
  ~COCIType();

  char* get_name(void);
  const OCIType* get_tdo() const {return tdo;}
  dvoid* get_list_attr(){return attr_list();}
  ub2 get_attr_count(){return m_attr_count;}
  void* attr_list();


  // Strange interface this one - MFC STL requires it
  COCIType& operator = (const COCIType& src);


private:
  ub2 attr_count();

public:
//private:
  const COCISession& m_Session;
  OCIType* tdo;
  ub2 m_attr_count;
  dvoid* m_list_attr;
  OCIDescribe* m_deshp;
};

#endif

⌨️ 快捷键说明

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