|
PLaSK library
|
Base class / helper for printable classes with virtual print method. More...
#include <plask/utils/string.hpp>
Public Member Functions | |
| virtual void | print (std::ostream &out) const =0 |
Print this to stream out. | |
| virtual | ~Printable () |
| std::string | str () const |
| Get string representation of this using print method. | |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const Printable &to_print) |
| Print this to stream using print method. | |
Base class / helper for printable classes with virtual print method.
Definition at line 37 of file string.hpp.
|
virtual |
Definition at line 20 of file string.cpp.
Print this to stream out.
| out | print destination, output stream |
Implemented in plask::align::details::PositionAlignerImpl< direction >, plask::align::details::AlignerCustomImpl< direction, strategy, name_tag >, plask::MeshD< dimension >, plask::MeshD< 1 >, plask::MeshD< 2 >, plask::MeshD< 3 >, plask::MeshD< DIM >, and plask::MeshD< dim >.
| std::string plask::Printable::str | ( | ) | const |
Get string representation of this using print method.
Definition at line 23 of file string.cpp.
Print this to stream using print method.
| out | print destination, output stream |
| to_print | vector to print |
Definition at line 53 of file string.hpp.