Changeset 15049 for issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp
- Timestamp:
- 05/20/13 17:14:10 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/c/shared/Enum/StringToEnumx.cpp ¶
r15015 r15049 327 327 else if (strcmp(name,"Materials")==0) return MaterialsEnum; 328 328 else if (strcmp(name,"Nodes")==0) return NodesEnum; 329 else if (strcmp(name,"Contours")==0) return ContoursEnum; 329 330 else if (strcmp(name,"Parameters")==0) return ParametersEnum; 330 331 else if (strcmp(name,"Vertices")==0) return VerticesEnum; … … 382 383 else if (strcmp(name,"SpcTransient")==0) return SpcTransientEnum; 383 384 else if (strcmp(name,"StokesIceFront")==0) return StokesIceFrontEnum; 384 else if (strcmp(name,"StringArrayParam")==0) return StringArrayParamEnum;385 385 else stage=4; 386 386 } 387 387 if(stage==4){ 388 if (strcmp(name,"StringParam")==0) return StringParamEnum; 388 if (strcmp(name,"StringArrayParam")==0) return StringArrayParamEnum; 389 else if (strcmp(name,"StringParam")==0) return StringParamEnum; 389 390 else if (strcmp(name,"Tria")==0) return TriaEnum; 390 391 else if (strcmp(name,"TriaP1Input")==0) return TriaP1InputEnum; … … 505 506 else if (strcmp(name,"PatchVertices")==0) return PatchVerticesEnum; 506 507 else if (strcmp(name,"PentaP1ElementResult")==0) return PentaP1ElementResultEnum; 507 else if (strcmp(name,"StringExternalResult")==0) return StringExternalResultEnum;508 508 else stage=5; 509 509 } 510 510 if(stage==5){ 511 if (strcmp(name,"Step")==0) return StepEnum; 511 if (strcmp(name,"StringExternalResult")==0) return StringExternalResultEnum; 512 else if (strcmp(name,"Step")==0) return StepEnum; 512 513 else if (strcmp(name,"Time")==0) return TimeEnum; 513 514 else if (strcmp(name,"TriaP1ElementResult")==0) return TriaP1ElementResultEnum;
Note:
See TracChangeset
for help on using the changeset viewer.