source:
issm/oecreview/Archive/16554-17801/ISSM-16654-16655.diff@
17802
Last change on this file since 17802 was 17802, checked in by , 11 years ago | |
---|---|
File size: 5.9 KB |
-
../trunk-jpl/src/c/classes/Params/BoolParam.cpp
41 41 /*}}}*/ 42 42 /*FUNCTION BoolParam::DeepEcho{{{*/ 43 43 void 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"); 46 45 } 47 46 /*}}}*/ 48 47 /*FUNCTION BoolParam::Id{{{*/ -
../trunk-jpl/src/c/classes/Params/StringParam.cpp
43 43 /*}}}*/ 44 44 /*FUNCTION StringParam::DeepEcho{{{*/ 45 45 void 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"); 47 47 } 48 48 /*}}}*/ 49 49 /*FUNCTION StringParam::Id{{{*/ -
../trunk-jpl/src/c/classes/Params/DoubleVecParam.cpp
41 41 /*FUNCTION DoubleVecParam::Echo {{{*/ 42 42 void DoubleVecParam::Echo(void){ 43 43 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"); 47 45 48 46 } 49 47 /*}}}*/ 50 48 /*FUNCTION DoubleVecParam::DeepEcho{{{*/ 51 49 void 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"); 61 53 } 62 54 /*}}}*/ 63 55 /*FUNCTION DoubleVecParam::Id{{{*/ -
../trunk-jpl/src/c/classes/Params/FileParam.cpp
42 42 /*FUNCTION FileParam::DeepEcho{{{*/ 43 43 void FileParam::DeepEcho(void){ 44 44 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"); 46 46 } 47 47 /*}}}*/ 48 48 /*FUNCTION FileParam::Id{{{*/ -
../trunk-jpl/src/c/classes/Params/DataSetParam.cpp
43 43 /*FUNCTION DataSetParam::DeepEcho{{{*/ 44 44 void DataSetParam::DeepEcho(void){ 45 45 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"); 48 47 this->value->Echo(); 48 _printf_(setw(22)<<" DataSetParam "<<setw(35)<<left<<EnumToStringx(this->enum_type)<<" ----- end\n"); 49 49 } 50 50 /*}}}*/ 51 51 /*FUNCTION DataSetParam::Id{{{*/ -
../trunk-jpl/src/c/classes/Params/IntParam.cpp
42 42 /*FUNCTION IntParam::DeepEcho{{{*/ 43 43 void IntParam::DeepEcho(void){ 44 44 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"); 46 46 } 47 47 /*}}}*/ 48 48 /*FUNCTION IntParam::Id{{{*/ -
../trunk-jpl/src/c/classes/Params/StringArrayParam.cpp
66 66 /*FUNCTION StringArrayParam::DeepEcho{{{*/ 67 67 void StringArrayParam::DeepEcho(void){ 68 68 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"); 78 72 } 79 73 /*}}}*/ 80 74 /*FUNCTION StringArrayParam::Id{{{*/ -
../trunk-jpl/src/c/classes/Params/DoubleParam.cpp
39 39 /*FUNCTION DoubleParam::DeepEcho{{{*/ 40 40 void DoubleParam::DeepEcho(void){ 41 41 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"); 43 43 } 44 44 /*}}}*/ 45 45 /*FUNCTION DoubleParam::Id{{{*/
Note:
See TracBrowser
for help on using the repository browser.