blob: c161cd3141d9e7ccd1ae4366bb51c1fab97af4e1 [file] [log] [blame]
Alexander Afanasyev6e3d1ac2014-07-21 12:47:49 -07001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/**
3 * Copyright (c) 2014, Regents of the University of California.
shockjiange9c1ab92014-07-21 12:02:52 -07004 *
Alexander Afanasyev6e3d1ac2014-07-21 12:47:49 -07005 * This file is part of NDNS (Named Data Networking Domain Name Service).
6 * See AUTHORS.md for complete list of NDNS authors and contributors.
7 *
8 * NDNS is free software: you can redistribute it and/or modify it under the terms
9 * of the GNU General Public License as published by the Free Software Foundation,
10 * either version 3 of the License, or (at your option) any later version.
11 *
12 * NDNS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
13 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 * PURPOSE. See the GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * NDNS, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
shockjiange9c1ab92014-07-21 12:02:52 -070018 */
19
Alexander Afanasyev6e3d1ac2014-07-21 12:47:49 -070020#include "zone.hpp"
shockjiange9c1ab92014-07-21 12:02:52 -070021
22namespace ndn {
Alexander Afanasyev6e3d1ac2014-07-21 12:47:49 -070023namespace ndns {
shockjiange9c1ab92014-07-21 12:02:52 -070024
shockjianga5ae48c2014-07-27 23:21:41 -070025Zone::Zone(const Name& name)
26: m_id(0)
27, m_authorizedName(name)
28{
shockjiange9c1ab92014-07-21 12:02:52 -070029}
30
shockjianga5ae48c2014-07-27 23:21:41 -070031Zone::Zone()
32 : m_id(0)
33{
shockjiange9c1ab92014-07-21 12:02:52 -070034}
35
shockjianga5ae48c2014-07-27 23:21:41 -070036Zone::~Zone()
37{
shockjiange9c1ab92014-07-21 12:02:52 -070038}
39
Alexander Afanasyev6e3d1ac2014-07-21 12:47:49 -070040} // namespace ndns
41} // namespace ndn