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::negate_functor< InputFunctor > Struct Template Reference

Detailed description

template< typename InputFunctor>
struct nvbio::negate_functor< InputFunctor >

A unary functor negating an input predicate functor

Definition at line 1370 of file numbers.h.

#include <numbers.h>

Public Types

typedef InputFunctor::argument_type argument_type
 
typedef InputFunctor::result_type result_type
 

Public Methods

 negate_functor (const InputFunctor f=InputFunctor())
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE result_type 
operator() (const argument_type op) const
 

Public Members

const InputFunctor m_f
 

Member Typedef Documentation

template<typename InputFunctor >
typedef InputFunctor::argument_type nvbio::negate_functor< InputFunctor >::argument_type

Definition at line 1372 of file numbers.h.

template<typename InputFunctor >
typedef InputFunctor::result_type nvbio::negate_functor< InputFunctor >::result_type

Definition at line 1373 of file numbers.h.

Constructor & Destructor Documentation

template<typename InputFunctor >
nvbio::negate_functor< InputFunctor >::negate_functor ( const InputFunctor  f = InputFunctor())
inline

Definition at line 1375 of file numbers.h.

Member Function Documentation

template<typename InputFunctor >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE result_type nvbio::negate_functor< InputFunctor >::operator() ( const argument_type  op) const
inline

Definition at line 1378 of file numbers.h.

Member Data Documentation

template<typename InputFunctor >
const InputFunctor nvbio::negate_functor< InputFunctor >::m_f

Definition at line 1380 of file numbers.h.


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