26 #ifndef NFD_DAEMON_COMMON_COUNTER_HPP 27 #define NFD_DAEMON_COMMON_COUNTER_HPP 45 operator rep() const noexcept
53 set(rep value) noexcept
124 BOOST_ASSERT(m_table !=
nullptr);
125 return m_table->size();
134 #endif // NFD_DAEMON_COMMON_COUNTER_HPP
represents a counter of number of bytes
provides a counter that observes the size of a table
ByteCounter & operator+=(rep n) noexcept
increase the counter
represents a counter that encloses an integer value
PacketCounter & operator++() noexcept
increment the counter by one
represents a counter of number of packets
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
constexpr SizeCounter(const T *table=nullptr) noexcept
void observe(const T *table) noexcept