μHAL (v2.7.9)
Part of the IPbus software repository
Public Member Functions | List of all members
uhal::_Integer< T, FORMAT > Class Template Reference

Forward declare an ultra-lightweight wrapper which does formatting of numbers only on demand. More...

#include <uhal/log/log_inserters.integer.hpp>

Public Member Functions

 _Integer (const T &aT)
 Constructor. More...
 
void print (std::ostream &aStr) const
 The function which formats the integer and appends it into the given stream. More...
 

Detailed Description

template<typename T, typename FORMAT>
class uhal::_Integer< T, FORMAT >

Forward declare an ultra-lightweight wrapper which does formatting of numbers only on demand.

Declare an ultra-lightweight wrapper which does formatting of numbers only on demand.

Definition at line 72 of file log_inserters.integer.hpp.

Constructor & Destructor Documentation

◆ _Integer()

template<typename T , typename FORMAT >
uhal::_Integer< T, FORMAT >::_Integer ( const T &  aT)

Constructor.

Parameters
aTan integer type for which a reference is stored

Member Function Documentation

◆ print()

template<typename T , typename FORMAT >
void uhal::_Integer< T, FORMAT >::print ( std::ostream &  aStr) const

The function which formats the integer and appends it into the given stream.

Parameters
aStra stream to which to append formatted data

Referenced by uhal::operator<<().


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