27 #ifndef CLASSES_IDISPLAY_H_ 28 #define CLASSES_IDISPLAY_H_ 53 virtual std::ostream&
display(std::ostream& os)
const = 0;
virtual std::ostream & display(std::ostream &os) const =0
Must be overridden by all derived classes.
Quantum++ main namespace.
Definition: codes.h:30
friend std::ostream & operator<<(std::ostream &os, const IDisplay &rhs)
Overloads the extraction operator.
Definition: idisplay.h:92
IDisplay & operator=(const IDisplay &)=default
Default copy assignment operator.
virtual ~IDisplay()=default
Default virtual destructor.
Abstract class (interface) that mandates the definition of virtual std::ostream& display(std::ostream...
Definition: idisplay.h:42
IDisplay()=default
Default constructor.