hnproperties.cpp

来自「SR-tree is an index structure for high-d」· C++ 代码 · 共 52 行

CPP
52
字号
/*
 * HnProperties.cc
 *
 * DO NOT EDIT THIS FILE!
 *
 * This file is automatically generated by obj2ptr.
 * 2002/09/13 12:41:10
 */

#include "HnSRTree/HnProperties.hh"
#include "HnSRTree/HnPropertiesObj.hh"

/*
 * HnProperties
 */

const HnProperties HnProperties::null;

HnProperties
new_HnProperties(void)
{
    HnPropertiesObj *_obj;

    _obj = new HnPropertiesObj();

    if ( _obj->hasConstructorFailed() ) {
        delete _obj;
        return (HnPropertiesObj *)NULL;
    }

    return _obj;
}

HnProperties
new_HnProperties(const HnProperties &defaults)
{
    HnPropertiesObj *_obj;

    _obj = new HnPropertiesObj(defaults);

    if ( _obj->hasConstructorFailed() ) {
        delete _obj;
        return (HnPropertiesObj *)NULL;
    }

    return _obj;
}

#define HnClass HnProperties
#include "HnSRTree/HnClassArray.cpp"

⌨️ 快捷键说明

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