Changeset 16767 for issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
- Timestamp:
- 11/14/13 16:14:16 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
r16723 r16767 551 551 else if (strcmp(name,"MassfluxatgateName")==0) return MassfluxatgateNameEnum; 552 552 else if (strcmp(name,"MassfluxatgateSegments")==0) return MassfluxatgateSegmentsEnum; 553 else if (strcmp(name,"MisfitName")==0) return MisfitNameEnum; 554 else if (strcmp(name,"MisfitModel")==0) return MisfitModelEnum; 555 else if (strcmp(name,"MisfitObservations")==0) return MisfitObservationsEnum; 556 else if (strcmp(name,"MisfitTimeinterpolation")==0) return MisfitTimeinterpolationEnum; 557 else if (strcmp(name,"MisfitWeights")==0) return MisfitWeightsEnum; 553 558 else if (strcmp(name,"MinVel")==0) return MinVelEnum; 554 559 else if (strcmp(name,"MaxVel")==0) return MaxVelEnum; … … 624 629 else if (strcmp(name,"Paterson")==0) return PatersonEnum; 625 630 else if (strcmp(name,"Arrhenius")==0) return ArrheniusEnum; 626 else if (strcmp(name,"LliboutryDuval")==0) return LliboutryDuvalEnum; 631 else stage=6; 632 } 633 if(stage==6){ 634 if (strcmp(name,"LliboutryDuval")==0) return LliboutryDuvalEnum; 627 635 else if (strcmp(name,"MaximumNumberOfDefinitions")==0) return MaximumNumberOfDefinitionsEnum; 628 else stage= 6;636 else stage=7; 629 637 } 630 638 /*If we reach this point, the string provided has not been found*/
Note:
See TracChangeset
for help on using the changeset viewer.