Loading [MathJax]/extensions/TeX/AMSmath.js
Radium Engine  1.5.29
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PrintAllHelper< Types > Struct Template Reference

Types, list of types as Ra::Core::Utils::TypeList< ... > More...

#include </home/runner/work/Radium-Engine/Radium-Engine/src/Radium-Engine/tests/unittest/unittestUtils.hpp>

+ Inheritance diagram for PrintAllHelper< Types >:
+ Collaboration diagram for PrintAllHelper< Types >:

Public Types

using types = Types
 

Public Member Functions

template<typename T , typename std::enable_if< has_ostream_operator< T >::value, bool >::type = true>
void operator() (const std::string &name, T &value)
 
template<typename T , typename std::enable_if<!has_ostream_operator< T >::value, bool >::type = true>
void operator() (const std::string &name, const T &)
 

Detailed Description

template<typename Types>
struct PrintAllHelper< Types >

Types, list of types as Ra::Core::Utils::TypeList< ... >

Definition at line 62 of file unittestUtils.hpp.

Member Typedef Documentation

◆ types

template<typename Types >
using PrintAllHelper< Types >::types = Types

Definition at line 63 of file unittestUtils.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename Types >
template<typename T , typename std::enable_if<!has_ostream_operator< T >::value, bool >::type = true>
void PrintAllHelper< Types >::operator() ( const std::string & name,
const T &  )
inline

Definition at line 74 of file unittestUtils.hpp.

◆ operator()() [2/2]

template<typename Types >
template<typename T , typename std::enable_if< has_ostream_operator< T >::value, bool >::type = true>
void PrintAllHelper< Types >::operator() ( const std::string & name,
T & value )
inline

Definition at line 67 of file unittestUtils.hpp.


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