Jpp 20.0.0-27-g39925593c-D
the software that should make you happy
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
JZero.hh File Reference

Definition of zero value for any class. More...

Go to the source code of this file.

Classes

struct  JMATH::JZero
 Auxiliary class to assign zero value. More...
 

Namespaces

namespace  JMATH
 
namespace  JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Functions

template<class T >
JMATH::getZero ()
 Get zero value for a given data type.
 
template<>
bool JMATH::getZero< bool > ()
 Get zero value for bool.
 
template<>
float JMATH::getZero< float > ()
 Get zero value for float.
 
template<>
double JMATH::getZero< double > ()
 Get zero value for double.
 
template<>
long double JMATH::getZero< long double > ()
 Get zero value for long double.
 

Variables

static const JZero JMATH::zero
 Function object to assign zero value.
 

Detailed Description

Definition of zero value for any class.

Author
mdejong

Definition in file JZero.hh.