proxygen
folly::gen::VirtualGen< Value >::WrapperBase Class Referenceabstract
Inheritance diagram for folly::gen::VirtualGen< Value >::WrapperBase:
folly::gen::VirtualGen< Value >::WrapperImpl< Wrapped >

Public Member Functions

virtual ~WrapperBase () noexcept
 
virtual bool apply (const std::function< bool(Value)> &handler) const =0
 
virtual void foreach (const std::function< void(Value)> &body) const =0
 
virtual std::unique_ptr< const WrapperBaseclone () const =0
 

Detailed Description

template<class Value>
class folly::gen::VirtualGen< Value >::WrapperBase

Definition at line 2486 of file Base-inl.h.

Constructor & Destructor Documentation

template<class Value>
virtual folly::gen::VirtualGen< Value >::WrapperBase::~WrapperBase ( )
inlinevirtualnoexcept

Definition at line 2488 of file Base-inl.h.

References folly::apply(), handler(), and testing::Value().

2488 {}

Member Function Documentation

template<class Value>
virtual bool folly::gen::VirtualGen< Value >::WrapperBase::apply ( const std::function< bool(Value)> &  handler) const
pure virtual
template<class Value>
virtual std::unique_ptr<const WrapperBase> folly::gen::VirtualGen< Value >::WrapperBase::clone ( ) const
pure virtual
template<class Value>
virtual void folly::gen::VirtualGen< Value >::WrapperBase::foreach ( const std::function< void(Value)> &  body) const
pure virtual

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