FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Catch::Capturer Class Reference

Public Member Functions

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

Private Attributes

std::vector< MessageInfom_messages
 
IResultCapturem_resultCapture
 
size_t m_captured
 

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,
std::string const &  value 
)
template<typename T >
void Catch::Capturer::captureValues ( size_t  index,
T const &  value 
)
inline
template<typename T , typename... Ts>
void Catch::Capturer::captureValues ( size_t  index,
T const &  value,
Ts const &...  values 
)
inline

Field Documentation

size_t Catch::Capturer::m_captured
private
std::vector<MessageInfo> Catch::Capturer::m_messages
private
IResultCapture& Catch::Capturer::m_resultCapture
private