R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3B::ValueError< DataType > Struct Template Reference

#include <R3BValueError.h>

Public Member Functions

constexpr ValueError (DataType val, DataType err)
constexpr ValueError (DataType val)
 ValueError ()
auto operator- () const -> ValueError< DataType >
auto operator+ (Arithmetic auto other) const -> ValueError< DataType >
auto operator* (Arithmetic auto other) const -> ValueError< DataType >
auto operator/ (Arithmetic auto other) const -> ValueError< DataType >
auto operator- (Arithmetic auto val) const -> ValueError< DataType >
void operator-= (Arithmetic auto val)
auto operator> (Arithmetic auto val) -> bool
auto operator< (Arithmetic auto val) -> bool
 ClassDefNV (ValueError, 1)

Public Attributes

bool valid = true
DataType value {}
DataType error {}

Detailed Description

template<typename DataType>
struct R3B::ValueError< DataType >

Definition at line 41 of file R3BValueError.h.

Constructor & Destructor Documentation

◆ ValueError() [1/3]

template<typename DataType>
R3B::ValueError< DataType >::ValueError ( DataType val,
DataType err )
inlineconstexpr

Definition at line 47 of file R3BValueError.h.

◆ ValueError() [2/3]

template<typename DataType>
R3B::ValueError< DataType >::ValueError ( DataType val)
inlineexplicitconstexpr

Definition at line 53 of file R3BValueError.h.

◆ ValueError() [3/3]

template<typename DataType>
R3B::ValueError< DataType >::ValueError ( )
inline

Definition at line 63 of file R3BValueError.h.

Member Function Documentation

◆ ClassDefNV()

template<typename DataType>
R3B::ValueError< DataType >::ClassDefNV ( ValueError< DataType > ,
1  )

◆ operator*()

template<typename DataType>
auto R3B::ValueError< DataType >::operator* ( Arithmetic auto other) const -> ValueError< DataType >
inline

Definition at line 81 of file R3BValueError.h.

◆ operator+()

template<typename DataType>
auto R3B::ValueError< DataType >::operator+ ( Arithmetic auto other) const -> ValueError< DataType >
inline

Definition at line 71 of file R3BValueError.h.

◆ operator-() [1/2]

template<typename DataType>
auto R3B::ValueError< DataType >::operator- ( ) const -> ValueError< DataType >
inline

Definition at line 68 of file R3BValueError.h.

◆ operator-() [2/2]

template<typename DataType>
auto R3B::ValueError< DataType >::operator- ( Arithmetic auto val) const -> ValueError< DataType >
inline

Definition at line 101 of file R3BValueError.h.

◆ operator-=()

template<typename DataType>
void R3B::ValueError< DataType >::operator-= ( Arithmetic auto val)
inline

Definition at line 111 of file R3BValueError.h.

◆ operator/()

template<typename DataType>
auto R3B::ValueError< DataType >::operator/ ( Arithmetic auto other) const -> ValueError< DataType >
inline

Definition at line 91 of file R3BValueError.h.

◆ operator<()

template<typename DataType>
auto R3B::ValueError< DataType >::operator< ( Arithmetic auto val) -> bool
inline

Definition at line 131 of file R3BValueError.h.

◆ operator>()

template<typename DataType>
auto R3B::ValueError< DataType >::operator> ( Arithmetic auto val) -> bool
inline

Definition at line 121 of file R3BValueError.h.

Member Data Documentation

◆ error

template<typename DataType>
DataType R3B::ValueError< DataType >::error {}

Definition at line 45 of file R3BValueError.h.

◆ valid

template<typename DataType>
bool R3B::ValueError< DataType >::valid = true

Definition at line 43 of file R3BValueError.h.

◆ value

template<typename DataType>
DataType R3B::ValueError< DataType >::value {}

Definition at line 44 of file R3BValueError.h.


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