diff options
Diffstat (limited to 'project2/ostreamWrapper.h')
-rw-r--r-- | project2/ostreamWrapper.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/project2/ostreamWrapper.h b/project2/ostreamWrapper.h new file mode 100644 index 0000000..ef8596c --- /dev/null +++ b/project2/ostreamWrapper.h @@ -0,0 +1,14 @@ +#ifndef OSTREAMWRAPPER_H +#define OSTREAMWRAPPER_H + +#include <ostream> +#include "transform.h" + +class ostreamWrapper : public TransformChainLink { + public: + ostreamWrapper(std::ostream & s) : strm(s) { } + std::ostream & strm; +}; + +#endif + |