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