Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
DisableCachingRAII Class Reference

Disable all caches for sub-branches in an expression tree.

This is helpful when an expression with cached sub-branches needs to be integrated numerically.

Definition at line 34 of file RooFitImplHelpers.h.

Public Member Functions

 DisableCachingRAII (bool oldState)
 Inhibit all dirty-state propagation, and assume every node as dirty.
 DisableCachingRAII (DisableCachingRAII const &other)=delete
 ~DisableCachingRAII ()
DisableCachingRAIIoperator= (DisableCachingRAII const &other)=delete

Private Attributes

bool _oldState

#include </home/stephan/code/root-2/roofit/roofitcore/res/RooFitImplHelpers.h>

Constructor & Destructor Documentation

◆ DisableCachingRAII() [1/2]

DisableCachingRAII::DisableCachingRAII ( bool oldState)
inline

Inhibit all dirty-state propagation, and assume every node as dirty.

Parameters
[in]oldStateRestore this state when going out of scope.

Definition at line 38 of file RooFitImplHelpers.h.

◆ DisableCachingRAII() [2/2]

DisableCachingRAII::DisableCachingRAII ( DisableCachingRAII const & other)
delete

◆ ~DisableCachingRAII()

DisableCachingRAII::~DisableCachingRAII ( )
inline

Definition at line 43 of file RooFitImplHelpers.h.

Member Function Documentation

◆ operator=()

DisableCachingRAII & DisableCachingRAII::operator= ( DisableCachingRAII const & other)
delete

Member Data Documentation

◆ _oldState

bool DisableCachingRAII::_oldState
private

Definition at line 46 of file RooFitImplHelpers.h.


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