OpenMS  2.5.0
Public Member Functions | Public Attributes | Private Member Functions | List of all members
PrecisionWrapper< FloatingPointType > Struct Template Reference

Wrapper class to implement output with appropriate precision. See precisionWrapper(). More...

#include <OpenMS/CONCEPT/PrecisionWrapper.h>

Public Member Functions

 PrecisionWrapper (const FloatingPointType rhs)
 Constructor. Note: Normally you will prefer to use the "make"-function precisionWrapper(), which see. More...
 
 PrecisionWrapper (const PrecisionWrapper &rhs)
 

Public Attributes

const FloatingPointType ref_
 

Private Member Functions

 PrecisionWrapper ()
 

Detailed Description

template<typename FloatingPointType>
struct OpenMS::PrecisionWrapper< FloatingPointType >

Wrapper class to implement output with appropriate precision. See precisionWrapper().

Constructor & Destructor Documentation

◆ PrecisionWrapper() [1/3]

PrecisionWrapper ( const FloatingPointType  rhs)
inlineexplicit

Constructor. Note: Normally you will prefer to use the "make"-function precisionWrapper(), which see.

◆ PrecisionWrapper() [2/3]

PrecisionWrapper ( const PrecisionWrapper< FloatingPointType > &  rhs)
inline

◆ PrecisionWrapper() [3/3]

PrecisionWrapper ( )
private

Member Data Documentation

◆ ref_

const FloatingPointType ref_

Referenced by OpenMS::operator<<().