#include <cgicc/MStreamable.h>
Inheritance diagram for cgicc::MStreamable::
Public Methods | |
MStreamable () | |
Empty constructor. More... | |
virtual | ~MStreamable () |
Empty destructor. More... | |
virtual void | render (std::ostream &out) const=0 |
Write this object to a stream. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const MStreamable &obj) |
Abstract mix-in class which makes classes streamable via the <<
operator. Written in the spirit of a Java interface.
Definition at line 64 of file MStreamable.h.
|
Empty constructor.
Definition at line 75 of file MStreamable.h. |
|
Empty destructor.
Definition at line 82 of file MStreamable.h. |
|
Write this object to a stream.
Subclasses must implement this function.
Reimplemented in cgicc::HTMLAttribute, cgicc::HTMLDoctype, cgicc::HTMLElement, cgicc::HTTPContentHeader, cgicc::HTTPCookie, cgicc::HTTPHeader, cgicc::HTTPRedirectHeader, cgicc::HTTPResponseHeader, and cgicc::HTTPStatusHeader. |
|
Prototype for overloading streaming operator
|