casa
5.7.0-16
|
class for applying a range limit to values... More...
#include <elements.h>
Public Member Functions | |
RangeLimiter (T(*mod)(T)=0) | |
No-Op range limiter... More... | |
RangeLimiter (T min, T max, T(*mod)(T)=0) | |
RangeLimiter (const RangeLimiter &other) | |
const RangeLimiter & | operator= (const RangeLimiter &other) |
virtual T | operator() (T value) |
virtual | ~RangeLimiter () |
Private Attributes | |
bool | noop_ |
T | min_ |
T | max_ |
T(* | mod_ )(T) |
class for applying a range limit to values...
Definition at line 38 of file elements.h.
|
inline |
No-Op range limiter...
Definition at line 41 of file elements.h.
|
inline |
Definition at line 42 of file elements.h.
|
inline |
Definition at line 43 of file elements.h.
|
inlinevirtual |
Definition at line 54 of file elements.h.
|
inlinevirtual |
Definition at line 51 of file elements.h.
References casa::viewer::RangeLimiter< T >::max_, casa::viewer::RangeLimiter< T >::mod_, casa::viewer::RangeLimiter< T >::noop_, and casacore::value().
|
inline |
Definition at line 44 of file elements.h.
References casa::viewer::RangeLimiter< T >::max_, casa::viewer::RangeLimiter< T >::min_, casa::viewer::RangeLimiter< T >::mod_, and casa::viewer::RangeLimiter< T >::noop_.
|
private |
Definition at line 58 of file elements.h.
Referenced by casa::viewer::RangeLimiter< T >::operator()(), and casa::viewer::RangeLimiter< T >::operator=().
|
private |
Definition at line 57 of file elements.h.
Referenced by casa::viewer::RangeLimiter< T >::operator=().
|
private |
Definition at line 59 of file elements.h.
Referenced by casa::viewer::RangeLimiter< T >::operator()(), and casa::viewer::RangeLimiter< T >::operator=().
|
private |
Definition at line 56 of file elements.h.
Referenced by casa::viewer::RangeLimiter< T >::operator()(), and casa::viewer::RangeLimiter< T >::operator=().