μHAL (v2.6.5)
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>

Inheritance diagram for uhal::_Integer< T, FORMAT >:
[legend]
Collaboration diagram for uhal::_Integer< T, FORMAT >:
[legend]

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...
 
- Public Member Functions inherited from uhal::RefWrapper< T >
const T & value () const
 

Additional Inherited Members

- Protected Member Functions inherited from uhal::RefWrapper< T >
 RefWrapper (const T &aT)
 
virtual ~RefWrapper ()
 

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 83 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

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