MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / Capturer

Class Capturer

tests/catch.hpp:2259–2279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2257 };
2258
2259 class Capturer {
2260 std::vector<MessageInfo> m_messages;
2261 IResultCapture& m_resultCapture = getResultCapture();
2262 size_t m_captured = 0;
2263 public:
2264 Capturer( StringRef macroName, SourceLineInfo const& lineInfo, ResultWas::OfType resultType, StringRef names );
2265 ~Capturer();
2266
2267 void captureValue( size_t index, std::string const& value );
2268
2269 template<typename T>
2270 void captureValues( size_t index, T const& value ) {
2271 captureValue( index, Catch::Detail::stringify( value ) );
2272 }
2273
2274 template<typename T, typename... Ts>
2275 void captureValues( size_t index, T const& value, Ts const&... values ) {
2276 captureValue( index, Catch::Detail::stringify(value) );
2277 captureValues( index+1, values... );
2278 }
2279 };
2280
2281} // end namespace Catch
2282

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected