Changeset 2629 for XIOS3/trunk/src/type/enum_ref_impl.hpp
- Timestamp:
- 04/25/24 15:05:23 (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/trunk/src/type/enum_ref_impl.hpp
r1158 r2629 8 8 #include "message.hpp" 9 9 #include <string> 10 #include <boost/algorithm/string.hpp>11 10 12 11 namespace xios … … 140 139 { 141 140 checkEmpty() ; 142 string tmpStr= boost::to_lower_copy(boost::trim_copy(str)) ;141 string tmpStr=xios_to_lower_copy(xios_trim_copy(str)) ; 143 142 144 143 bool found=false ; 145 144 for(int i=0;i<T::getSize();i++) 146 145 { 147 if ( boost::to_lower_copy(string(T::getStr()[i]))==tmpStr)146 if (xios_to_lower_copy(string(T::getStr()[i]))==tmpStr) 148 147 { 149 148 *ptrValue=(T_enum) i ; … … 156 155 { 157 156 if (i>0) strList<<", " ; 158 strList<< boost::to_lower_copy(string(T::getStr()[i])) ;157 strList<<xios_to_lower_copy(string(T::getStr()[i])) ; 159 158 } 160 159
Note: See TracChangeset
for help on using the changeset viewer.