NFD - Named Data Networking Forwarding Daemon 0.5.0 documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
57
bool
58
canStale
()
const
;
59
60
void
61
unsetUnsolicited
();
62
63
bool
64
operator<
(
const
EntryImpl
& other)
const
;
65
66
private
:
67
bool
68
isQuery()
const
;
69
70
private
:
71
Name m_queryName;
72
};
73
74
}
// namespace cs
75
}
// namespace nfd
76
77
#endif // NFD_DAEMON_TABLE_CS_ENTRY_IMPL_HPP
nfd::cs::Entry
represents a base class for CS entry
Definition:
cs-entry.hpp:36
nfd::cs::EntryImpl::operator<
bool operator<(const EntryImpl &other) const
Definition:
cs-entry-impl.cpp:96
nfd
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
Definition:
algorithm.hpp:32
cs-entry.hpp
nfd::cs::EntryImpl
an Entry in ContentStore implementation
Definition:
cs-entry-impl.hpp:42
nfd::cs::EntryImpl::unsetUnsolicited
void unsetUnsolicited()
Definition:
cs-entry-impl.cpp:57
nfd::cs::Entry::isUnsolicited
bool isUnsolicited() const
Definition:
cs-entry.hpp:73
nfd::cs::EntryImpl::EntryImpl
EntryImpl(const Name &name)
construct Entry for query
Definition:
cs-entry-impl.cpp:31
nfd::cs::EntryImpl::canStale
bool canStale() const
Definition:
cs-entry-impl.cpp:50
daemon
table
cs-entry-impl.hpp
Generated on Tue Oct 4 2016 19:45:20 for NFD - Named Data Networking Forwarding Daemon by
1.8.9.1