26 #ifndef NFD_CORE_COUNTER_HPP
27 #define NFD_CORE_COUNTER_HPP
132 return m_table.size();
141 #endif // NFD_CORE_COUNTER_HPP
represents a counter of number of bytes
constexpr SimpleCounter()
SimpleCounter & operator=(const SimpleCounter &)=delete
constexpr SizeCounter(const T &table)
void set(rep value)
replace the counter value
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
ByteCounter & operator+=(rep n)
increase the counter
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
SizeCounter & operator=(const SizeCounter &)=delete
PacketCounter & operator++()
increment the counter by one