ndn-cxx: NDN C++ library with eXperimental eXtensions 0.6.0 documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
in-memory-storage-persistent.cpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2013-2017 Regents of the University of California.
4
*
5
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
6
*
7
* ndn-cxx library is free software: you can redistribute it and/or modify it under the
8
* terms of the GNU Lesser General Public License as published by the Free Software
9
* Foundation, either version 3 of the License, or (at your option) any later version.
10
*
11
* ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY
12
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14
*
15
* You should have received copies of the GNU General Public License and GNU Lesser
16
* General Public License along with ndn-cxx, e.g., in COPYING.md file. If not, see
17
* <http://www.gnu.org/licenses/>.
18
*
19
* See AUTHORS.md for complete list of ndn-cxx authors and contributors.
20
*/
21
22
#include "
in-memory-storage-persistent.hpp
"
23
24
namespace
ndn
{
25
26
InMemoryStoragePersistent::InMemoryStoragePersistent
()
27
:
InMemoryStorage
()
28
{
29
}
30
31
InMemoryStoragePersistent::InMemoryStoragePersistent
(boost::asio::io_service& ioService)
32
:
InMemoryStorage
(ioService)
33
{
34
}
35
36
bool
37
InMemoryStoragePersistent::evictItem
()
38
{
39
return
false
;
40
}
41
42
}
// namespace ndn
ndn
Copyright (c) 2013-2017 Regents of the University of California.
Definition:
common.hpp:66
ndn::InMemoryStorage
Represents in-memory storage.
Definition:
in-memory-storage.hpp:41
ndn::InMemoryStoragePersistent::evictItem
bool evictItem() override
Do nothing.
Definition:
in-memory-storage-persistent.cpp:37
ndn::InMemoryStoragePersistent::InMemoryStoragePersistent
InMemoryStoragePersistent()
Definition:
in-memory-storage-persistent.cpp:26
in-memory-storage-persistent.hpp
src
ims
in-memory-storage-persistent.cpp
Generated on Mon Oct 16 2017 13:31:25 for ndn-cxx: NDN C++ library with eXperimental eXtensions by
1.8.11