#include <counter_array.h>
shttl::counter_array< T >のコラボレーション図
Public 型 | |
typedef counter_base< T, T & > | counter_type |
typedef size_t | size_type |
typedef counter_array< T > | this_type |
typedef T | value_type |
Public メソッド | |
counter_type | at (const size_type s) |
void | construct (size_type size, value_type initv=value_type(), value_type min=0, value_type max=3, value_type add=1, value_type sub=1, value_type threshold=0) |
counter_array (size_type size=0, value_type initv=value_type(), value_type min=0, value_type max=3, value_type add=1, value_type sub=1, value_type threshold=0) | |
value_type | initv () const |
value_type | max () const |
value_type | min () const |
counter_type | operator[] (const size_type s) |
size_type | size () const |
value_type | threshold () const |
~counter_array () | |
Protected 変数 | |
value_type | m_add |
std::vector< value_type > | m_array |
value_type | m_initv |
value_type | m_max |
value_type | m_min |
value_type | m_sub |
value_type | m_threshold |
counter_array.h の 45 行で定義されています。
typedef counter_base<T, T&> shttl::counter_array< T >::counter_type |
counter_array.h の 52 行で定義されています。
typedef size_t shttl::counter_array< T >::size_type |
counter_array.h の 49 行で定義されています。
typedef counter_array<T> shttl::counter_array< T >::this_type |
counter_array.h の 51 行で定義されています。
typedef T shttl::counter_array< T >::value_type |
counter_array.h の 50 行で定義されています。
shttl::counter_array< T >::counter_array | ( | size_type | size = 0 , |
|
value_type | initv = value_type() , |
|||
value_type | min = 0 , |
|||
value_type | max = 3 , |
|||
value_type | add = 1 , |
|||
value_type | sub = 1 , |
|||
value_type | threshold = 0 | |||
) | [inline, explicit] |
shttl::counter_array< T >::~counter_array | ( | ) | [inline] |
counter_type shttl::counter_array< T >::at | ( | const size_type | s | ) | [inline] |
counter_array.h の 104 行で定義されています。
参照元 shttl::counter_array< uint8_t >::operator[]().
00105 { 00106 return counter_base<T, T&>( 00107 m_array[s], 00108 m_initv, 00109 m_min, 00110 m_max, 00111 m_add, 00112 m_sub, 00113 m_threshold 00114 ); 00115 }
Here is the caller graph for this function:
void shttl::counter_array< T >::construct | ( | size_type | size, | |
value_type | initv = value_type() , |
|||
value_type | min = 0 , |
|||
value_type | max = 3 , |
|||
value_type | add = 1 , |
|||
value_type | sub = 1 , |
|||
value_type | threshold = 0 | |||
) | [inline] |
counter_array.h の 75 行で定義されています。
参照元 shttl::counter_array< uint8_t >::counter_array().
00083 { 00084 m_array.resize( size, initv ); 00085 m_initv = initv; 00086 m_min = min; 00087 m_max = max; 00088 m_add = add; 00089 m_sub = sub; 00090 m_threshold = threshold; 00091 }
Here is the caller graph for this function:
value_type shttl::counter_array< T >::initv | ( | ) | const [inline] |
counter_array.h の 56 行で定義されています。
参照元 shttl::counter_array< uint8_t >::construct()・shttl::counter_array< uint8_t >::counter_array().
00056 { return m_initv; }
Here is the caller graph for this function:
value_type shttl::counter_array< T >::max | ( | ) | const [inline] |
counter_array.h の 58 行で定義されています。
参照元 shttl::counter_array< uint8_t >::construct()・shttl::counter_array< uint8_t >::counter_array().
00058 { return m_max; }
Here is the caller graph for this function:
value_type shttl::counter_array< T >::min | ( | ) | const [inline] |
counter_array.h の 57 行で定義されています。
参照元 shttl::counter_array< uint8_t >::construct()・shttl::counter_array< uint8_t >::counter_array().
00057 { return m_min; }
Here is the caller graph for this function:
counter_type shttl::counter_array< T >::operator[] | ( | const size_type | s | ) | [inline] |
size_type shttl::counter_array< T >::size | ( | ) | const [inline] |
counter_array.h の 55 行で定義されています。
参照元 shttl::counter_array< uint8_t >::counter_array().
00055 { return m_array.size(); }
Here is the caller graph for this function:
value_type shttl::counter_array< T >::threshold | ( | ) | const [inline] |
counter_array.h の 59 行で定義されています。
参照元 shttl::counter_array< uint8_t >::construct()・shttl::counter_array< uint8_t >::counter_array().
00059 { return m_threshold; }
Here is the caller graph for this function:
value_type shttl::counter_array< T >::m_add [protected] |
std::vector< value_type > shttl::counter_array< T >::m_array [protected] |
value_type shttl::counter_array< T >::m_initv [protected] |
value_type shttl::counter_array< T >::m_max [protected] |
value_type shttl::counter_array< T >::m_min [protected] |
value_type shttl::counter_array< T >::m_sub [protected] |
value_type shttl::counter_array< T >::m_threshold [protected] |