Changeset 1482 for XIOS/dev/branch_openmp/src/type/type_impl.hpp
- Timestamp:
- 04/13/18 16:25:46 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/type/type_impl.hpp
r1105 r1482 87 87 T& CType<T>::get(void) 88 88 { 89 checkEmpty();90 return *ptrValue ;89 this->checkEmpty(); 90 return *ptrValue ; 91 91 } 92 92 … … 94 94 const T& CType<T>::get(void) const 95 95 { 96 checkEmpty();96 this->checkEmpty(); 97 97 return *ptrValue ; 98 98 } … … 122 122 CType<T>::operator T&() 123 123 { 124 checkEmpty();125 return *ptrValue ;124 this->checkEmpty(); 125 return *ptrValue ; 126 126 } 127 127 … … 129 129 CType<T>::operator const T&() const 130 130 { 131 checkEmpty();132 return *ptrValue ;131 this->checkEmpty(); 132 return *ptrValue ; 133 133 } 134 134 … … 136 136 CType<T>* CType<T>::_clone(void) const 137 137 { 138 checkEmpty();138 this->checkEmpty(); 139 139 return new CType(*this) ; 140 140 } … … 165 165 { 166 166 ostringstream oss; 167 checkEmpty();167 this->checkEmpty(); 168 168 oss<<*ptrValue ; 169 169 return oss.str() ; … … 173 173 bool CType<T>::_toBuffer(CBufferOut& buffer) const 174 174 { 175 checkEmpty();175 this->checkEmpty(); 176 176 return buffer.put(*ptrValue) ; 177 177 } … … 206 206 207 207 template <typename T> 208 void CType<T>:: checkEmpty(void) const208 void CType<T>::_checkEmpty(void) const 209 209 { 210 210 if (empty) ERROR("template <typename T> void CType<T>::checkEmpty(void) const", << "Data is not initialized") ;
Note: See TracChangeset
for help on using the changeset viewer.