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