ManaPlus
Public Member Functions
Catch::Matchers::Impl::MatcherImpl< DerivedT, ExpressionT > Struct Template Reference

#include <catch.hpp>

Inheritance diagram for Catch::Matchers::Impl::MatcherImpl< DerivedT, ExpressionT >:
Catch::Matchers::Impl::Matcher< ExpressionT > Catch::SharedImpl< IShared > Catch::IShared Catch::NonCopyable

Public Member Functions

virtual Ptr< Matcher< ExpressionT > > clone () const
 
- Public Member Functions inherited from Catch::Matchers::Impl::Matcher< ExpressionT >
virtual ~Matcher ()
 
virtual bool match (ExpressionT const &expr) const =0
 
virtual std::string toString () const =0
 
Generic::AllOf< ExpressionT > operator&& (Matcher< ExpressionT > const &other) const
 
Generic::AnyOf< ExpressionT > operator|| (Matcher< ExpressionT > const &other) const
 
Generic::Not< ExpressionT > operator! () const
 
- Public Member Functions inherited from Catch::SharedImpl< IShared >
 SharedImpl ()
 
virtual void addRef () const
 
virtual void release () const
 
- Public Member Functions inherited from Catch::IShared
virtual ~IShared ()
 

Additional Inherited Members

- Public Types inherited from Catch::Matchers::Impl::Matcher< ExpressionT >
typedef ExpressionT ExpressionType
 
- Data Fields inherited from Catch::SharedImpl< IShared >
unsigned int m_rc
 
- Protected Member Functions inherited from Catch::NonCopyable
 NonCopyable ()
 
virtual ~NonCopyable ()
 

Detailed Description

template<typename DerivedT, typename ExpressionT>
struct Catch::Matchers::Impl::MatcherImpl< DerivedT, ExpressionT >

Definition at line 917 of file catch.hpp.

Member Function Documentation

◆ clone()

template<typename DerivedT , typename ExpressionT >
virtual Ptr<Matcher<ExpressionT> > Catch::Matchers::Impl::MatcherImpl< DerivedT, ExpressionT >::clone ( ) const
inlinevirtual

Implements Catch::Matchers::Impl::Matcher< ExpressionT >.

Definition at line 919 of file catch.hpp.

919  {
920  return Ptr<Matcher<ExpressionT> >( new DerivedT( static_cast<DerivedT const&>( *this ) ) );
921  }

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