Jpp
|
This class can be used to temporarily exchange the states between streams. More...
#include <JStreamState.hh>
Public Member Functions | |
JStreamState (std::ostream &from, std::ostream &to) | |
Constructor. More... | |
JStreamState (std::istream &from, std::istream &to) | |
Constructor. More... | |
~JStreamState () | |
Destructor. More... | |
Private Attributes | |
std::ios & | __from |
std::ios & | __to |
This class can be used to temporarily exchange the states between streams.
The constructor transfers the state from the first stream to the second stream and the destructor transfers back the state from the second stream to the first stream.
Definition at line 23 of file JStreamState.hh.
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 67 of file JStreamState.hh.
|
private |
Definition at line 68 of file JStreamState.hh.