Ignore:
Timestamp:
05/10/11 09:30:01 (14 years ago)
Author:
Mathieu Morlighem
Message:

moved EnumToString to EnumToStringx which is now a module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Inputs/PentaVertexInput.cpp

    r8129 r8224  
    5757
    5858        printf("PentaVertexInput:\n");
    59         printf("   enum: %i (%s)\n",this->enum_type,EnumToString(this->enum_type));
     59        printf("   enum: %i (%s)\n",this->enum_type,EnumToStringx(this->enum_type));
    6060        printf("   values: [%g %g %g %g %g %g]\n",this->values[0],this->values[1],this->values[2],this->values[3],this->values[4],this->values[5]);
    6161}
     
    545545
    546546        /*Check that input provided is a thickness*/
    547         if (thickness_input->EnumType()!=ThicknessEnum) _error_("Input provided is not a Thickness (enum_type is %s)",EnumToString(thickness_input->EnumType()));
     547        if (thickness_input->EnumType()!=ThicknessEnum) _error_("Input provided is not a Thickness (enum_type is %s)",EnumToStringx(thickness_input->EnumType()));
    548548
    549549        /*Get Thickness value pointer*/
     
    579579
    580580        /*Check that inputB is of the same type*/
    581         if (inputB->Enum()!=PentaVertexInputEnum) _error_("Operation not permitted because inputB is of type %s",EnumToString(inputB->Enum()));
     581        if (inputB->Enum()!=PentaVertexInputEnum) _error_("Operation not permitted because inputB is of type %s",EnumToStringx(inputB->Enum()));
    582582        xinputB=(PentaVertexInput*)inputB;
    583583
     
    610610
    611611        /*Check that inputB is of the same type*/
    612         if (inputB->Enum()!=PentaVertexInputEnum) _error_("Operation not permitted because inputB is of type %s",EnumToString(inputB->Enum()));
     612        if (inputB->Enum()!=PentaVertexInputEnum) _error_("Operation not permitted because inputB is of type %s",EnumToStringx(inputB->Enum()));
    613613        xinputB=(PentaVertexInput*)inputB;
    614614
     
    641641
    642642        /*Check that inputB is of the same type*/
    643         if (inputB->Enum()!=PentaVertexInputEnum) _error_("Operation not permitted because inputB is of type %s",EnumToString(inputB->Enum()));
     643        if (inputB->Enum()!=PentaVertexInputEnum) _error_("Operation not permitted because inputB is of type %s",EnumToStringx(inputB->Enum()));
    644644        xinputB=(PentaVertexInput*)inputB;
    645645
Note: See TracChangeset for help on using the changeset viewer.