Changeset 1105 for XIOS/trunk/src/object_template_impl.hpp
- Timestamp:
- 04/25/17 10:57:48 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/object_template_impl.hpp
r769 r1105 136 136 } 137 137 138 /*! 139 Compare two object of same type 140 */ 141 template <class T> 142 bool CObjectTemplate<T>::isEqual(const string& id) 143 { 144 T* obj = CObjectTemplate<T>::get(id); 145 return this->isEqual(obj); 146 } 147 148 template <class T> 149 bool CObjectTemplate<T>::isEqual(T* obj) 150 { 151 152 CAttributeMap& attrMapThis = *this; 153 CAttributeMap& attrMapObj = *obj; 154 return (attrMapThis.isEqual(attrMapObj)); 155 } 156 138 157 //--------------------------------------------------------------- 139 158
Note: See TracChangeset
for help on using the changeset viewer.