NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
cs-entry-impl.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_DAEMON_TABLE_CS_ENTRY_IMPL_HPP
27
#define NFD_DAEMON_TABLE_CS_ENTRY_IMPL_HPP
28
29
#include "
cs-entry.hpp
"
30
31
namespace
nfd
{
32
namespace
cs {
33
42
class
EntryImpl
:
public
Entry
43
{
44
public
:
49
EntryImpl
(
const
Name
&
name
);
50
53
EntryImpl
(shared_ptr<const Data> data,
bool
isUnsolicited
);
54
55
void
56
unsetUnsolicited
();
57
58
bool
59
operator<
(
const
EntryImpl
& other)
const
;
60
61
private
:
62
bool
63
isQuery()
const
;
64
65
private
:
66
Name
m_queryName;
67
};
68
69
}
// namespace cs
70
}
// namespace nfd
71
72
#endif // NFD_DAEMON_TABLE_CS_ENTRY_IMPL_HPP
nfd::cs::Entry::isUnsolicited
bool isUnsolicited() const
Definition:
cs-entry.hpp:73
nfd::cs::EntryImpl::operator<
bool operator<(const EntryImpl &other) const
Definition:
cs-entry-impl.cpp:89
nfd::cs::EntryImpl
an Entry in ContentStore implementation
Definition:
cs-entry-impl.hpp:42
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
cs-entry.hpp
nfd::cs::Entry
represents a base class for CS entry
Definition:
cs-entry.hpp:36
ndn::Name
Represents an absolute name.
Definition:
name.hpp:42
nfd::cs::EntryImpl::EntryImpl
EntryImpl(const Name &name)
construct Entry for query
Definition:
cs-entry-impl.cpp:31
ndn::name
Definition:
name-component.cpp:37
nfd::cs::EntryImpl::unsetUnsolicited
void unsetUnsolicited()
Definition:
cs-entry-impl.cpp:50
ndnSIM
NFD
daemon
table
cs-entry-impl.hpp
Generated on Tue Aug 7 2018 16:19:18 for ndnSIM by
1.8.14