Changeset 311 for XIOS/trunk/src/cxios_impl.hpp
- Timestamp:
- 02/14/12 14:37:56 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/cxios_impl.hpp
r300 r311 13 13 } 14 14 15 template <typename T> 16 T CXios::getin(const string& id, const T& defaultValue) 17 { 18 if (CObjectFactory::HasObject<CVariable>("xios",id)) 19 return CObjectFactory::GetObject<CVariable>("xios",id)->getData<T>() ; 20 else return defaultValue ; 21 } 15 22 16 23
Note: See TracChangeset
for help on using the changeset viewer.