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