w11 - cpp 0.794
Backend server for Rlink and w11
|
Stack object for ostream state. **. More...
#include <RiosState.hpp>
Public Member Functions | |
RiosState (std::ios &stream) | |
Construct with stream. | |
RiosState (std::ios &stream, const char *form, int prec=-1) | |
Construct from stream and format. | |
~RiosState () | |
Destructor. | |
void | SetFormat (const char *form, int prec=-1) |
Setup format. | |
char | Ctype () |
Get conversion type. | |
Protected Attributes | |
std::ios & | fStream |
std::ios_base::fmtflags | fOldFlags |
int | fOldPrecision |
char | fOldFill |
char | fCtype |
Private Member Functions | |
RiosState () | |
RiosState (const RiosState &rhs) | |
RiosState & | operator= (const RiosState &rhs) |
Stack object for ostream state. **.
Definition at line 23 of file RiosState.hpp.
Retro::RiosState::RiosState | ( | std::ios & | stream | ) |
Construct with stream.
Definition at line 31 of file RiosState.cpp.
Retro::RiosState::RiosState | ( | std::ios & | stream, |
const char * | form, | ||
int | prec = -1 |
||
) |
Construct from stream and format.
Definition at line 42 of file RiosState.cpp.
References SetFormat().
Retro::RiosState::~RiosState | ( | ) |
Destructor.
Definition at line 51 of file RiosState.cpp.
References fOldFill, fOldFlags, fOldPrecision, and fStream.
|
private |
|
private |
void Retro::RiosState::SetFormat | ( | const char * | form, |
int | prec = -1 |
||
) |
Setup format.
Definition at line 61 of file RiosState.cpp.
References fCtype, fOldFill, fOldPrecision, and fStream.
Referenced by RiosState().
|
inline |
|
protected |
Definition at line 33 of file RiosState.hpp.
Referenced by SetFormat(), and ~RiosState().
|
protected |
Definition at line 34 of file RiosState.hpp.
Referenced by ~RiosState().
|
protected |
Definition at line 35 of file RiosState.hpp.
Referenced by SetFormat(), and ~RiosState().
|
protected |
Definition at line 36 of file RiosState.hpp.
Referenced by SetFormat(), and ~RiosState().
|
protected |
Definition at line 37 of file RiosState.hpp.
Referenced by Ctype(), and SetFormat().