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 

Definition at line 121 of file RooHelpers.h.

◆ ~ChangeOperModeRAII()

RooHelpers::ChangeOperModeRAII::~ChangeOperModeRAII ( )

Definition at line 125 of file RooHelpers.h.

Member Data Documentation

◆ _arg

RooAbsArg* RooHelpers::ChangeOperModeRAII::_arg = nullptr

Definition at line 128 of file RooHelpers.h.

◆ _oldOpMode

RooAbsArg::OperMode RooHelpers::ChangeOperModeRAII::_oldOpMode

Definition at line 129 of file RooHelpers.h.

Libraries for RooHelpers::ChangeOperModeRAII:

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