Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Detail::RDF::RMergeableSum< T > Class Template Referencefinal

template<typename T>
class ROOT::Detail::RDF::RMergeableSum< T >

Definition at line 500 of file RMergeableValue.hxx.

Public Member Functions

 RMergeableSum ()=default
 Default constructor.
 
 RMergeableSum (const RMergeableSum &)=delete
 
 RMergeableSum (const T &value)
 Constructor that initializes data members.
 
 RMergeableSum (RMergeableSum &&)=default
 
- Public Member Functions inherited from ROOT::Detail::RDF::RMergeableValue< T >
 RMergeableValue ()=default
 Default constructor.
 
 RMergeableValue (const T &value)
 Constructor taking the action result by const reference.
 
const T & GetValue () const
 Retrieve the result wrapped by this mergeable.
 
- Public Member Functions inherited from ROOT::Detail::RDF::RMergeableValueBase
 RMergeableValueBase ()=default
 Default constructor.
 
virtual ~RMergeableValueBase ()=default
 

Private Member Functions

void Merge (const RMergeableValue< T > &other) final
 Aggregate the information contained in another RMergeableValue into this.
 

Additional Inherited Members

- Protected Attributes inherited from ROOT::Detail::RDF::RMergeableValue< T >
fValue
 

#include <ROOT/RDF/RMergeableValue.hxx>

Inheritance diagram for ROOT::Detail::RDF::RMergeableSum< T >:
[legend]

Constructor & Destructor Documentation

◆ RMergeableSum() [1/4]

template<typename T >
ROOT::Detail::RDF::RMergeableSum< T >::RMergeableSum ( const T &  value)
inline

Constructor that initializes data members.

Parameters
[in]valueThe action result.

Definition at line 516 of file RMergeableValue.hxx.

◆ RMergeableSum() [2/4]

template<typename T >
ROOT::Detail::RDF::RMergeableSum< T >::RMergeableSum ( )
default

Default constructor.

Needed to allow serialization of ROOT objects. See [TBufferFile::WriteObjectClass] (classTBufferFile.html::a209078a4cb58373b627390790bf0c9c1)

◆ RMergeableSum() [3/4]

template<typename T >
ROOT::Detail::RDF::RMergeableSum< T >::RMergeableSum ( RMergeableSum< T > &&  )
default

◆ RMergeableSum() [4/4]

template<typename T >
ROOT::Detail::RDF::RMergeableSum< T >::RMergeableSum ( const RMergeableSum< T > &  )
delete

Member Function Documentation

◆ Merge()

template<typename T >
void ROOT::Detail::RDF::RMergeableSum< T >::Merge ( const RMergeableValue< T > &  )
inlinefinalprivatevirtual

Aggregate the information contained in another RMergeableValue into this.

Virtual function reimplemented in all the subclasses.

Note
All the Merge methods in the RMergeableValue family are private. To merge multiple RMergeableValue objects please use [MergeValues] (namespaceROOT_1_1Detail_1_1RDF.html::af16fefbe2d120983123ddf8a1e137277).

Implements ROOT::Detail::RDF::RMergeableValue< T >.

Definition at line 502 of file RMergeableValue.hxx.

  • tree/dataframe/inc/ROOT/RDF/RMergeableValue.hxx