Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
Catch::Matchers::Impl::MatchNotOf< ArgT > Struct Template Reference

#include <catch.hpp>

Inheritance diagram for Catch::Matchers::Impl::MatchNotOf< ArgT >:
Collaboration diagram for Catch::Matchers::Impl::MatchNotOf< ArgT >:

Public Member Functions

 MatchNotOf (MatcherBase< ArgT > const &underlyingMatcher)
 
bool match (ArgT const &arg) const override
 
std::string describe () const override
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< ArgT >
MatchAllOf< ArgT > operator&& (MatcherBase const &other) const
 
MatchAnyOf< ArgT > operator|| (MatcherBase const &other) const
 
MatchNotOf< ArgT > operator! () const
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase
 MatcherUntypedBase ()=default
 
 MatcherUntypedBase (MatcherUntypedBase const &)=default
 
MatcherUntypedBaseoperator= (MatcherUntypedBase const &)=delete
 
std::string toString () const
 

Public Attributes

MatcherBase< ArgT > const & m_underlyingMatcher
 

Additional Inherited Members

- Protected Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase
virtual ~MatcherUntypedBase ()
 
- Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase
std::string m_cachedToString
 

Detailed Description

template<typename ArgT>
struct Catch::Matchers::Impl::MatchNotOf< ArgT >

Definition at line 2432 of file catch.hpp.

Constructor & Destructor Documentation

template<typename ArgT>
Catch::Matchers::Impl::MatchNotOf< ArgT >::MatchNotOf ( MatcherBase< ArgT > const &  underlyingMatcher)
inline

Definition at line 2542 of file catch.hpp.

2542 : m_underlyingMatcher( underlyingMatcher ) {}
MatcherBase< ArgT > const & m_underlyingMatcher
Definition: catch.hpp:2551

Member Function Documentation

template<typename ArgT>
std::string Catch::Matchers::Impl::MatchNotOf< ArgT >::describe ( ) const
inlineoverridevirtual

Implements Catch::Matchers::Impl::MatcherUntypedBase.

Definition at line 2548 of file catch.hpp.

2548  {
2549  return "not " + m_underlyingMatcher.toString();
2550  }
MatcherBase< ArgT > const & m_underlyingMatcher
Definition: catch.hpp:2551
template<typename ArgT>
bool Catch::Matchers::Impl::MatchNotOf< ArgT >::match ( ArgT const &  arg) const
inlineoverridevirtual

Implements Catch::Matchers::Impl::MatcherMethod< ArgT >.

Definition at line 2544 of file catch.hpp.

2544  {
2545  return !m_underlyingMatcher.match( arg );
2546  }
MatcherBase< ArgT > const & m_underlyingMatcher
Definition: catch.hpp:2551
virtual bool match(ObjectT const &arg) const =0

Member Data Documentation

template<typename ArgT>
MatcherBase<ArgT> const& Catch::Matchers::Impl::MatchNotOf< ArgT >::m_underlyingMatcher

Definition at line 2551 of file catch.hpp.


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