Interface class for printable objects. More...
#include <geometry/printable.h>

Public Member Functions | |
| Printable () | |
| Constructor. | |
| virtual | ~Printable () |
| Destructor. | |
Protected Member Functions | |
| virtual std::ostream & | print (std::ostream &stream) const =0 |
| This method is called by the overloaded <<-operator. | |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const Printable &p) |
Interface class for printable objects.
Printable objects can be printed by means of the <<-operator.
Definition at line 37 of file printable.h.
| fawkes::Printable::Printable | ( | ) |
Constructor.
Definition at line 42 of file printable.cpp.
| fawkes::Printable::~Printable | ( | ) | [virtual] |
Destructor.
Definition at line 47 of file printable.cpp.
| std::ostream & fawkes::Printable::print | ( | std::ostream & | stream | ) | const [protected, pure virtual] |
This method is called by the overloaded <<-operator.
| stream | the output stream |
Implemented in fawkes::HomCoord, and fawkes::LineSegment.
1.6.1