CEDViewer
1.12.0
Main Page
Classes
Files
File List
include
MinMax.h
1
#ifndef MINMAX_H
2
#define MINMAX_H 1
3
4
class
dMinMax
{
5
public
:
6
double
min;
7
double
max;
8
void
set(
double
v){
9
if
(v<min)
10
min=v;
11
if
(v>max)
12
max=v;
13
}
14
};
15
16
class
iMinMax
{
17
public
:
18
int
min;
19
int
max;
20
void
set(
int
v){
21
if
(v<min)
22
min=v;
23
if
(v>max)
24
max=v;
25
}
26
};
27
28
#endif
iMinMax
Definition:
MinMax.h:16
dMinMax
Definition:
MinMax.h:4
Generated on Fri Dec 2 2016 12:37:09 for CEDViewer by
1.8.6