Ignore:
Timestamp:
May 8, 2017, 1:54:50 PM (8 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
ForceAnnealing_goodresults, ForceAnnealing_tocheck
Children:
7630e3
Parents:
ac3a04
git-author:
Frederik Heber <heber@…> (03/31/17 19:18:12)
git-committer:
Frederik Heber <frederik.heber@…> (05/08/17 13:54:50)
Message:

Action::outputAsPython() access Parameters via getAsStringUnvalidated().

  • otherwise this would not work for Geometry Actions as these cannot yet be validated on e.g. dry-run.
  • as python commands operate via string arguments anyway, this is nothing but an additional transformation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parameters/Value_impl.hpp

    rac3a04 rddceb1  
    184184{
    185185  return toString(get());
     186}
     187
     188/** Getter of unvalidated value, returning string.
     189 *
     190 * @return string value
     191 */
     192template <class T>
     193inline const std::string Value<T>::getAsStringUnvalidated() const throw(ParameterValueException)
     194{
     195  return toString(getUnvalidated());
    186196}
    187197
Note: See TracChangeset for help on using the changeset viewer.