Abstract class (interface) that mandates the definition of virtual std::ostream& display(std::ostream& os) const.
More...
#include <classes/idisplay.h>
|
virtual std::ostream & | display (std::ostream &os) const =0 |
| Must be overridden by all derived classes. More...
|
|
Abstract class (interface) that mandates the definition of virtual std::ostream& display(std::ostream& os) const.
This class defines friend inline std::ostream& operator<< (std::ostream& os, const qpp::IDisplay& rhs). The latter delegates the work to the pure private virtual function qpp::IDisplay::display() which has to be overridden by all derived classes.
qpp::IDisplay::IDisplay |
( |
| ) |
|
|
default |
qpp::IDisplay::IDisplay |
( |
const IDisplay & |
| ) |
|
|
default |
Default copy constructor.
Default move constructor.
virtual qpp::IDisplay::~IDisplay |
( |
| ) |
|
|
virtualdefault |
Default virtual destructor.
virtual std::ostream& qpp::IDisplay::display |
( |
std::ostream & |
os | ) |
const |
|
privatepure virtual |
Default copy assignment operator.
Default move assignment operator.
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const IDisplay & |
rhs |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: