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 typedef std::map<FaceId, shared_ptr<Face>>
FaceMap;
70 typedef boost::indirected_range<const boost::select_second_const_range<FaceMap>>
ForwardRange;
95 addImpl(shared_ptr<Face> face,
FaceId faceId);
101 getForwardRange()
const;
110 #endif // NFD_DAEMON_FW_FACE_TABLE_HPP
boost::range_iterator< ForwardRange >::type const_iterator
ForwardIterator for Face&.
void addReserved(shared_ptr< Face > face, FaceId faceId)
add a special face with a reserved FaceId
std::map< FaceId, shared_ptr< Face > > FaceMap
boost::indirected_range< const boost::select_second_const_range< FaceMap > > ForwardRange
const_iterator begin() const
void add(shared_ptr< Face > face)
add a face
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
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