Changeset 3180 for issm/trunk/src/c/objects/ParameterInputs.cpp
- Timestamp:
- 03/04/10 09:31:08 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/ParameterInputs.cpp
r3053 r3180 183 183 184 184 return ug; 185 } 186 /*}}}*/ 187 /*FUNCTION ParameterInputs::IsPresent(char* name,char* string) {{{1*/ 188 int ParameterInputs::IsPresent(char* name){ 189 190 /*Intermediary*/ 191 int i; 192 Input* input=NULL; 193 194 /*Go through dataset, and figure out if the input is present*/ 195 for(i=0;i<dataset->Size();i++){ 196 input=(Input*)dataset->GetObjectByOffset(i); 197 if (input->IsPresent(name)) return 1; 198 } 199 200 /*Input not found... return 0*/ 201 return 0; 185 202 } 186 203 /*}}}*/
Note:
See TracChangeset
for help on using the changeset viewer.