Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
Catch::TestInvokerAsMethod< C > Class Template Reference

#include <catch.hpp>

Inheritance diagram for Catch::TestInvokerAsMethod< C >:
Collaboration diagram for Catch::TestInvokerAsMethod< C >:

Public Member Functions

 TestInvokerAsMethod (void(C::*testAsMethod)()) noexcept
 
void invoke () const override
 
- Public Member Functions inherited from Catch::ITestInvoker
virtual ~ITestInvoker ()
 

Private Attributes

void(C::* m_testAsMethod )()
 

Detailed Description

template<typename C>
class Catch::TestInvokerAsMethod< C >

Definition at line 603 of file catch.hpp.

Constructor & Destructor Documentation

template<typename C >
Catch::TestInvokerAsMethod< C >::TestInvokerAsMethod ( void(C::*)()  testAsMethod)
inlinenoexcept

Definition at line 606 of file catch.hpp.

606 : m_testAsMethod( testAsMethod ) {}
void(C::* m_testAsMethod)()
Definition: catch.hpp:604

Member Function Documentation

template<typename C >
void Catch::TestInvokerAsMethod< C >::invoke ( ) const
inlineoverridevirtual

Implements Catch::ITestInvoker.

Definition at line 608 of file catch.hpp.

References Catch::makeTestInvoker().

608  {
609  C obj;
610  (obj.*m_testAsMethod)();
611  }
void(C::* m_testAsMethod)()
Definition: catch.hpp:604

Member Data Documentation

template<typename C >
void(C::* Catch::TestInvokerAsMethod< C >::m_testAsMethod) ()
private

Definition at line 604 of file catch.hpp.


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