Changeset 4905
- Timestamp:
- 07/30/10 11:14:40 (15 years ago)
- Location:
- issm/trunk/src/c/Container
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/Container/Inputs.cpp
r4899 r4905 311 311 } 312 312 this->AddObject(in_input); 313 314 return 1; 313 315 } 314 316 /*}}}*/ … … 328 330 } 329 331 return NULL; 332 } 333 /*}}}*/ 334 /*FUNCTION Inputs::DeleteInput{{{1*/ 335 int Inputs::DeleteInput(int enum_type){ 336 337 vector<Object*>::iterator object; 338 Input* input=NULL; 339 340 for ( object=objects.begin() ; object < objects.end(); object++ ){ 341 342 input=(Input*)(*object); 343 344 if (input->EnumType()==enum_type){ 345 this->DeleteObject(input); 346 break; 347 } 348 } 349 350 return 1; 351 330 352 } 331 353 /*}}}*/ -
issm/trunk/src/c/Container/Inputs.h
r4899 r4905 29 29 /*numerics: {{{1*/ 30 30 int AddInput(Input* in_input); 31 Input* GetInput(int enum_name); 31 int DeleteInput(int enum_type); 32 Input* GetInput(int enum_name); 32 33 Inputs* SpawnTriaInputs(int* indices); 33 34 Inputs* SpawnBeamInputs(int* indices);
Note:
See TracChangeset
for help on using the changeset viewer.