26 #ifndef NFD_TOOLS_NFDC_RIB_MODULE_HPP
27 #define NFD_TOOLS_NFDC_RIB_MODULE_HPP
32 #include <ndn-cxx/mgmt/nfd/rib-entry.hpp>
36 using ndn::nfd::RibEntry;
37 using ndn::nfd::Route;
73 const std::function<
void()>& onSuccess,
74 const ndn::nfd::DatasetFailureCallback& onFailure,
75 const CommandOptions& options)
override;
84 using RoutePredicate = std::function<bool(
const RibEntry&,
const Route&)>;
94 formatItemXml(std::ostream& os,
const RibEntry& item)
const;
101 formatEntryText(std::ostream& os,
const RibEntry& entry);
110 formatRouteText(std::ostream& os,
const RibEntry& entry,
const Route& route,
114 std::vector<RibEntry> m_status;
Context for command execution.