OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-atomspace-storage / opencog / persist / proxy / NullProxy.cc

43 lines · cc ref:
/*
 * NullProxy.cc
 *
 * Copyright (C) 2022 Linas Vepstas
 * All Rights Reserved
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License v3 as
 * published by the Free Software Foundation and including the exceptions
 * at http://opencog.org/wiki/Licenses
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program; if not, write to:
 * Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */

#include <opencog/persist/proxy/NullProxy.h>
#include <opencog/persist/storage/storage_types.h>

using namespace opencog;

NullProxy::NullProxy(Type t, const std::string&& name)
	: ProxyNode(t, std::move(name))
{
}

NullProxy::NullProxy(const std::string&& name)
	: ProxyNode(NULL_PROXY_NODE, std::move(name))
{
}

NullProxy::~NullProxy()
{
}

DEFINE_NODE_FACTORY(NullProxy, NULL_PROXY_NODE)