Changeset 520
- Timestamp:
- 12/01/14 09:24:05 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/c/iccontext.cpp
r501 r520 71 71 if (!cstr2string(_id, _id_len, id)) return; 72 72 73 CTimer::get("XIOS").resume() 73 CTimer::get("XIOS").resume(); 74 74 std::vector<xios::CContext*> def_vector = 75 75 xios::CContext::getRoot()->getChildList(); 76 76 77 *_ret = false; 77 78 for (std::size_t i = 0; i < def_vector.size(); i++) 78 { 79 if (def_vector[i]->getId().compare(id) == 0) 79 { 80 if (def_vector[i]->getId().compare(id) == 0) 81 { 80 82 *_ret = true; 83 break; 84 } 81 85 } 82 *_ret = false; 83 CTimer::get("XIOS").suspend() ; 86 CTimer::get("XIOS").suspend(); 84 87 } 85 88 } // extern "C"
Note: See TracChangeset
for help on using the changeset viewer.