ocicmplx.h

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

H
46
字号
#ifndef _COCIComplexObject
#define _COCIComplexObject

#ifdef sparc
// used for bool definition
#include <stl_config.h>
#define std
#endif


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

class COCISession;
class COCIObject;
class COCIRef;

class COCIComplexObject
{
friend class COCIObject;
friend class COCIRef;

public:
  COCIComplexObject(const COCISession& sess, const COCIObject& root, unsigned long level = 1);
  ~COCIComplexObject();

  void set_level(unsigned long level);
  unsigned long get_level(){return m_Level;}
  void set_outofline(bool outofline = false);

private:
  void set();

private:
  const COCISession& m_Session;
  const COCIObject& m_Root;
  OCIComplexObject     *m_corhp;
  OCIComplexObjectComp *m_cordp;
  unsigned long m_Level;
  unsigned char m_OutOfLine;

};

#endif // _COCIComplexObject

⌨️ 快捷键说明

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