Changeset 1477 for XIOS/dev/XIOS_DEV_CMIP6/src/attribute_template_impl.hpp
- Timestamp:
- 04/12/18 11:12:11 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/XIOS_DEV_CMIP6/src/attribute_template_impl.hpp
r1158 r1477 71 71 T CAttributeTemplate<T>::getValue(void) const 72 72 { 73 return CType<T>::get() ; 73 try { 74 return CType<T>::get() ; 75 } 76 catch (xios::CException & exc) 77 { 78 StdString msg("On checking attribute with id="); 79 msg.append(this->getId()); 80 msg.append(" : "); 81 msg.append("data is not initialized\n"); 82 ERROR("template <typename T> void CType<T>::checkEmpty(void) const", << msg); 83 } 84 74 85 /* 75 86 if (SuperClass::isEmpty())
Note: See TracChangeset
for help on using the changeset viewer.