oln::utils::f_minmax< T > Struct Template Reference

Unary function that stores the min and the max. More...

#include <stat.hh>

Inheritance diagram for oln::utils::f_minmax< T >:

Inheritance graph
[legend]
Collaboration diagram for oln::utils::f_minmax< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void operator() (const T &val)
void reset ()
bool valued () const
 True if a value has been tested.

size_t count () const
 Number of value has been tested.

const T min () const
 Minimum found.

const T max () const
 Maximum found.


Protected Attributes

size_t count_
min_
max_

Detailed Description

template<class T>
struct oln::utils::f_minmax< T >

Unary function that stores the min and the max.

Definition at line 40 of file utils/stat.hh.


The documentation for this struct was generated from the following file:
Generated on Thu Apr 15 20:17:26 2004 for Olena by doxygen 1.3.6-20040222