Logo ROOT  
Reference Guide
RooHelpers::ChangeOperModeRAII Class Reference

Struct to temporarily change the operation mode of a RooAbsArg until it goes out of scope.

Definition at line 119 of file RooHelpers.h.

Public Member Functions

 ChangeOperModeRAII (RooAbsArg *arg, RooAbsArg::OperMode opMode)
 
 ~ChangeOperModeRAII ()
 

Private Attributes

RooAbsArg_arg = nullptr
 
RooAbsArg::OperMode _oldOpMode
 

#include <RooHelpers.h>

Constructor & Destructor Documentation

◆ ChangeOperModeRAII()

RooHelpers::ChangeOperModeRAII::ChangeOperModeRAII ( RooAbsArg arg,
RooAbsArg::OperMode  opMode 
)
inline

Definition at line 121 of file RooHelpers.h.

◆ ~ChangeOperModeRAII()

RooHelpers::ChangeOperModeRAII::~ChangeOperModeRAII ( )
inline

Definition at line 125 of file RooHelpers.h.

Member Data Documentation

◆ _arg

RooAbsArg* RooHelpers::ChangeOperModeRAII::_arg = nullptr
private

Definition at line 128 of file RooHelpers.h.

◆ _oldOpMode

RooAbsArg::OperMode RooHelpers::ChangeOperModeRAII::_oldOpMode
private

Definition at line 129 of file RooHelpers.h.

Libraries for RooHelpers::ChangeOperModeRAII:
[legend]

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