00001 #ifndef _CTBprintfS_HXX 00002 #define _CTBprintfS_HXX 1 00003 00008 /*----------------------------------------------------------------------------*/ 00009 /* C Tool Box: Designed and implemented by: */ 00010 /* Walter F.J. Mueller Gesellschaft fuer Schwerionenforschung (GSI) */ 00011 /* Planckstrasse 1, D-64291 Darmstadt, Germany */ 00012 /* Email: W.F.J.Mueller@gsi.de */ 00013 /* WWW: http://www-kp3.gsi.de/www/kp3/people/mueller.html */ 00014 /*------------------------------------------+---------------------------------*/ 00015 00016 #include "CTBprintfBase.hxx" 00017 00018 template <class T> 00019 class CTBprintfS : public CTBprintfBase { 00020 public: 00021 CTBprintfS(T value, const char* c_format, 00022 int i_width, int i_precision); 00023 00024 virtual void ToStream(ostream& os) const; 00025 00026 protected: 00027 T m_value; 00028 }; 00029 00030 #endif