CatapultServer  v0.5.0.1 (Elephant)
catapult::utils::IntegralHexFormatter< T, N > Class Template Reference

Formatter for printing an integral hex number to a stream. More...

Public Member Functions

 IntegralHexFormatter (T value)
 

Private Attributes

m_value
 

Friends

std::ostream & operator<< (std::ostream &out, const IntegralHexFormatter &formatter)
 

Detailed Description

template<typename T, size_t N = sizeof(T)>
class catapult::utils::IntegralHexFormatter< T, N >

Formatter for printing an integral hex number to a stream.

Constructor & Destructor Documentation

◆ IntegralHexFormatter()

template<typename T , size_t N = sizeof(T)>
catapult::utils::IntegralHexFormatter< T, N >::IntegralHexFormatter ( value)
inlineexplicit

Friends And Related Function Documentation

◆ operator<<

template<typename T , size_t N = sizeof(T)>
std::ostream& operator<< ( std::ostream &  out,
const IntegralHexFormatter< T, N > &  formatter 
)
friend

Member Data Documentation

◆ m_value

template<typename T , size_t N = sizeof(T)>
T catapult::utils::IntegralHexFormatter< T, N >::m_value
private

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