ocicache.h

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

H
32
字号
#ifndef _COCICache
#define _COCICache

#ifndef _COCIRef
#include "ociref.h"
#endif

class COCISession;

class COCICache
{
public:
  COCICache(const COCISession& Sess);
  ~COCICache();
  bool flush();
  void free();
  int  get_size(bool maximum = true); // maximum or optimal
  void set_size(int size, bool maximum = true); // maximum or optimal
  bool refresh();
  void unmark();
  void unpin();

  COCIRef& get_error_ref(){return ref;}

private:
  const COCISession& m_Session;
  COCIRef ref;

};

#endif // _COCICache

⌨️ 快捷键说明

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