Gromacs  2023.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
gmx::KeyValueTreeTransformRuleBuilder::ToValue< FromType, ToType > Class Template Reference

#include <gromacs/utility/include/gromacs/utility/keyvaluetreetransform.h>

Inherits gmx::KeyValueTreeTransformRuleBuilder::Base.


template<typename FromType, typename ToType>
class gmx::KeyValueTreeTransformRuleBuilder::ToValue< FromType, ToType >

Properties that can be specified after from().to().

Template Parameters
FromTypeType specified for from() to map from.
ToTypeType specified for to() to map to.

Public Member Functions

 ToValue (KeyValueTreeTransformRuleBuilder *builder)
 Creates a parameter provider object within given builder.
void transformWith (std::function< ToType(const FromType &)> transform)
 Specifies the transformation function to convert the value from FromType to ToType.

Protected Attributes

 The parent builder.

The documentation for this class was generated from the following file: