NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
strategy-choice-entry.cpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
27 #include "core/logger.hpp"
28 #include "fw/strategy.hpp"
29 
30 namespace nfd {
31 namespace strategy_choice {
32 
33 Entry::Entry(const Name& prefix)
34  : m_prefix(prefix)
35  , m_strategy(nullptr)
36  , m_nameTreeEntry(nullptr)
37 {
38 }
39 
40 const Name&
42 {
43  return m_strategy->getName();
44 }
45 
46 } // namespace strategy_choice
47 } // namespace nfd
const Name & getName() const
Definition: strategy.hpp:56
Copyright (c) 2011-2015 Regents of the University of California.
Definition: ndn-common.hpp:40
const Name & getStrategyName() const
Name abstraction to represent an absolute name.
Definition: name.hpp:46