OpenMS  2.8.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>

Collaboration diagram for PrecisionWrapper< FloatingPointType >:
[legend]

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

FloatingPointType const 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_

FloatingPointType const ref_

Referenced by OpenMS::operator<<().