casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
casacore::Round< T, RES > Struct Template Reference

Functor to apply round (e.g. More...

#include <Functors.h>

Inheritance diagram for casacore::Round< T, RES >:

Public Member Functions

RES operator() (T value) const
 

Detailed Description

template<typename T, typename RES = T>
struct casacore::Round< T, RES >

Functor to apply round (e.g.

-3.7 gets -4).

Definition at line 474 of file Functors.h.

Member Function Documentation

template<typename T , typename RES = T>
RES casacore::Round< T, RES >::operator() ( value) const
inline

Definition at line 476 of file Functors.h.

References casacore::ceil(), and casacore::floor().


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