A container for variation names and variation results that knows how to merge with others of the same type.
T | Type of the action result. |
Definition at line 625 of file RMergeableValue.hxx.
Private Member Functions | |
void | Merge (const RMergeableVariations< T > &other) |
Aggregate the information contained in another RMergeableVariations into this. | |
Friends | |
template<typename T1 , typename... Ts> | |
void | MergeValues (RMergeableVariations< T1 > &OutputMergeable, const RMergeableVariations< Ts > &... InputMergeables) |
Additional Inherited Members | |
Protected Attributes inherited from ROOT::Detail::RDF::RMergeableVariationsBase | |
std::vector< std::string > | fKeys {} |
std::vector< std::unique_ptr< RMergeableValueBase > > | fValues {} |
#include <ROOT/RDF/RMergeableValue.hxx>
|
default |
Default constructor.
Needed to allow serialization of ROOT objects. See [TBufferFile::WriteObjectClass] (classTBufferFile.html::a209078a4cb58373b627390790bf0c9c1)
|
delete |
|
delete |
|
finaldefault |
|
inline |
Constructor that initializes data members.
[in] | base | The container of the names and values. |
The variation names and values are moved from the base container into this.
Definition at line 671 of file RMergeableValue.hxx.
|
inline |
Get the list of variation names.
Definition at line 675 of file RMergeableValue.hxx.
|
inline |
Get the final value from the mergeable corresponding to a certain variation name.
[in] | variationName | The name. |
The variation name is used to retrieve the corresponding RMergeableValue contained in this object. From that, the actual value is retrieved by calling the ROOT::Detail::RDF::RMergeableValue::GetValue function.
Definition at line 684 of file RMergeableValue.hxx.
|
inlineprivate |
Aggregate the information contained in another RMergeableVariations into this.
[in] | other | The other mergeable. |
Iterates over all values of the current object and calls ROOT::Detail::RDF::MergeValues to merge with the corresponding value of the other object.
Merge
methods in the RMergeableValue family are private. To merge multiple RMergeableValue objects please use ROOT::Detail::RDF::MergeValues Definition at line 642 of file RMergeableValue.hxx.
|
delete |
|
delete |
|
friend |