Geant4-11
Public Member Functions | Private Attributes
G4IosFlagsSaver Class Reference

#include <G4IosFlagsSaver.hh>

Public Member Functions

 G4IosFlagsSaver (std::ostream &_ios)
 
 ~G4IosFlagsSaver ()
 

Private Attributes

std::ios::fmtflags fFlags
 
std::ostream & fIO
 

Detailed Description

Definition at line 31 of file G4IosFlagsSaver.hh.

Constructor & Destructor Documentation

◆ G4IosFlagsSaver()

G4IosFlagsSaver::G4IosFlagsSaver ( std::ostream &  _ios)
inlineexplicit

Definition at line 34 of file G4IosFlagsSaver.hh.

34 :
35 fIO(_ios), fFlags(_ios.flags())
36 {
37 }
std::ios::fmtflags fFlags
std::ostream & fIO

◆ ~G4IosFlagsSaver()

G4IosFlagsSaver::~G4IosFlagsSaver ( )
inline

Definition at line 38 of file G4IosFlagsSaver.hh.

39 {
40 fIO.flags(fFlags);
41 }

References fFlags, and fIO.

Field Documentation

◆ fFlags

std::ios::fmtflags G4IosFlagsSaver::fFlags
private

Definition at line 45 of file G4IosFlagsSaver.hh.

Referenced by ~G4IosFlagsSaver().

◆ fIO

std::ostream& G4IosFlagsSaver::fIO
private

Definition at line 44 of file G4IosFlagsSaver.hh.

Referenced by ~G4IosFlagsSaver().


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