T
.
More...
#include <array.hh>
Public Types | |
typedef T | value |
Public Member Functions | |
array (const array &other) | |
array () | |
void | clear () |
unsigned | nvalues () const |
unsigned & | operator() (const T &v) |
unsigned | operator() (const T &v) const |
array & | operator= (const array &other) |
unsigned & | operator[] (unsigned i) |
unsigned | operator[] (unsigned i) const |
const std::vector< unsigned > & | vect () const |
const mln::value::set< T > & | vset () const |
Protected Attributes | |
std::vector< unsigned > | h_ |
const mln::value::set< T > & | s_ |
T
.
Definition at line 48 of file histo/array.hh.
typedef T mln::histo::array< T >::value |
Definition at line 50 of file histo/array.hh.
mln::histo::array< T >::array | ( | ) | [inline] |
mln::histo::array< T >::array | ( | const array< T > & | other | ) | [inline] |
Definition at line 95 of file histo/array.hh.
void mln::histo::array< T >::clear | ( | ) | [inline] |
Definition at line 115 of file histo/array.hh.
References mln::histo::array< T >::h_.
Referenced by mln::histo::array< T >::array(), and mln::accu::histo< V >::init().
unsigned mln::histo::array< T >::nvalues | ( | ) | const [inline] |
Definition at line 172 of file histo/array.hh.
References mln::histo::array< T >::h_.
Referenced by mln::morpho::tree::internal::compute_histo(), mln::convert::over_load::from_to_(), and mln::accu::histo< V >::take().
unsigned & mln::histo::array< T >::operator() | ( | const T & | v | ) | [inline] |
Definition at line 131 of file histo/array.hh.
References mln::histo::array< T >::h_, and mln::histo::array< T >::s_.
unsigned mln::histo::array< T >::operator() | ( | const T & | v | ) | const [inline] |
Definition at line 123 of file histo/array.hh.
References mln::histo::array< T >::h_, and mln::histo::array< T >::s_.
array< T > & mln::histo::array< T >::operator= | ( | const array< T > & | other | ) | [inline] |
unsigned & mln::histo::array< T >::operator[] | ( | unsigned | i | ) | [inline] |
Definition at line 156 of file histo/array.hh.
References mln::histo::array< T >::h_, and mln::histo::array< T >::s_.
unsigned mln::histo::array< T >::operator[] | ( | unsigned | i | ) | const [inline] |
Definition at line 147 of file histo/array.hh.
References mln::histo::array< T >::h_, and mln::histo::array< T >::s_.
const std::vector< unsigned > & mln::histo::array< T >::vect | ( | ) | const [inline] |
Definition at line 165 of file histo/array.hh.
References mln::histo::array< T >::h_.
Referenced by mln::accu::histo< V >::vect().
const mln::value::set< T > & mln::histo::array< T >::vset | ( | ) | const [inline] |
Definition at line 139 of file histo/array.hh.
References mln::histo::array< T >::s_.
Referenced by mln::morpho::tree::internal::compute_histo(), mln::debug::histo(), mln::accu::histo< V >::nvalues(), mln::accu::histo< V >::operator()(), mln::accu::histo< V >::operator[](), mln::accu::histo< V >::take(), mln::accu::histo< V >::untake(), and mln::accu::histo< V >::vset().
std::vector<unsigned> mln::histo::array< T >::h_ [protected] |
Definition at line 72 of file histo/array.hh.
Referenced by mln::histo::array< T >::clear(), mln::histo::array< T >::nvalues(), mln::histo::array< T >::operator()(), mln::histo::array< T >::operator=(), mln::histo::array< T >::operator[](), and mln::histo::array< T >::vect().
const mln::value::set<T>& mln::histo::array< T >::s_ [protected] |
Definition at line 71 of file histo/array.hh.
Referenced by mln::histo::array< T >::operator()(), mln::histo::array< T >::operator[](), and mln::histo::array< T >::vset().