26#ifndef NFD_DAEMON_RIB_FIB_UPDATE_HPP
27#define NFD_DAEMON_RIB_FIB_UPDATE_HPP
31#include <boost/operators.hpp>
38class FibUpdate :
private boost::equality_comparable<FibUpdate>
56 return lhs.name == rhs.name &&
57 lhs.faceId == rhs.faceId &&
58 lhs.cost == rhs.cost &&
59 lhs.action == rhs.action;
static FibUpdate createRemoveUpdate(const Name &name, uint64_t faceId)
friend bool operator==(const FibUpdate &lhs, const FibUpdate &rhs) noexcept
static FibUpdate createAddUpdate(const Name &name, uint64_t faceId, uint64_t cost)
std::ostream & operator<<(std::ostream &os, const FibUpdate &update)