Changeset f0234e
- Timestamp:
- Dec 26, 2025, 9:40:14 PM (34 hours ago)
- Branches:
- Candidate_v1.7.1, stable
- Children:
- bdd1d0
- Parents:
- 4538c0
- git-author:
- Frederik Heber <frederik.heber@…> (11/25/25 08:04:41)
- git-committer:
- Frederik Heber <frederik.heber@…> (12/26/25 21:40:14)
- File:
-
- 1 edited
-
src/Actions/Action_impl_pre.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/Action_impl_pre.hpp
r4538c0 rf0234e 154 154 // prints command line call for this Action for paramtypes with tokens 155 155 #define outputAsCLI_print(z,n,output) \ 156 output << \ 157 BOOST_PP_IF(n, " --", "--") \ 158 << \ 159 BOOST_PP_SEQ_ELEM(n, paramtokens) \ 160 << " " << toCLIString(params. \ 161 BOOST_PP_SEQ_ELEM(n, paramreferences) \ 162 .get()); 156 if ( \ 157 params. \ 158 BOOST_PP_SEQ_ELEM(n, paramreferences) \ 159 .isSet() \ 160 ) { \ 161 output << \ 162 BOOST_PP_IF(n, " --", "--") \ 163 << \ 164 BOOST_PP_SEQ_ELEM(n, paramtokens) \ 165 << " " << toCLIString(params. \ 166 BOOST_PP_SEQ_ELEM(n, paramreferences) \ 167 .get()); \ 168 } 163 169 164 170 // prints if statement to check two strings (paramtokens[n] vs. TOKEN) … … 171 177 // prints command line call for this Action for paramtypes with tokens 172 178 #define outputAsPython_print(z,n,output) \ 173 output << \ 174 BOOST_PP_IF(n, ", ", "") \ 175 << normalizeToken( BOOST_PP_SEQ_ELEM(n, paramtokens) ) \ 176 << "=" \ 177 << "\"" << params. \ 178 BOOST_PP_SEQ_ELEM(n, paramreferences) \ 179 .getAsStringUnvalidated() \ 180 << "\""; \ 179 if ( \ 180 params. \ 181 BOOST_PP_SEQ_ELEM(n, paramreferences) \ 182 .isSet() \ 183 ) { \ 184 output << \ 185 BOOST_PP_IF(n, ", ", "") \ 186 << normalizeToken( BOOST_PP_SEQ_ELEM(n, paramtokens) ) \ 187 << "=" \ 188 << "\"" << params. \ 189 BOOST_PP_SEQ_ELEM(n, paramreferences) \ 190 .getAsStringUnvalidated() \ 191 << "\""; \ 192 } 181 193 182 194 // print an initialiser list, i.e. "var( token, valid (,default) )(,)"
Note:
See TracChangeset
for help on using the changeset viewer.
