Logo ROOT  
Reference Guide
ROOT::Detail::RDF::RMergeableSum< T > Class Template Referencefinal

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

Definition at line 530 of file RMergeableValue.hxx.

Public Member Functions

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

Private Member Functions

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

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 546 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 ( const RMergeableSum< T > &  )
delete

◆ RMergeableSum() [4/4]

template<typename T >
ROOT::Detail::RDF::RMergeableSum< T >::RMergeableSum ( 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 532 of file RMergeableValue.hxx.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

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