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::RTextFileendl (R::RTextFile &file)
 
R::RTextFileTime (R::RTextFile &file)
 
R::RTextFileoperator<< (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
osOutput stream.
lineLine 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
osOutput stream.
ptPoint 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 $(x_1,y_1);(x_2,y_2);...;(x_n,y_n)$.

Parameters
osOutput stream.
polyPolygon 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
osOutput stream.
rectRectangle 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
osOutput stream.
lineLine 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.