OpenStructure
Public Types | Public Member Functions
Histogram< T1, T2, T3, T4, T5, T6, T7 > Class Template Reference

#include <histogram.hh>

Inherits MultiClassifier< uint32_t, T1, T2, T3, T4, T5, T6, T7 >.

Public Types

typedef Classifier< T1 > C1
typedef Classifier< T2 > C2
typedef Classifier< T3 > C3
typedef Classifier< T4 > C4
typedef Classifier< T5 > C5
typedef Classifier< T6 > C6
typedef Classifier< T7 > C7
- Public Types inherited from MultiClassifier< uint32_t, T1, T2, T3, T4, T5, T6, T7 >
enum  
typedef uint32_t ValueType
typedef Index
< MultiClassifier::Dimension > 
IndexType
typedef IndexIterator< Dimension > Iterator

Public Member Functions

 Histogram (typename C1::ConstRefType c1, typename C2::ConstRefType c2=typename C2::Type(), typename C3::ConstRefType c3=typename C3::Type(), typename C4::ConstRefType c4=typename C4::Type(), typename C5::ConstRefType c5=typename C5::Type(), typename C6::ConstRefType c6=typename C6::Type(), typename C7::ConstRefType c7=typename C7::Type())
 Histogram ()
- Public Member Functions inherited from MultiClassifier< uint32_t, T1, T2, T3, T4, T5, T6, T7 >
 MultiClassifier (const uint32_t &initial_value, typename C1::ConstRefType c1, typename C2::ConstRefType c2=typename C2::Type(), typename C3::ConstRefType c3=typename C3::Type(), typename C4::ConstRefType c4=typename C4::Type(), typename C5::ConstRefType c5=typename C5::Type(), typename C6::ConstRefType c6=typename C6::Type(), typename C7::ConstRefType c7=typename C7::Type())
 MultiClassifier ()
 MultiClassifier (const MultiClassifier &rhs)
void Serialize (DS &ds)
uint32_t GetBucketCount () const
void Add (const ValueType &value, T1 x1=T1(), T2 x2=T2(), T3 x3=T3(), T4 x4=T4(), T5 x5=T5(), T6 x6=T6(), T7 x7=T7())
void Add (const ValueType &value, const IndexType &index)
const ValueTypeGet (T1 x1=T1(), T2 x2=T2(), T3 x3=T3(), T4 x4=T4(), T5 x5=T5(), T6 x6=T6(), T7 x7=T7()) const
const ValueTypeGet (const IndexType &index) const
void Set (const IndexType &index, const ValueType &value)
IndexType FindBucket (T1 x1=T1(), T2 x2=T2(), T3 x3=T3(), T4 x4=T4(), T5 x5=T5(), T6 x6=T6(), T7 x7=T7()) const

Detailed Description

template<typename T1, typename T2 = impl::NullType, typename T3 = impl::NullType, typename T4 = impl::NullType, typename T5 = impl::NullType, typename T6 = impl::NullType, typename T7 = impl::NullType>
class ost::qa::Histogram< T1, T2, T3, T4, T5, T6, T7 >

histogram specialization for multi classifier

Definition at line 39 of file histogram.hh.


Member Typedef Documentation

typedef Classifier<T1> C1

Reimplemented from MultiClassifier< uint32_t, T1, T2, T3, T4, T5, T6, T7 >.

Definition at line 42 of file histogram.hh.

typedef Classifier<T2> C2

Reimplemented from MultiClassifier< uint32_t, T1, T2, T3, T4, T5, T6, T7 >.

Definition at line 43 of file histogram.hh.

typedef Classifier<T3> C3

Reimplemented from MultiClassifier< uint32_t, T1, T2, T3, T4, T5, T6, T7 >.

Definition at line 44 of file histogram.hh.

typedef Classifier<T4> C4

Reimplemented from MultiClassifier< uint32_t, T1, T2, T3, T4, T5, T6, T7 >.

Definition at line 45 of file histogram.hh.

typedef Classifier<T5> C5

Reimplemented from MultiClassifier< uint32_t, T1, T2, T3, T4, T5, T6, T7 >.

Definition at line 46 of file histogram.hh.

typedef Classifier<T6> C6

Reimplemented from MultiClassifier< uint32_t, T1, T2, T3, T4, T5, T6, T7 >.

Definition at line 47 of file histogram.hh.

typedef Classifier<T7> C7

Reimplemented from MultiClassifier< uint32_t, T1, T2, T3, T4, T5, T6, T7 >.

Definition at line 48 of file histogram.hh.


Constructor & Destructor Documentation

Histogram ( typename C1::ConstRefType  c1,
typename C2::ConstRefType  c2 = typename C2::Type(),
typename C3::ConstRefType  c3 = typename C3::Type(),
typename C4::ConstRefType  c4 = typename C4::Type(),
typename C5::ConstRefType  c5 = typename C5::Type(),
typename C6::ConstRefType  c6 = typename C6::Type(),
typename C7::ConstRefType  c7 = typename C7::Type() 
)
inline

Definition at line 58 of file histogram.hh.

Histogram ( )
inline

Definition at line 70 of file histogram.hh.


The documentation for this class was generated from the following file: