26 #ifndef NFD_DAEMON_FW_FACE_TABLE_HPP 27 #define NFD_DAEMON_FW_FACE_TABLE_HPP 30 #include <boost/range/adaptor/indirected.hpp> 31 #include <boost/range/adaptor/map.hpp> 48 add(shared_ptr<Face> face);
68 using FaceMap = std::map<FaceId, shared_ptr<Face>>;
69 using ForwardRange = boost::indirected_range<const boost::select_second_const_range<FaceMap>>;
94 addImpl(shared_ptr<Face> face,
FaceId faceId);
100 getForwardRange()
const;
109 #endif // NFD_DAEMON_FW_FACE_TABLE_HPP
void addReserved(shared_ptr< Face > face, FaceId faceId)
add a special face with a reserved FaceId
boost::range_iterator< ForwardRange >::type const_iterator
ForwardIterator for Face&.
const_iterator begin() const
boost::indirected_range< const boost::select_second_const_range< FaceMap >> ForwardRange
void add(shared_ptr< Face > face)
add a face
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
std::map< FaceId, shared_ptr< Face >> FaceMap
signal::Signal< FaceTable, Face & > beforeRemove
fires before a face is removed
signal::Signal< FaceTable, Face & > afterAdd
fires after a face is added
uint64_t FaceId
identifies a face
const_iterator end() const