Belle II Software  release-08-01-10
ContinuousValue< T, ATag > Class Template Reference

Type to have values not based on discrete positions from an array. More...

#include <ContinuousValue.h>

Collaboration diagram for ContinuousValue< T, ATag >:

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

m_value
 Memory for the underlying value.
 

Detailed Description

template<class T, class ATag = T>
class Belle2::TrackFindingCDC::ContinuousValue< T, ATag >

Type to have values not based on discrete positions from an array.

Definition at line 21 of file ContinuousValue.h.


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