29 #ifndef DISPLAY_FUNCTIONAL_ELEMENTS_H_
30 #define DISPLAY_FUNCTIONAL_ELEMENTS_H_
51 virtual T operator( )( T
value ) {
62 template<
typename T,
typename CT=std::vector<T> >
class filter {
70 void operator( )( T ele ) {
71 if ( (this->*
op)(ele) )
cache.push_back(ele);
73 operator CT( ) {
return cache; }
const RangeLimiter & operator=(const RangeLimiter &other)
RangeLimiter(const RangeLimiter &other)
filter(T compare_element, comparisons c=UNEQUAL)
RangeLimiter(T min, T max, T(*mod)(T)=0)
bool(filter< T, CT >::* op)(T)
const Double c
Fundamental physical constants (SI units):
class for applying a range limit to values...
RangeLimiter(T(*mod)(T)=0)
No-Op range limiter...
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.