Changeset 16656


Ignore:
Timestamp:
11/07/13 09:52:13 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: Echo better formatting

Location:
issm/trunk-jpl/src/c/classes/Inputs
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Inputs/BoolInput.cpp

    r16653 r16656  
    4040void BoolInput::DeepEcho(void){
    4141
    42         _printf_("   BoolInput "<<setw(25)<<left<<EnumToStringx(this->enum_type)<<" "<<(value?"true":"false") << "\n");
     42        _printf_(setw(15)<<"   BoolInput "<<setw(25)<<left<<EnumToStringx(this->enum_type)<<" "<<(value?"true":"false") << "\n");
    4343}
    4444/*}}}*/
  • issm/trunk-jpl/src/c/classes/Inputs/ControlInput.cpp

    r16653 r16656  
    6868
    6969        _printf_("ControlInput:\n");
    70         _printf_("   ControlInput "<<setw(25)<<left<<EnumToStringx(this->enum_type)<<"\n");
     70        _printf_(setw(15)<<"   ControlInput "<<setw(25)<<left<<EnumToStringx(this->enum_type)<<"\n");
    7171        _printf_("---values: \n");     if (values)      values->Echo();
    7272        _printf_("---savedvalues: \n");if (savedvalues) savedvalues->Echo();
  • issm/trunk-jpl/src/c/classes/Inputs/DoubleInput.cpp

    r16653 r16656  
    4040void DoubleInput::DeepEcho(void){
    4141
    42         _printf_("   DoubleInput "<<setw(25)<<left<<EnumToStringx(this->enum_type)<<" "<<this->value<<"\n");
     42        _printf_(setw(15)<<"   DoubleInput "<<setw(25)<<left<<EnumToStringx(this->enum_type)<<" "<<this->value<<"\n");
    4343}
    4444/*}}}*/
  • issm/trunk-jpl/src/c/classes/Inputs/IntInput.cpp

    r16653 r16656  
    3535void IntInput::DeepEcho(void){
    3636
    37         _printf_("   IntInput "<<setw(25)<<left<<EnumToStringx(this->enum_type)<<" "<<this->value<<"\n");
     37        _printf_(setw(15)<<"   IntInput "<<setw(25)<<left<<EnumToStringx(this->enum_type)<<" "<<this->value<<"\n");
    3838}
    3939/*}}}*/
  • issm/trunk-jpl/src/c/classes/Inputs/PentaInput.cpp

    r16653 r16656  
    5050void PentaInput::DeepEcho(void){
    5151
    52         _printf_("   PentaInput "<<setw(25)<<left<<EnumToStringx(this->enum_type)<<" [");
     52        _printf_(setw(15)<<"   PentaInput "<<setw(25)<<left<<EnumToStringx(this->enum_type)<<" [");
    5353        for(int i=0;i<this->NumberofNodes();i++) _printf_(" "<<this->values[i]);
    5454        _printf_("]\n");
  • issm/trunk-jpl/src/c/classes/Inputs/SegInput.cpp

    r16653 r16656  
    5050void SegInput::DeepEcho(void){
    5151
    52         _printf_("   SegInput "<<setw(25)<<left<<EnumToStringx(this->enum_type)<<" [");
     52        _printf_(setw(15)<<"   SegInput "<<setw(25)<<left<<EnumToStringx(this->enum_type)<<" [");
    5353        for(int i=0;i<this->NumberofNodes();i++) _printf_(" "<<this->values[i]);
    5454        _printf_("]\n");
  • issm/trunk-jpl/src/c/classes/Inputs/TriaInput.cpp

    r16653 r16656  
    5050void TriaInput::DeepEcho(void){
    5151
    52         _printf_("   TriaInput "<<setw(25)<<left<<EnumToStringx(this->enum_type)<<" [");
     52        _printf_(setw(15)<<"   TriaInput "<<setw(25)<<left<<EnumToStringx(this->enum_type)<<" [");
    5353        for(int i=0;i<this->NumberofNodes();i++) _printf_(" "<<this->values[i]);
    5454        _printf_("]\n");
Note: See TracChangeset for help on using the changeset viewer.