Changeset 2209 for XIOS/dev/dev_ym/XIOS_COUPLING/src/registry.hpp
- Timestamp:
- 08/25/21 19:31:05 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/registry.hpp
r1639 r2209 38 38 39 39 /** retrieve a value from a key */ 40 void getKey(const std::string& key, CBaseType& value) { this->getKey_(key,value); }40 void getKey(const std::string& key, CBaseType& value) const { this->getKey_(key,value); } 41 41 42 42 /** retrieve a value from a key */ 43 43 template<typename T> typename boost::enable_if_c<!boost::is_convertible<T&, CBaseType&>::value>::type 44 getKey(const std::string& key, T& value) { CType_ref<T> valRef(value); this->getKey_(key,valRef); }44 getKey(const std::string& key, T& value) const { CType_ref<T> valRef(value); this->getKey_(key,valRef); } 45 45 46 46 … … 103 103 104 104 /** retrieve a value from a key (internal use)*/ 105 void getKey_(const std::string& key, CBaseType& value) ;105 void getKey_(const std::string& key, CBaseType& value) const ; 106 106 107 107 /** use internally for recursivity */
Note: See TracChangeset
for help on using the changeset viewer.