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