Changeset 16655
- Timestamp:
- 11/07/13 09:21:49 (11 years ago)
- Location:
- issm/trunk-jpl/src/c/classes/Params
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Params/BoolParam.cpp
r16653 r16655 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 /*}}}*/ -
issm/trunk-jpl/src/c/classes/Params/DataSetParam.cpp
r16233 r16655 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 /*}}}*/ -
issm/trunk-jpl/src/c/classes/Params/DoubleParam.cpp
r16653 r16655 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 /*}}}*/ -
issm/trunk-jpl/src/c/classes/Params/DoubleVecParam.cpp
r16233 r16655 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 } … … 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 /*}}}*/ -
issm/trunk-jpl/src/c/classes/Params/FileParam.cpp
r16653 r16655 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 /*}}}*/ -
issm/trunk-jpl/src/c/classes/Params/IntParam.cpp
r16653 r16655 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 /*}}}*/ -
issm/trunk-jpl/src/c/classes/Params/StringArrayParam.cpp
r16233 r16655 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 /*}}}*/ -
issm/trunk-jpl/src/c/classes/Params/StringParam.cpp
r16653 r16655 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 /*}}}*/
Note:
See TracChangeset
for help on using the changeset viewer.