Cypress  1.0
C++ Spiking Neural Network Simulation Framework
Classes | Static Public Member Functions | List of all members
cypress::Comperator< T > Struct Template Reference

#include <comperator.hpp>

Classes

struct  ComperatorFunctor
 

Static Public Member Functions

template<int Threshold, typename F >
static ComperatorFunctor< Threshold, F > make_comperator (const F &f, int res=0)
 
static auto smaller (const T &t1, const T &t2)
 
static auto smaller_equals (const T &t1, const T &t2)
 
static auto larger (const T &t1, const T &t2)
 
static auto larger_equals (const T &t1, const T &t2)
 
static auto equals (const T &t1, const T &t2)
 
static auto inequal (const T &t1, const T &t2)
 

Detailed Description

template<typename T>
struct cypress::Comperator< T >

The Comperator class can be used to assemble comperator operators, such as equals, smaller or larger than.

Template Parameters
Tis the type for which the comperator is being instantiated.

Member Function Documentation

template<typename T >
static auto cypress::Comperator< T >::equals ( const T &  t1,
const T &  t2 
)
inlinestatic
template<typename T >
static auto cypress::Comperator< T >::inequal ( const T &  t1,
const T &  t2 
)
inlinestatic
template<typename T >
static auto cypress::Comperator< T >::larger ( const T &  t1,
const T &  t2 
)
inlinestatic
template<typename T >
static auto cypress::Comperator< T >::larger_equals ( const T &  t1,
const T &  t2 
)
inlinestatic
template<typename T >
template<int Threshold, typename F >
static ComperatorFunctor<Threshold, F> cypress::Comperator< T >::make_comperator ( const F &  f,
int  res = 0 
)
inlinestatic
template<typename T >
static auto cypress::Comperator< T >::smaller ( const T &  t1,
const T &  t2 
)
inlinestatic
template<typename T >
static auto cypress::Comperator< T >::smaller_equals ( const T &  t1,
const T &  t2 
)
inlinestatic

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