w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Retro::RiosState Class Reference

Stack object for ostream state. **. More...

#include <RiosState.hpp>

Collaboration diagram for Retro::RiosState:
[legend]

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)
 
RiosStateoperator= (const RiosState &rhs)
 

Detailed Description

Stack object for ostream state. **.

Definition at line 23 of file RiosState.hpp.

Constructor & Destructor Documentation

◆ RiosState() [1/4]

Retro::RiosState::RiosState ( std::ios &  stream)

Construct with stream.

Definition at line 31 of file RiosState.cpp.

◆ RiosState() [2/4]

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().

◆ ~RiosState()

Retro::RiosState::~RiosState ( )

Destructor.

Definition at line 51 of file RiosState.cpp.

References fOldFill, fOldFlags, fOldPrecision, and fStream.

◆ RiosState() [3/4]

Retro::RiosState::RiosState ( )
private

◆ RiosState() [4/4]

Retro::RiosState::RiosState ( const RiosState rhs)
private

Member Function Documentation

◆ SetFormat()

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().

◆ Ctype()

char Retro::RiosState::Ctype ( )
inline

Get conversion type.

Definition at line 21 of file RiosState.ipp.

References fCtype.

◆ operator=()

RiosState & Retro::RiosState::operator= ( const RiosState rhs)
private

Member Data Documentation

◆ fStream

std::ios& Retro::RiosState::fStream
protected

Definition at line 33 of file RiosState.hpp.

Referenced by SetFormat(), and ~RiosState().

◆ fOldFlags

std::ios_base::fmtflags Retro::RiosState::fOldFlags
protected

Definition at line 34 of file RiosState.hpp.

Referenced by ~RiosState().

◆ fOldPrecision

int Retro::RiosState::fOldPrecision
protected

Definition at line 35 of file RiosState.hpp.

Referenced by SetFormat(), and ~RiosState().

◆ fOldFill

char Retro::RiosState::fOldFill
protected

Definition at line 36 of file RiosState.hpp.

Referenced by SetFormat(), and ~RiosState().

◆ fCtype

char Retro::RiosState::fCtype
protected

Definition at line 37 of file RiosState.hpp.

Referenced by Ctype(), and SetFormat().


The documentation for this class was generated from the following files: