represents a counter of number of bytes More...
#include <counter.hpp>


Public Member Functions | |
| ByteCounter & | operator+= (rep n) noexcept |
| increase the counter More... | |
Public Member Functions inherited from nfd::SimpleCounter | |
| operator rep () const noexcept | |
| observe the counter More... | |
| void | set (rep value) noexcept |
| replace the counter value More... | |
Additional Inherited Members | |
Public Types inherited from nfd::SimpleCounter | |
| typedef uint64_t | rep |
Protected Attributes inherited from nfd::SimpleCounter | |
| rep | m_value = 0 |
represents a counter of number of bytes
Definition at line 84 of file counter.hpp.
|
inlinenoexcept |
increase the counter
Definition at line 90 of file counter.hpp.
References nfd::SimpleCounter::m_value.