|
generator
1.2
|
The template class for intervals. More...
#include <Interval.h>
Collaboration diagram for Interval< T >:Public Member Functions | |
| Interval () | |
| Default constructor creates an empty interval. | |
| Interval (T f, T t) | |
| It constructs the interval [f,t] from two endpoint values. More... | |
| T | from () const |
| T | to () const |
Private Attributes | |
| T | mFrom |
| The left endpoint of the interval. | |
| T | mTo |
| The right endpoint of the interval. | |
Friends | |
| std::istream & | operator>> (std::istream &, Interval< T > &) |
| The input operator needs to have the access to the private members of the class. More... | |
The template class for intervals.
| T | Numeric type. |
Definition at line 31 of file Interval.h.
It constructs the interval [f,t] from two endpoint values.
| f | The left endpoint. |
| t | The right endpoint. |
Definition at line 51 of file Interval.h.
|
friend |
The input operator needs to have the access to the private members of the class.
| in | Input stream object from which data will be extracted. |
| t | Instance of the Interval class to be filled from the input stream. |
Definition at line 76 of file Interval.h.
1.8.9.1