ug4
pcl::reduce_traits< TValue > Struct Template Reference

methods defined in those traits are used by ComPol_AttachmentReduce More...

#include <pcl_reduce_traits.h>

Public Types

typedef TValue value_t
 

Static Public Member Functions

static value_t band (value_t v1, value_t v2)
 
static value_t bor (value_t v1, value_t v2)
 
static value_t land (value_t v1, value_t v2)
 
static value_t lor (value_t v1, value_t v2)
 
static value_t max (value_t v1, value_t v2)
 
static value_t min (value_t v1, value_t v2)
 
static value_t prod (value_t v1, value_t v2)
 
static value_t sum (value_t v1, value_t v2)
 

Detailed Description

template<class TValue>
struct pcl::reduce_traits< TValue >

methods defined in those traits are used by ComPol_AttachmentReduce

A default implementation is provided which works for integer types

Member Typedef Documentation

◆ value_t

template<class TValue >
typedef TValue pcl::reduce_traits< TValue >::value_t

Member Function Documentation

◆ band()

template<class TValue >
static value_t pcl::reduce_traits< TValue >::band ( value_t  v1,
value_t  v2 
)
inlinestatic

◆ bor()

template<class TValue >
static value_t pcl::reduce_traits< TValue >::bor ( value_t  v1,
value_t  v2 
)
inlinestatic

◆ land()

template<class TValue >
static value_t pcl::reduce_traits< TValue >::land ( value_t  v1,
value_t  v2 
)
inlinestatic

◆ lor()

template<class TValue >
static value_t pcl::reduce_traits< TValue >::lor ( value_t  v1,
value_t  v2 
)
inlinestatic

◆ max()

template<class TValue >
static value_t pcl::reduce_traits< TValue >::max ( value_t  v1,
value_t  v2 
)
inlinestatic

◆ min()

template<class TValue >
static value_t pcl::reduce_traits< TValue >::min ( value_t  v1,
value_t  v2 
)
inlinestatic

◆ prod()

template<class TValue >
static value_t pcl::reduce_traits< TValue >::prod ( value_t  v1,
value_t  v2 
)
inlinestatic

◆ sum()

template<class TValue >
static value_t pcl::reduce_traits< TValue >::sum ( value_t  v1,
value_t  v2 
)
inlinestatic

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