00001 #ifndef _CTBioState_HXX
00002 #define _CTBioState_HXX 1
00003
00008
00009
00010
00011
00012
00013
00014
00015
00016 class CTBioState {
00017
00018 public:
00019
00020 explicit CTBioState(ios& stream);
00021 CTBioState(ios& stream,
00022 const char* c_format, int i_precision=-1);
00023
00024 ~CTBioState();
00025
00026 void SetFormat(const char* c_format, int i_precision=-1);
00027 char GetCtype();
00028
00029 private:
00030
00031 ios& m_stream;
00032 long ml_old_flags;
00033 int mi_old_precision;
00034 char mc_old_fill;
00035 char mc_ctype;
00036 };
00037
00038 #if !(defined(CTB__OutLine) || defined(CTBioState__OutLine))
00039 #include "CTBioState.icc"
00040 #endif
00041
00042 #endif