Functions | |
std::ostream & | operator<< (std::ostream &os, const R::RLine &line) |
std::ostream & | operator<< (std::ostream &os, const R::RPoint &pt) |
std::ostream & | operator<< (std::ostream &os, const R::RPolygon &poly) |
std::ostream & | operator<< (std::ostream &os, const R::RRect &rect) |
std::ostream & | operator<< (std::ostream &os, const R::RTriangle &triangle) |
R::RTextFile & | endl (R::RTextFile &file) |
R::RTextFile & | Time (R::RTextFile &file) |
R::RTextFile & | operator<< (R::RTextFile &o, R::RTextFile &(&f)(R::RTextFile &)) |
Function Documentation
std::ostream& std::operator<< | ( | std::ostream & | os, |
const R::RLine & | line | ||
) |
Print the coordinate of the line in the form (x1,y1);(x2,y2).
- Parameters
-
os Output stream. line Line to print.
- Returns
- the stream.
std::ostream& std::operator<< | ( | std::ostream & | os, |
const R::RPoint & | pt | ||
) |
Print the coordinate of the point in the form (x,y).
- Parameters
-
os Output stream. pt Point to print.
- Returns
- the stream.
std::ostream& std::operator<< | ( | std::ostream & | os, |
const R::RPolygon & | poly | ||
) |
Print the coordinate of the vertices on a same line in the form .
- Parameters
-
os Output stream. poly Polygon to print.
- Returns
- the stream.
std::ostream& std::operator<< | ( | std::ostream & | os, |
const R::RRect & | rect | ||
) |
Print the coordinate of the rectangle in the form (x1,y1);(x2,y2).
- Parameters
-
os Output stream. rect Rectangle to print.
- Returns
- the stream.
std::ostream& std::operator<< | ( | std::ostream & | os, |
const R::RTriangle & | triangle | ||
) |
Print the coordinate of the line in the form (x1,y1);(x2,y2).
- Parameters
-
os Output stream. line Line to print.
- Returns
- the stream.
R::RTextFile& std::endl | ( | R::RTextFile & | file | ) |
Write an end-of-line in a RTextFile.
R::RTextFile& std::Time | ( | R::RTextFile & | file | ) |
Write the current time and date in a RTextFile.
R::RTextFile& std::operator<< | ( | R::RTextFile & | o, |
R::RTextFile &(&)(R::RTextFile &) | f | ||
) |
Operator needed for using generic writing functions.