00001 #ifndef _CTBprintfV_HXX 00002 #define _CTBprintfV_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 "CTBvector.hxx" 00018 #include "CTBprintfBase.hxx" 00019 00020 template <class T> 00021 class CTBprintfVV : public CTBprintfBase2d { 00022 public: 00023 CTBprintfVV(const CTBvector<CTBvector<T> >& value, 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 i1, CTBint i2) const; 00028 virtual CTBint Dimension1() const; 00029 virtual CTBint Dimension2(CTBint i1) const; 00030 00031 protected: 00032 00033 const CTBvector<CTBvector<T> >& m_value; 00034 }; 00035 00036 #endif