1 #ifndef __JLANG__JREDIRECTSTREAM__
2 #define __JLANG__JREDIRECTSTREAM__
15 namespace JPP {
using namespace JLANG; }
41 ios.rdbuf(to.rdbuf());
58 ios.rdbuf(to.rdbuf());
~JRedirectStream()
Destructor.
This class can be used to temporarily redirect one output (input) stream to another output (input) st...
Interface for status of object.
JRedirectStream(std::istream &from, std::istream &to)
Constructor.
JRedirectStream(std::ostream &from, std::ostream &to)
Constructor.
virtual bool getStatus() const override
Get status of object.