Public Member Functions | Private Attributes | List of all members
Catch::Capturer Class Reference

#include <catch.hpp>

Public Member Functions

 Capturer (StringRef macroName, SourceLineInfo const &lineInfo, ResultWas::OfType resultType, StringRef names)
 
void captureValue (size_t index, StringRef value)
 
template<typename T >
void captureValues (size_t index, T &&value)
 
template<typename T , typename... Ts>
void captureValues (size_t index, T &&value, Ts &&...values)
 
 ~Capturer ()
 

Private Attributes

size_t m_captured = 0
 
std::vector< MessageInfom_messages
 
IResultCapturem_resultCapture = getResultCapture()
 

Detailed Description

Definition at line 1818 of file catch.hpp.

Constructor & Destructor Documentation

Catch::Capturer::Capturer ( StringRef  macroName,
SourceLineInfo const &  lineInfo,
ResultWas::OfType  resultType,
StringRef  names 
)
Catch::Capturer::~Capturer ( )

Member Function Documentation

void Catch::Capturer::captureValue ( size_t  index,
StringRef  value 
)
template<typename T >
void Catch::Capturer::captureValues ( size_t  index,
T &&  value 
)
inline

Definition at line 1829 of file catch.hpp.

template<typename T , typename... Ts>
void Catch::Capturer::captureValues ( size_t  index,
T &&  value,
Ts &&...  values 
)
inline

Definition at line 1834 of file catch.hpp.

Member Data Documentation

size_t Catch::Capturer::m_captured = 0
private

Definition at line 1821 of file catch.hpp.

std::vector<MessageInfo> Catch::Capturer::m_messages
private

Definition at line 1819 of file catch.hpp.

IResultCapture& Catch::Capturer::m_resultCapture = getResultCapture()
private

Definition at line 1820 of file catch.hpp.


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


catch_ros
Author(s): Max Schwarz
autogenerated on Thu Jan 14 2021 03:32:26