Changeset 1478 for XIOS/dev/XIOS_DEV_CMIP6/src/attribute_template_impl.hpp
- Timestamp:
- 04/12/18 18:51:08 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/XIOS_DEV_CMIP6/src/attribute_template_impl.hpp
r1477 r1478 67 67 } 68 68 69 70 template <class T> 71 T CAttributeTemplate<T>::getValue(void) const 72 { 73 try { 74 return CType<T>::get() ; 75 } 76 catch (xios::CException & exc) 69 template <class T> 70 void CAttributeTemplate<T>::checkEmpty(void) const 71 { 72 if (CType<T>::empty) 77 73 { 78 74 StdString msg("On checking attribute with id="); … … 82 78 ERROR("template <typename T> void CType<T>::checkEmpty(void) const", << msg); 83 79 } 80 } 81 82 83 template <class T> 84 T CAttributeTemplate<T>::getValue(void) const 85 { 86 return CType<T>::get() ; 84 87 85 88 /*
Note: See TracChangeset
for help on using the changeset viewer.