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/DoubleInput.cpp

    r8129 r8224  
    4646
    4747        printf("DoubleInput:\n");
    48         printf("   enum: %i (%s)\n",this->enum_type,EnumToString(this->enum_type));
     48        printf("   enum: %i (%s)\n",this->enum_type,EnumToStringx(this->enum_type));
    4949        printf("   value: %g\n",this->value);
    5050}
     
    160160        *pvalue=(bool)value;
    161161#else
    162         _error_("Double input of enum %s cannot return a boolean",EnumToString(enum_type));
     162        _error_("Double input of enum %s cannot return a boolean",EnumToStringx(enum_type));
    163163#endif
    164164
     
    170170        *pvalue=(int)value;
    171171#else
    172         _error_("Double input of enum %i (%s) cannot return an integer",enum_type,EnumToString(enum_type));
     172        _error_("Double input of enum %i (%s) cannot return an integer",enum_type,EnumToStringx(enum_type));
    173173#endif
    174174
     
    291291
    292292        /*Check that input provided is a thickness*/
    293         if (thickness_input->EnumType()!=ThicknessEnum) _error_("Input provided is not a Thickness (enum_type is %s)",EnumToString(thickness_input->EnumType()));
     293        if (thickness_input->EnumType()!=ThicknessEnum) _error_("Input provided is not a Thickness (enum_type is %s)",EnumToStringx(thickness_input->EnumType()));
    294294
    295295        /*vertically integrate depending on type:*/
Note: See TracChangeset for help on using the changeset viewer.