HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_Functor< R > Class Template Reference

#include <UT_Functor.h>

Public Types

using this_type = UT_Functor< R >
 
typedef R ReturnType
 

Public Member Functions

 UT_Functor ()
 
 UT_Functor (UT_FunctorImpl< ReturnType > *functor_implementation)
 
 UT_Functor (const this_type &src)
 
template<typename FunctorType >
 UT_Functor (FunctorType functor)
 
template<typename PointerToObj , typename PointerToMemFn >
 UT_Functor (const PointerToObj &pointer, PointerToMemFn method)
 
 ~UT_Functor ()
 
UT_Functoroperator= (const UT_Functor &functor)
 
ReturnType operator() () const
 
 operator bool () const noexcept
 
bool isSet () const
 

Detailed Description

template<typename R>
class UT_Functor< R >

Definition at line 301 of file UT_Functor.h.

Member Typedef Documentation

template<typename R>
typedef R UT_Functor< R >::ReturnType

Definition at line 305 of file UT_Functor.h.

template<typename R>
using UT_Functor< R >::this_type = UT_Functor<R>

Definition at line 304 of file UT_Functor.h.

Constructor & Destructor Documentation

template<typename R>
UT_Functor< R >::UT_Functor ( )
inline

Definition at line 307 of file UT_Functor.h.

template<typename R>
UT_Functor< R >::UT_Functor ( UT_FunctorImpl< ReturnType > *  functor_implementation)
inlineexplicit

Definition at line 310 of file UT_Functor.h.

template<typename R>
UT_Functor< R >::UT_Functor ( const this_type src)
inline

Definition at line 314 of file UT_Functor.h.

template<typename R>
template<typename FunctorType >
UT_Functor< R >::UT_Functor ( FunctorType  functor)
inline

Definition at line 327 of file UT_Functor.h.

template<typename R>
template<typename PointerToObj , typename PointerToMemFn >
UT_Functor< R >::UT_Functor ( const PointerToObj &  pointer,
PointerToMemFn  method 
)
inline

Definition at line 335 of file UT_Functor.h.

template<typename R>
UT_Functor< R >::~UT_Functor ( )
inline

Definition at line 341 of file UT_Functor.h.

Member Function Documentation

template<typename R>
bool UT_Functor< R >::isSet ( ) const
inline

Definition at line 372 of file UT_Functor.h.

template<typename R>
UT_Functor< R >::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 369 of file UT_Functor.h.

template<typename R>
ReturnType UT_Functor< R >::operator() ( void  ) const
inline

Definition at line 363 of file UT_Functor.h.

template<typename R>
UT_Functor& UT_Functor< R >::operator= ( const UT_Functor< R > &  functor)
inline

Definition at line 348 of file UT_Functor.h.


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