Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RResultPtr.cxx
Go to the documentation of this file.
1// Author: Vincenzo Eduardo Padulano, Enrico Guiraud CERN 2023/02
2
3/*************************************************************************
4 * Copyright (C) 1995-2023, Rene Brun and Fons Rademakers. *
5 * All rights reserved. *
6 * *
7 * For the licensing terms see $ROOTSYS/LICENSE. *
8 * For the list of contributors see $ROOTSYS/README/CREDITS. *
9 *************************************************************************/
10
11#include <string>
12
13#include <ROOT/RResultPtr.hxx>
16
19 const std::string &outputFileName)
20{
22 inptr.fObjPtr, inptr.fLoopManager,
23 inptr.fActionPtr->CloneAction(reinterpret_cast<void *>(const_cast<std::string *>(&outputFileName)))};
24}
Smart pointer for the return type of actions.
RDFDetail::RLoopManager * fLoopManager
Non-owning pointer to the RLoopManager at the root of this computation graph.
std::shared_ptr< RDFInternal::RActionBase > fActionPtr
Owning pointer to the action that will produce this result.
SPT_t fObjPtr
Shared pointer encapsulating the wrapped result.
ROOT::RDF::Experimental::RResultMap< T > CloneResultAndAction(const ROOT::RDF::Experimental::RResultMap< T > &inmap)
Clones an RResultMap and its corresponding RVariedAction.