C++ Utilities  5.10.5
Useful C++ classes and routines such as argument parser, IO and conversion utilities
Public Member Functions | Public Attributes | List of all members
CppUtilities::AsHexNumber< T > Class Template Reference

The AsHexNumber class allows printing values asserted with cppunit (or similar test framework) using the hex system in the error case. More...

#include <testutils.h>

Public Member Functions

 AsHexNumber (const T &value)
 Constructs a new instance; use asHexNumber() for convenience instead. More...
 

Public Attributes

const T & value
 

Detailed Description

template<typename T>
class CppUtilities::AsHexNumber< T >

The AsHexNumber class allows printing values asserted with cppunit (or similar test framework) using the hex system in the error case.

Definition at line 202 of file testutils.h.

Constructor & Destructor Documentation

◆ AsHexNumber()

template<typename T >
CppUtilities::AsHexNumber< T >::AsHexNumber ( const T &  value)
inline

Constructs a new instance; use asHexNumber() for convenience instead.

Definition at line 205 of file testutils.h.

Member Data Documentation

◆ value

template<typename T >
const T& CppUtilities::AsHexNumber< T >::value

Definition at line 209 of file testutils.h.


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