Embedded Template Library 1.0
|
Base for histograms. More...
#include <histogram.h>
Public Types | |
typedef etl::array< TCount, Max_Size >::const_iterator | const_iterator |
Public Member Functions | |
ETL_STATIC_ASSERT (etl::is_integral< TCount >::value, "Only integral count allowed") | |
const_iterator | begin () const |
Beginning of the histogram. | |
const_iterator | cbegin () const |
Beginning of the histogram. | |
const_iterator | end () const |
End of the histogram. | |
const_iterator | cend () const |
End of the histogram. | |
void | clear () |
Clear the histogram. | |
ETL_CONSTEXPR size_t | size () const |
Size of the histogram. | |
ETL_CONSTEXPR size_t | max_size () const |
Max size of the histogram. | |
size_t | count () const |
Count of items in the histogram. | |
Static Public Attributes | |
static ETL_CONSTANT size_t | Max_Size = Max_Size_ |
Protected Attributes | |
etl::array< TCount, Max_Size > | accumulator |
Base for histograms.