![]() |
Belle II Software
release-08-02-04
|
Type to have values not based on discrete positions from an array. More...
#include <ContinuousValue.h>

Public Types | |
| using | This = ContinuousValue< T, ATag > |
| Shortcut for the class itself. | |
| using | Array = std::array< T, 2 > |
| Mock array type to be a drop in replacement for the discrete values. | |
Public Member Functions | |
| ContinuousValue ()=default | |
| Allow default construction. | |
| ContinuousValue (const T &value) | |
| Constructor from the underlying type. | |
| operator const T & () const | |
| Allow automatic casts to the underlying type. | |
Static Public Member Functions | |
| static std::array< This, 2 > | getRange (const Array &bounds) |
| Extract the range from an array providing the discrete values. | |
Private Attributes | |
| T | m_value |
| Memory for the underlying value. | |
Type to have values not based on discrete positions from an array.
Definition at line 21 of file ContinuousValue.h.