Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
Catch::Detail Namespace Reference

Classes

class  Approx
 
struct  EnumInfo
 
class  IsStreamInsertable
 

Functions

std::string rawMemoryToString (const void *object, std::size_t size)
 
template<typename T >
std::string rawMemoryToString (const T &object)
 
template<typename E >
std::string convertUnknownEnumToString (E e)
 
template<typename T >
std::enable_if<!std::is_enum< T >::value &&!std::is_base_of< std::exception, T >::value, std::string >::type convertUnstreamable (T const &)
 
template<typename T >
std::enable_if<!std::is_enum< T >::value &&std::is_base_of< std::exception, T >::value, std::string >::type convertUnstreamable (T const &ex)
 
template<typename T >
std::enable_if< std::is_enum< T >::value, std::string >::type convertUnstreamable (T const &value)
 
template<typename T >
std::string stringify (const T &e)
 
template<typename InputIterator , typename Sentinel = InputIterator>
std::string rangeToString (InputIterator first, Sentinel last)
 

Variables

const std::string unprintableString
 

Function Documentation

◆ convertUnknownEnumToString()

template<typename E >
std::string Catch::Detail::convertUnknownEnumToString ( E e)

Definition at line 1649 of file catch.hpp.

◆ convertUnstreamable() [1/3]

template<typename T >
std::enable_if<!std::is_enum< T >::value &&!std::is_base_of< std::exception, T >::value, std::string >::type Catch::Detail::convertUnstreamable ( T const & )

Definition at line 1582 of file catch.hpp.

References unprintableString.

◆ convertUnstreamable() [2/3]

template<typename T >
std::enable_if<!std::is_enum< T >::value &&std::is_base_of< std::exception, T >::value, std::string >::type Catch::Detail::convertUnstreamable ( T const & ex)

Definition at line 1588 of file catch.hpp.

◆ convertUnstreamable() [3/3]

template<typename T >
std::enable_if< std::is_enum< T >::value, std::string >::type Catch::Detail::convertUnstreamable ( T const & value)

Definition at line 1595 of file catch.hpp.

◆ rangeToString()

template<typename InputIterator , typename Sentinel = InputIterator>
std::string Catch::Detail::rangeToString ( InputIterator first,
Sentinel last )

Definition at line 1829 of file catch.hpp.

References Catch::ReusableStringStream::str().

+ Here is the call graph for this function:

◆ rawMemoryToString() [1/2]

template<typename T >
std::string Catch::Detail::rawMemoryToString ( const T & object)

Definition at line 1559 of file catch.hpp.

◆ rawMemoryToString() [2/2]

std::string Catch::Detail::rawMemoryToString ( const void * object,
std::size_t size )

◆ stringify()

template<typename T >
std::string Catch::Detail::stringify ( const T & e)

Definition at line 1644 of file catch.hpp.

Variable Documentation

◆ unprintableString

const std::string Catch::Detail::unprintableString
extern