hnblockfile.cpp
来自「SR-tree is an index structure for high-d」· C++ 代码 · 共 67 行
CPP
67 行
/*
* HnBlockFile.cc
*
* DO NOT EDIT THIS FILE!
*
* This file is automatically generated by obj2ptr.
* 2002/09/13 12:41:10
*/
#include "HnSRTree/HnBlockFile.hh"
#include "HnSRTree/HnBlockFileObj.hh"
/*
* HnBlockFile
*/
const HnBlockFile HnBlockFile::null;
HnBlockFile
new_HnBlockFile(const char *fileName, int blockSize)
{
HnBlockFileObj *_obj;
_obj = new HnBlockFileObj(fileName, blockSize);
if ( _obj->hasConstructorFailed() ) {
delete _obj;
return (HnBlockFileObj *)NULL;
}
return _obj;
}
HnBlockFile
new_HnBlockFile(const char *fileName, const char *mode)
{
HnBlockFileObj *_obj;
_obj = new HnBlockFileObj(fileName, mode);
if ( _obj->hasConstructorFailed() ) {
delete _obj;
return (HnBlockFileObj *)NULL;
}
return _obj;
}
HnBlockFile
new_HnBlockFile(int blockSize)
{
HnBlockFileObj *_obj;
_obj = new HnBlockFileObj(blockSize);
if ( _obj->hasConstructorFailed() ) {
delete _obj;
return (HnBlockFileObj *)NULL;
}
return _obj;
}
#define HnClass HnBlockFile
#include "HnSRTree/HnClassArray.cpp"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?