Changes in src/Actions/Action.hpp [da7ef9:e7ad08]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/Action.hpp
rda7ef9 re7ad08 14 14 #endif 15 15 16 #include <algorithm> 16 17 #include <iosfwd> 17 18 #include <string> … … 24 25 */ 25 26 #define NOPARAM_DEFAULT BOOST_PP_NIL 27 28 namespace MoleCuilder { 29 //!> helps normalizing Action's tokens for use as Python parameter names 30 #ifdef HAVE_INLINE 31 inline 32 #endif 33 std::string normalizeToken(std::string _token) { 34 std::replace(_token.begin(), _token.end(), '-', '_'); 35 return _token; 36 } 37 } /* namespace MoleCuilder */ 26 38 27 39 /** Nicely visible short-hand for push a status message
Note:
See TracChangeset
for help on using the changeset viewer.