ociref.h

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

H
50
字号
#ifndef _COCIRef
#define _COCIRef

#ifndef _COCISession
#include "ocisess.h"
#endif

#ifndef _COCIBase
#include "ocibase.h"
#endif

#ifndef _STRING_
#include <string>
#endif

class COCISession;
class COCIObject;

class COCIRef : public COCIBase
{
friend class COCIObject;

public: 
  COCIRef(const COCISession& Sess);
  COCIRef(const COCISession& Sess, dvoid* oci_ref);
  COCIRef(const COCIRef& src);
  ~COCIRef();
  void assign(const COCIRef& src);
  void clear(void);
  void from_hex(char* hex);
  std::string to_hex(void);
  ub4 hex_size(void);
  bool is_equal(const COCIRef& src);
  bool is_null(void);

  bool operator == (const COCIRef& src);
  COCIObject operator * ();
  COCIObject* operator -> ();
  COCIRef& operator = (const COCIRef& src);

protected:
  //COCIRef();

private:
  const COCISession& m_Session;
  COCIObject* m_Object;
};

#endif

⌨️ 快捷键说明

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