source: issm/oecreview/Archive/16554-17801/ISSM-16654-16655.diff@ 17802

Last change on this file since 17802 was 17802, checked in by Mathieu Morlighem, 11 years ago

Added archives

File size: 5.9 KB
  • ../trunk-jpl/src/c/classes/Params/BoolParam.cpp

     
    4141/*}}}*/
    4242/*FUNCTION BoolParam::DeepEcho{{{*/
    4343void BoolParam::DeepEcho(void){
    44 
    45         _printf_("   BoolParam "<<setw(25)<<left<<EnumToStringx(this->enum_type)<<" "<<(value?"true":"false")<<"\n");
     44        _printf_(setw(22)<<"   BoolParam "<<setw(35)<<left<<EnumToStringx(this->enum_type)<<" "<<(value?"true":"false")<<"\n");
    4645}
    4746/*}}}*/
    4847/*FUNCTION BoolParam::Id{{{*/
  • ../trunk-jpl/src/c/classes/Params/StringParam.cpp

     
    4343/*}}}*/
    4444/*FUNCTION StringParam::DeepEcho{{{*/
    4545void StringParam::DeepEcho(void){
    46         _printf_("   StringParam "<<setw(25)<<left<<EnumToStringx(this->enum_type)<<" "<<this->value<<"\n");
     46        _printf_(setw(22)<<"   StringParam "<<setw(35)<<left<<EnumToStringx(this->enum_type)<<" "<<this->value<<"\n");
    4747}
    4848/*}}}*/
    4949/*FUNCTION StringParam::Id{{{*/
  • ../trunk-jpl/src/c/classes/Params/DoubleVecParam.cpp

     
    4141/*FUNCTION DoubleVecParam::Echo {{{*/
    4242void DoubleVecParam::Echo(void){
    4343
    44         _printf_("DoubleVecParam:\n");
    45         _printf_("   enum: " << this->enum_type << " (" << EnumToStringx(this->enum_type) << ")\n");
    46         _printf_("   vector size: " << this->M << "\n");
     44        _printf_(setw(22)<<"   DoubleVecParam "<<setw(35)<<left<<EnumToStringx(this->enum_type)<<" size: "<<this->M<<"\n");
    4745
    4846}
    4947/*}}}*/
    5048/*FUNCTION DoubleVecParam::DeepEcho{{{*/
    5149void DoubleVecParam::DeepEcho(void){
    52 
    53         int i;
    54 
    55         _printf_("DoubleVecParam:\n");
    56         _printf_("   enum: " << this->enum_type << " (" << EnumToStringx(this->enum_type) << ")\n");
    57         _printf_("   vector size: " << this->M << "\n");
    58         for(i=0;i<this->M;i++){
    59                 _printf_(i << " " << this->values[i] << "\n");
    60         }
     50        _printf_(setw(22)<<"   DoubleVecParam "<<setw(35)<<left<<EnumToStringx(this->enum_type)<<" "<<"[");
     51        for(int i=0;i<this->M;i++) _printf_(" "<< this->values[i]);
     52        _printf_("\n");
    6153}
    6254/*}}}*/
    6355/*FUNCTION DoubleVecParam::Id{{{*/
  • ../trunk-jpl/src/c/classes/Params/FileParam.cpp

     
    4242/*FUNCTION FileParam::DeepEcho{{{*/
    4343void FileParam::DeepEcho(void){
    4444
    45         _printf_("   FileParam "<<setw(25)<<left<<EnumToStringx(this->enum_type)<<" "<<this->value<<"\n");
     45        _printf_(setw(22)<<"   FileParam "<<setw(35)<<left<<EnumToStringx(this->enum_type)<<" "<<this->value<<"\n");
    4646}
    4747/*}}}*/
    4848/*FUNCTION FileParam::Id{{{*/
  • ../trunk-jpl/src/c/classes/Params/DataSetParam.cpp

     
    4343/*FUNCTION DataSetParam::DeepEcho{{{*/
    4444void DataSetParam::DeepEcho(void){
    4545
    46         _printf_("DataSetParam:\n");
    47         _printf_("   enum:  " << this->enum_type << " (" << EnumToStringx(this->enum_type) << ")\n");
     46        _printf_(setw(22)<<"   DataSetParam "<<setw(35)<<left<<EnumToStringx(this->enum_type)<<" ----- begin\n");
    4847        this->value->Echo();
     48        _printf_(setw(22)<<"   DataSetParam "<<setw(35)<<left<<EnumToStringx(this->enum_type)<<" ----- end\n");
    4949}
    5050/*}}}*/
    5151/*FUNCTION DataSetParam::Id{{{*/
  • ../trunk-jpl/src/c/classes/Params/IntParam.cpp

     
    4242/*FUNCTION IntParam::DeepEcho{{{*/
    4343void IntParam::DeepEcho(void){
    4444
    45         _printf_("   IntParam "<<setw(25)<<left<<EnumToStringx(this->enum_type)<<" "<<this->value<<"\n");
     45        _printf_(setw(22)<<"   IntParam "<<setw(35)<<left<<EnumToStringx(this->enum_type)<<" "<<this->value<<"\n");
    4646}
    4747/*}}}*/
    4848/*FUNCTION IntParam::Id{{{*/
  • ../trunk-jpl/src/c/classes/Params/StringArrayParam.cpp

     
    6666/*FUNCTION StringArrayParam::DeepEcho{{{*/
    6767void StringArrayParam::DeepEcho(void){
    6868
    69         int i;
    70         char* string=NULL;
    71 
    72         _printf_("StringArrayParam:\n");
    73         _printf_("   enum: " << this->enum_type << " (" << EnumToStringx(this->enum_type) << ")\n");
    74         for(i=0;i<this->numstrings;i++){
    75                 string=this->value[i];
    76                 _printf_("   " << i << ": " << string << "\n");
    77         }
     69        _printf_(setw(22)<<"   StringArrayParam "<<setw(35)<<left<<EnumToStringx(this->enum_type)<<" {");
     70        for(int i=0;i<this->numstrings;i++) _printf_(" '"<<this->value[i]<<"'");
     71        _printf_("}\n");
    7872}
    7973/*}}}*/
    8074/*FUNCTION StringArrayParam::Id{{{*/
  • ../trunk-jpl/src/c/classes/Params/DoubleParam.cpp

     
    3939/*FUNCTION DoubleParam::DeepEcho{{{*/
    4040void DoubleParam::DeepEcho(void){
    4141
    42         _printf_("   DoubleParam "<<setw(25)<<left<<EnumToStringx(this->enum_type)<<" "<<this->value<<"\n");
     42        _printf_(setw(22)<<"   DoubleParam "<<setw(35)<<left<<EnumToStringx(this->enum_type)<<" "<<this->value<<"\n");
    4343}
    4444/*}}}*/
    4545/*FUNCTION DoubleParam::Id{{{*/
Note: See TracBrowser for help on using the repository browser.