NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Methods | Public Members | List of all members
nvbio::composition_functor< Functor2, Functor1 > Struct Template Reference

Detailed description

template< typename Functor2, typename Functor1>
struct nvbio::composition_functor< Functor2, Functor1 >

Compose two functors

Definition at line 1242 of file numbers.h.

#include <numbers.h>

Public Types

typedef Functor1::argument_type argument_type
 
typedef Functor2::result_type result_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE composition_functor (const Functor2 fun2, const Functor1 fun1)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE result_type 
operator() (const argument_type op) const
 

Public Members

Functor1 m_fun1
 
Functor2 m_fun2
 

Member Typedef Documentation

template<typename Functor2, typename Functor1>
typedef Functor1::argument_type nvbio::composition_functor< Functor2, Functor1 >::argument_type

Definition at line 1244 of file numbers.h.

template<typename Functor2, typename Functor1>
typedef Functor2::result_type nvbio::composition_functor< Functor2, Functor1 >::result_type

Definition at line 1245 of file numbers.h.

Constructor & Destructor Documentation

template<typename Functor2, typename Functor1>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::composition_functor< Functor2, Functor1 >::composition_functor ( const Functor2  fun2,
const Functor1  fun1 
)
inline

Definition at line 1248 of file numbers.h.

Member Function Documentation

template<typename Functor2, typename Functor1>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE result_type nvbio::composition_functor< Functor2, Functor1 >::operator() ( const argument_type  op) const
inline

Definition at line 1251 of file numbers.h.

Member Data Documentation

template<typename Functor2, typename Functor1>
Functor1 nvbio::composition_functor< Functor2, Functor1 >::m_fun1

Definition at line 1253 of file numbers.h.

template<typename Functor2, typename Functor1>
Functor2 nvbio::composition_functor< Functor2, Functor1 >::m_fun2

Definition at line 1254 of file numbers.h.


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