C++ Utilities: CppUtilities::AsHexNumber< T > Class Template Reference

C++ Utilities 5.35.0 Useful C++ classes and routines such as argument parser, IO and conversion utilities

Loading...
Searching...
No Matches
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.

## 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 228 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 231 of file testutils.h.

## Member Data Documentation

## ◆ value

template<typename T>

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

Definition at line 235 of file testutils.h.

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

- tests/testutils.h