#include <gromacs/utility/include/gromacs/utility/keyvaluetreetransform.h>
Inherits gmx::KeyValueTreeTransformRuleBuilder::Base.
template<typename FromType>
class gmx::KeyValueTreeTransformRuleBuilder::AfterFrom< FromType >
Properties that can be specified after from().
- Template Parameters
-
FromType | Type specified for from() to map from. |
template<typename FromType >
template<typename ToType >
Specifies a rule that maps to a value at given path.
- Template Parameters
-
- Parameters
-
It is an error if multiple rules map to the same path, or to a parent path of the target of an existing rule. Note that it is possible to have a to() rule map to a child of a toObject() rule, provided that the path is not created by the object rule.
template<typename FromType >
Specifies a rule that maps to an object (collection of named values) at given path.
- Parameters
-
It is an error if multiple rules map to the same path, or to a parent path of the target of an existing rule. However, it is allowed to have two toObject() rules map to the same path, provided that the properties they produce are distinct.
The documentation for this class was generated from the following file: