|
generator
1.2
|
The file declares the Interval class and its iostream operators. More...
#include <iostream>#include <stdexcept>
Include dependency graph for Interval.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | Interval< T > |
| The template class for intervals. More... | |
| class | Interval< T > |
| The template class for intervals. More... | |
Functions | |
| template<class T > | |
| std::istream & | operator>> (std::istream &in, Interval< T > &t) |
| Overloading of the input operator for the Interval class. More... | |
| template<class T > | |
| std::ostream & | operator<< (std::ostream &out, const Interval< T > &t) |
| Overloading of the output operator for the Interval class. More... | |
The file declares the Interval class and its iostream operators.
Definition in file Interval.h.
| std::ostream& operator<< | ( | std::ostream & | out, |
| const Interval< T > & | t | ||
| ) |
Overloading of the output operator for the Interval class.
| out | Output stream object to which the textual representation of the Interval class will be written. |
| t | Instance of the Interval class to be written to the output stream. |
Definition at line 89 of file Interval.h.
| std::istream & operator>> | ( | std::istream & | in, |
| Interval< T > & | t | ||
| ) |
Overloading of the input operator for the Interval class.
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